Erase & Replace: Edit Text in PDFs and Images

Erase text in a PDF or image and replace it with new text or images.

External engine

Before you start

Erase & Replace Editor runs on an open-source application hosted on Hugging Face Spaces by its independent developer, not on ilovpdf. When you load it, your browser connects to itsmedustint-erase-replace-pdf-image-ocr-editor.static.hf.space, and files you upload in the panel are sent to that service.

  • Don’t upload confidential or personal documents (ID cards, medical, financial or legal records) to external engines.
  • If the engine hasn’t been used for a while it may take up to a minute to start. Occasionally it may be unavailable; try again later.
  • We check each engine regularly and replace engines that stop working well.
Open in a new tab

Acceptable use: only edit documents you created or have permission to change, such as your own flyers, menus, screenshots or drafts. Altering official records, IDs, certificates, invoices, receipts, bank statements or signed documents to mislead anyone is fraud in most countries, and is prohibited by our Terms of Use.

About Erase & Replace — PDF/Image Editor

Fix a typo, update a date or remove a line from a PDF or image without the original source file. Erase & Replace uses OCR to detect the words on the page, lets you select and erase the ones you want gone, and then add your own corrected text.

How to use Erase & Replace — PDF/Image Editor

  1. Open a PDF or image. Load the file you want to edit.
  2. Run OCR. The editor detects the words on the page.
  3. Select and erase. Choose the text you want to remove.
  4. Add new content. Type the corrected text, adjust the font and colour, then save.

Key features

  • OCR word detectionFinds the text on scanned and digital pages so you can select it precisely.
  • Erase textRemove words or lines cleanly.
  • Add textType new content with a custom font, colour and background.
  • Paste image snippetsInsert a picture from a second image, such as your own updated logo.

What you can use it for

  • Correct a typo or wrong date in a PDF without the source document.
  • Update a price, phone number or address on a flyer or menu.
  • Remove personal details from a screenshot before sharing it.
  • Replace an old logo with a new one.

Tips for best results

  • Keep a copy of the original file, and tell recipients when a document has been corrected.
  • Erasing text visually is not the same as secure redaction. For legal or confidential documents, use dedicated redaction software that removes the underlying data.
  • Only edit documents you own or have permission to change.

About this engine and how we review it

We don’t build this engine ourselves. We chose it because it does one job well and is free to use, and we test it with sample documents when we review this page. Our own contribution is the guidance on this page: instructions, limits, tips and related tools. For work that doesn’t need a server, prefer our in-browser tools, which never upload your files: Merge & Split, Organize Pages, PDF to Text and more.

Page last reviewed November 17, 2026.

Frequently asked questions

Can I edit the text in a PDF for free?

Yes. Erase & Replace lets you remove words and add new text in PDFs and images at no cost.

Does it work with scanned documents?

Yes. OCR detects the words on scanned pages and photos so you can select them.

Can I change the font and colour?

Yes. You can customize the font, colour and background of the text you add.

Is erasing text the same as redaction?

Not necessarily. Visual erasing may not remove hidden data. Use dedicated redaction software for sensitive documents.

Erase & Replace Editor is powered by an open-source engine hosted on Hugging Face, which loads only when you choose to. Files you upload in that panel are processed by that engine. See our Privacy Policy and Disclaimer.