VoilàPDF

Home › Guides › Edit the text in a PDF

How to edit the text in a PDF

A wrong date, a misspelled name, a stale address. The reflex is to convert the file to Word — which is exactly what you should not do. Here is why, and what to do instead.

· 4 min read

A PDF is not a frozen picture: in the vast majority of cases it holds its text, with the exact position and size of every fragment. That text can therefore be corrected in place. If nearly every online service charges for it, the reason is not technical difficulty — it is that the operation runs on their servers and costs them computing time.

Why not convert to Word

It is the advice you find everywhere, and it creates more problems than it solves. Conversion rebuilds the content, not the design: columns end up one after another, boxes disappear, fonts are swapped for whatever is available. You fix your date, you convert back to PDF, and the document no longer looks like the original.

For a one-line correction, the detour costs you the entire layout. It keeps its value in one case only: when you genuinely want to take the whole document back and rework it. That is what conversion to Word is for.

The method, in four moves

1. Open the document Drop the PDF on the home page. It is read by your browser; no file is sent anywhere. You can cut your connection right after: everything keeps working.
2. Click the line to fix The Edit tool is active by default. Editable blocks are outlined — the Guides button shows or hides them. One click turns the line into an input field, in its exact place.
3. Rewrite it The right-hand panel sets the font, size, weight and colour. The Fit button shrinks the size until the text fits the original width, which keeps a longer correction from overflowing.
4. Save The old line is covered with a rectangle filled in the mean colour sampled from the rendered background, then the new text is redrawn on the same baseline. That is what makes the correction invisible.

Open the editor

What if the PDF is a scan

A scanned document holds no text: it is a photograph of a page. There is nothing to click, which is where most editors give up — or start charging.

Character recognition finds the text inside the image. It starts on its own when no text layer is detected, and it runs on your machine. Each recognised line becomes an editable block in place. Quality depends mostly on the scan: a clean, straight document gives an excellent result, a crooked photograph far less. To recover the text without editing it, the recognition tool returns it as .txt or Word.

Three limits worth knowing

The original text stays in the file. The correction covers it visually, it does not erase it: copy-paste, or a tool such as pdftotext, recovers the old version. This is not redaction. Do not use it to hide an amount, a name or a number before sending a document on — for that you need to flatten the page to an image or rework the source.

The original font is not reused. Text is rewritten in one of the fourteen standard PDF fonts — Helvetica, Times or Courier. On a document set in a common font the difference goes unnoticed; on a carefully typeset brochure it shows. Bold is detected automatically by comparing the measured width of the line against the standard metrics; italic is a manual toggle, because no reliable measurement detects it.

A correction longer than the original will overflow. The Fit button shrinks the size to make it work, and the panel flags overflows. On a very tight line, shortening the wording is the better answer.

Frequently asked

Do I have to convert the PDF to Word to edit it?

No, and it is often counterproductive. Conversion loses the layout and forces a second conversion back. It stays useful when you want to rework the whole document, not to fix one line.

Can a password-protected PDF be edited?

The protection has to be removed first, by entering the password you already know: that is what the unlock tool does. Note that this operation rasterises the pages and the text becomes an image — you will not be able to edit it afterwards. Make your changes before, if you can.

How many pages, and what maximum size?

No imposed limit. The only ceiling is your device's memory, and it is high: a document of several hundred pages goes through without trouble. If the file is then heavy to send, compression handles it.

Are my corrections stored anywhere?

Nowhere. There is no account, no cookie and no local storage: close the tab and nothing remains. The corrected file is saved where you ask for it, on your own disk.

Open source, made with ♥ in France