Edit PDF Text
betaChange the words on the page — in the page's own font — and add new text, in your browser
How it works
Open the PDF and press Edit text (E). Every line of the page's own text gets an outline; click one and an input opens over it in the same size and face. Change the words and press Enter: the glyphs are rewritten inside the page's content stream — the unchanged start and end of the line keep their original glyphs and kerning, the changed middle is set in the document's own font when that font has the characters (always for the standard fonts; for embedded subsets, whenever the characters appear somewhere in the document), otherwise in a matching stand-in (Helvetica, Times, Courier, or Liberation Sans for Greek and Cyrillic). Text to the right in the same line, such as a table's next column, stays exactly where it was; a line that grows runs on to the right. Click empty space to add a new line of text in the size, colour and face from the options bar. Invisible OCR text, vertical text and Type 3 fonts are shown but not editable.
Questions
Why does my edited line not reflow the paragraph?
A PDF has no paragraphs — only lines placed at positions. Editing changes a line in place; the lines below do not move. For a long change, edit each affected line, or add a line of text where it is needed.
The new letters look slightly different. Why?
The page's font is a subset that lacks those letters, so a stand-in font of the same family was used for the changed part. Letters the document already uses anywhere are set in the original font.
Can I change the font size or colour of existing text?
Not yet — an edited line keeps its size and colour. New text takes the size, colour and face you choose in the options bar.
Is my file uploaded?
No. Everything runs in your browser — pdf.js draws the document and pdf-lib rewrites it in a background thread — and Save writes to your disk or downloads a copy. Nothing leaves your device.