OCR old typewritten letters and papers, and clean up the text after
By the getPDF team · Published 10 November 2026
The short answer
Scan typewritten pages at 300 dpi in greyscale, run them through OCR PDF with the language they are written in, and read the confidence report: typewriter print is even and well spaced, so clean top copies usually read well. The traps are typewriter ones: a faded ribbon that breaks letters, soft carbon copies, letters typed over each other and words x-ed out. Afterwards, PDF to Markdown joins the typist’s hyphenated line ends into paragraphs; PDF to Text keeps every line as typed.
Try it here, nothing is uploaded
OCR PDF runs on your device: the scan is drawn and read in your browser, and nothing is uploaded. The first time, the browser fetches the reader (about 1.5 MB) and the language (0.7 to 3 MB) from this site and keeps them.
Why typewritten pages suit OCR
A typewriter puts every letter in a box of the same width, struck with the same force, on a straight line. Letters do not touch the way joined handwriting does. That is close to what an OCR engine is built for.
The trouble starts where the machine, the ribbon or the typist did something a printer never does. Those are below, with what each one does to the text.
Scan settings for typewritten pages
- 300 dpi. getPDF draws every page at 300 dpi before reading it, so 600 dpi buys nothing for OCR. Our measurements in OCR accuracy show where lower settings start to cost words: 10 point print read cleanly down to 150 dpi and almost so at 100, while 7 point print fell apart below 150.
- Greyscale, not black and white. A 1-bit scan turns every grey pixel into black or white. Our clean test letter read the same either way, but on a worn typewritten page a faint stroke can be lost on the way; greyscale keeps it. If you need a small file, compress after OCR with Compress PDF; compression keeps the text layer.
- Thin paper: put a dark sheet behind it. Onion skin and airmail paper let the lines on the back show through, and the reader can take them for marks. A sheet of black paper behind the page on the scanner glass hides them.
- Straight on the glass. Push the page against the edge. A tilt of a few degrees costs words fast, and getPDF does not straighten pages; the numbers are in OCR accuracy.
- No scanner at hand? Photograph each page, then turn the photos into a PDF with JPG to PDF. Photograph documents for OCR has the rules that matter (no flash, square to the page); JPG to PDF leaves out the photo’s GPS position, device and time.
Steps: from paper to searchable PDF
- Open OCR PDF and drop the scanned PDF (or several).
- Pick the Language. The panel starts from your browser’s language. For a letter in German, French, Polish, Czech or another of the 11 languages, pick that one; a page mixing 2 languages can take a second one under And (slower). Typewriters often had no keys for some accented letters, which the typist then built by typing over: see the traps below.
- Leave Pages with text on “left alone” unless a page already carries some text you want read again.
- Press Make it searchable. A laptop reads a 300 dpi A4 page in about 2.3 seconds.
- Read the report. It gives the average confidence, names any page under 60 %, gives examples of the words it was least sure of and the pages they are on, and says how many marks it left out (specks and smudges it could not make into words).
The result looks exactly like the scan: the words go in as an invisible layer over each typed word, so you can select, search and copy them. OCR also sets the document’s language to the one you picked when the file has none, which screen readers use to choose a voice.
The typewriter traps, and what each one does
| On the paper | What OCR makes of it | What to do |
|---|---|---|
| Faded ribbon, letters even but pale | Usually fine: OCR cares about the shape of a letter, not how dark it is | Nothing; scan in greyscale |
| Dry ribbon, letters with gaps in them | Wrong letters where strokes are missing (an e that reads as c) | Check the listed low-confidence words; no setting restores a missing stroke |
| Carbon copy | Soft, spread edges and grain; words run together or break | Find the top copy if it exists; otherwise expect to check by eye |
| Letters filled in (o, e, a clogged with old ink) | Blobs read as other letters or as dots | Check these words in the low-confidence list and on the picture |
| Strike-over (one letter typed over another) | A merged shape: a wrong letter or a symbol | Read those places on the picture |
| Word x-ed out (xxxxx typed over it) | A run of x’s or a jumble; the word under it is lost | Read the picture; OCR cannot see under the x’s |
| Letters that jump above or below the line (a worn machine) | A letter far off the line can come out as a wrong letter or a separate mark | Nothing to set; check names and numbers |
| Handwritten corrections, signatures, stamps | Missed, or junk next to the typed words | Read them on the picture; see handwriting OCR |
| A lowercase l typed for 1, a capital O for 0 (machines without those keys) | Often letters, as typed: “l950” in the text, not “1950” | Search for both spellings, or fix them in the text |
The strike-over row covers more than mistakes. Typists without a key for an accented letter sometimes typed the letter, backspaced and typed the accent over it. The reader sees one merged shape and may get it wrong even with the right language picked; OCR results wrong has the fixes for accents that go missing.
The confidence score helps you find these spots, but it is not a proofreader. On a page in the 90s, the words in the low-confidence list are where to look first. A page under 60 % is one to read on the picture, as with the worn faxes that share the same problems.
Clean up the text: line breaks, hyphens and spacing
A typed page has a hard line break at the end of every line, and words broken with a hyphen where the typist ran out of room. Which tool you take the text out with decides what happens to them.
- PDF to Text writes each line as it is on the page, page after page, as UTF-8. Choose it when the line breaks matter: a poem, an address block, a document you want to quote line by line. Between pages puts an empty line, a “Page 2” line or a page break character between pages.
- PDF to Markdown rebuilds paragraphs from the line spacing and joins a word split by a hyphen at a line end. Choose it for retyping, quoting a passage, or pasting into a word processor. It finds headings on OCR’d scans too, from the size a reader sees.
2 things to know about the join. It drops a hyphen that ends a line after a letter, so a real hyphenated word that happened to break there (“well-” at the end of a line, “known” on the next) comes out as “wellknown”. Search the text for words that look glued. And the text layer holds words and where they sit, not the spaces the typist typed: the 2 spaces after a full stop, indents made with the space bar and columns lined up with spaces do not come through as typed. Tables typed with tab stops can come out as lines of words; rebuild them by hand or with PDF to Excel and check every row.
The honest part
getPDF does not clean up scans. It does not straighten pages, remove show-through, sharpen faded letters or fill in broken ones; it reads the page as it is and says how sure it was. A clean carbon copy can still come out worse than you expect, and no setting fixes a letter the ribbon never printed.
OCR also cannot read what the typist hid. Words x-ed out, strike-overs and handwritten notes in the margin stay on the picture, where you can read them, and are wrong or missing in the text. For a letter you will quote or publish, proofread the text against the scan; for a short page you need exactly, OCR or retype has the arithmetic on when typing it is quicker.
We have not measured typewritten pages against other print, so this page gives no accuracy figure for them. The number that counts is the confidence in your own report. For keeping a box of family papers in order afterwards, with names that find themselves, see archive family documents.
PDF to texttakes the OCR text out, line by line, on your device. Free, runs on your device.Questions
Does OCR work on typewritten pages?
Usually well, because typewriter letters are evenly spaced and stand apart, which is the kind of print OCR is built for. What goes wrong is particular to typewriters: a dry ribbon that breaks letters, blurred carbon copies, letters typed over each other and words x-ed out. The confidence report tells you which pages to check.
What resolution should I scan typewritten pages at?
300 dpi, in greyscale. getPDF's OCR draws every page at 300 dpi before reading it, so a 600 dpi scan reads the same and only makes the file bigger. Greyscale keeps faint, worn strokes that a black and white scan can drop.
Can OCR read the words that were x-ed out?
No. A word typed over with x's comes out as a run of x's, or as a jumble of letters, and the word under it is lost to OCR. Read those places on the picture; the scan itself is never changed.
Why are there hyphens and line breaks in the middle of my sentences?
PDF to Text keeps every line as it is on the page, the typist's hyphens included. PDF to Markdown joins a word broken across a line end and puts lines back into paragraphs, which is usually what you want for retyping or quoting.
Are my family letters uploaded anywhere?
No. OCR PDF, JPG to PDF and PDF to Text run in your browser on your device. The reader and the language files are fetched from this site once; after a first use the tools work with Wi-Fi off.
The tools for this job
Keep reading
- OCR accuracy: what resolution, contrast and a straight page are really worthOCR accuracy depends on the scan: enough dpi, a straight page, the right language.
- OCR old faxes and 1-bit scans: what you can get back, and when to stopOCR an old fax or 1-bit scan: a clean fax reads well, line noise ruins it.
- Photograph documents so OCR can read them: no flash, straight on, close enoughPhotograph documents for OCR that works: no flash glare, shoot straight above, keep the page flat.
- OCR came out wrong: gibberish, symbols, missing accents, and the fix for eachOCR gibberish has 4 usual causes: the wrong language pack, too few pixels, a tilted page or handwriting.
- Archive the family papers: searchable PDFs with names that still make sense in 2036Digitise the family papers once and well: phone photos to PDF, OCR so every file is searchable, and names that sort by date.
- Make a scanned PDF searchable, free, without changing how it looksOCR a scanned PDF on your device: free, no account, nothing is uploaded.
- OCR or retype it yourself? The time math, and when your hands winOCR or retype? The real math: typing speed against OCR plus proofreading.
- What the OCR confidence score means, and when not to trust itOCR confidence scores explained: what the number measures, why free OCR on your device warns below 60 %, and when a high score still hides wrong text.