Edit text on the page
- Open a document in the Document editor and choose Text. Click the text on the page and type over it.
- Press Enter or choose Save text to save a new version of the PDF. Press Escape or choose Cancel edit to discard the change. If a save fails, your text stays in the field so you can try again.
- After a save, the preview shows the new version. Choose Continue editing version to keep editing it; the earlier version is kept unchanged.
- Text the PDF stores as real text is edited in place, in its own font. For a scanned page, choose Make editable: Wellfriend OCR reads the page and turns it into real text you can edit, in the same document.
- The embedded Document editor works the same way. After it saves, create a new embed session for the new version to edit again.
How editing works
The editor changes the PDF's own objects: text stays text, images stay images, and nothing is drawn over the page. Each save is checked and stored as a new immutable version of the document. An edit that cannot be made safely, for example on a signed, encrypted or damaged object, is refused rather than turned into an image or approximated.
- Inspect the exact version you want to change before editing it.
- Use the selectors the inspection returns; do not build object numbers or coordinates yourself.
- Read the signature warning before changing a signed PDF: the edit invalidates existing signatures.
- Open the new version in the viewer and check the changed object and the rest of the page.
Text and image edits
| Edit | What you select | What is checked |
|---|---|---|
| Replace text | A text run from the inspection and its current text | The font can draw every new character, the text fits, and the selection still matches. |
| Reflow text | One text object and the region it may fill | The text fits the region without overlapping other content. |
| Replace image | One image from the inspection | The replacement format is accepted; signatures that would break are reported first. |
| Move, transform, crop or fade an image | One placement of an image | The placement is not shared with other pages and the transform is valid. |
Vectors, links and metadata
- Move, resize, recolour or delete a recognised vector shape.
- Create, change or delete link annotations.
- Create, change or delete text and highlight annotations.
- Edit the allowed document information and XMP metadata fields. Scripts and actions cannot be added.
- Create, rename, move, retarget or delete bookmarks.
Forms and pages
- Create or delete form fields, including in a PDF that has none yet.
- Edit a field's value, position, label and dropdown options, or repair its appearance.
- Reorder pages by sending the complete new page order.
- Rotate a page or change its media and crop boxes.
- Insert blank pages, delete or duplicate pages, or import pages from another PDF.
- Every edit is checked before it is saved: the result must open, keep a valid page structure and stay within the size limits.
Find, copy and select text
- Copying text uses the PDF's own text layer. A scanned page has no text to copy until you run OCR on it.
- Find in document highlights each match. Next match and Previous match move between matches across pages, including phrases that wrap onto the next line.
- Finding text does not make it editable; only text the inspection lists as editable can be changed.
- Text replacement keeps the original letter spacing and does not rewrap paragraphs. Every new character must exist in the font the text uses, or in the full version of that font.
- For a long document, choose a page under Inspect text on page to load only that page's editable text.
- From your own code, the same edits run as v2 document operations with toolId pdf-edit; see the PDF editing API.