Skip to content
LetsEditPDF

How to edit a scanned PDF or image online for free

Change text in a scanned PDF, JPG or PNG: straighten it, make the text editable with OCR, rewrite words and save as PDF or image. Free, no upload.

4 min readUpdated LetsEditPDF guides

A scanned document, or a photo of one, is a picture. There are no letters to click on, which is why ordinary editors can't change it. You can still fix a name, a date or a number. This guide shows how, for scanned PDFs and for scanned images (JPG or PNG), free and in your browser.

Step 1: Get the scan into a PDF

  • Already a PDF? Go to step 2.
  • A JPG or PNG image? Turn it into a PDF with JPG to PDF or Images to PDF. Several images become one PDF, in the order you choose.
  • Still on paper? Use Scan to PDF with your phone or laptop camera. It crops to the paper and cleans the page up automatically.

Step 2: Straighten it (if needed)

Crooked scans make text recognition worse and look untidy after editing.

  • Deskew PDF straightens pages that are slightly tilted.
  • Auto-rotate turns sideways or upside-down pages the right way up.

Step 3: Make the text editable with OCR

Run OCR PDF. It recognises the text on each page and adds an invisible, searchable text layer over the picture. Pick the document's language for the best results. OCR can also straighten pages for you while it works.

Step 4: Edit the text

  1. Open the result in the PDF Editor.
  2. Choose Edit text and click the line you want to change. Thanks to OCR, scanned lines can now be selected.
  3. Type the new text. The old words in the picture are painted over with the page's own background before the new text is drawn, even on shaded or gradient backgrounds.
  4. Adjust the font, size and colour in the Style panel to match the document as closely as possible.

No OCR, or OCR missed a line? Use Whiteout to cover the old words, then Add text to type the new ones on top.

Step 5: Save as PDF or as an image

Click Save PDF, or use the Save as choice next to the button to get JPG or PNG images instead, which is handy if you started with a photo and need a photo back.

What to expect

  • Fonts won't match exactly. A scan has no font, only pixels, so the new text uses the closest standard font. Choose serif or sans to match the look.
  • Handwriting can't be edited as text. OCR recognises printed text best. For handwritten notes, cover and retype.
  • For big rewrites, convert instead. After OCR, PDF to Word gives you an editable document to rework and save as PDF again.

Matching the original look

  • Size: zoom in and compare a capital letter in your new text with one in the scan, then adjust the size until they match.
  • Colour: scans are rarely pure black. A very dark grey often blends in better than black.
  • Font style: pick a serif font for letters, books and official forms, and a sans font for modern printouts and receipts.
  • Bold headings: use the bold option in the Style panel rather than a bigger size.

A worked example

Say a scanned letter has the wrong date, "12 March", and you need "14 March":

  1. Open the scan in OCR PDF, choose English and run it.
  2. Open the result in the PDF Editor and choose Edit text.
  3. Click the line with the date, change 12 to 14, and check the size and colour match.
  4. Save the PDF.

The rest of the page stays exactly as it was scanned; only the line you edited is redrawn.

Common problems

I can't click the text in the editor

The page hasn't been through OCR, or OCR didn't recognise that line. Run OCR PDF first. For lines it missed, use Whiteout to cover the old words and Add text to type over them.

A pale patch shows where I edited

On heavily textured or photographed pages, the colour painted over the old words can differ slightly from its surroundings. Make the new text the same size as the old one so it covers the same area, or use a whiteout box sized to the line.

The new text overlaps the next line

The replacement is longer than the original. Shorten the wording, reduce the size slightly, or split it with Add text.

Recognised words are wrong

OCR misread the scan, usually because it is blurry, tilted or in a different language from the one chosen. Straighten it with Deskew PDF, choose the right language and run OCR again.

Saving as JPG gave me a ZIP

Each page becomes its own image, so documents with several pages download as a ZIP. Choose PDF if you want a single file.

Frequently asked questions

Can I edit a scanned image without making a PDF? The editor works on PDFs, so convert the image first (step 1), edit it, then save as JPG or PNG.

Is OCR accurate? On clear, straight scans of printed text, usually very. Blurry, tilted or low-resolution scans give more mistakes, so straighten first.

Are my scans uploaded? No. Everything runs in your browser. The OCR engine is downloaded from a public CDN the first time you use it, but your document stays on your device.

Can I change a number in a scanned table? Yes. After OCR, numbers in tables can be edited like any other line of text.

Is editing a scan the same as forging a document? Only edit documents you're entitled to change, such as your own letters, forms and notes. Altering official documents or someone else's records can be illegal.

All guides