A PDF artifact opens in the PDF editor when you have edit access. You edit the PDF itself, the way you would in Acrobat: the file you download afterwards is an ordinary PDF that opens anywhere. Every change saves as a new version of the artifact, so you can always go back. To get a PDF in (up to 15 MB), any of these opens it in the editor:
  • On the Artifacts tab, click the PDF tile under Make something new and choose a file. The rail’s Artifacts + menu has the same PDF item.
  • On the Artifacts tab, press + and choose Upload → PDF.
  • Drop or attach a PDF in a chat and send: it opens beside the chat (see Files open in their editor).
Without edit access, a PDF opens read-only. If the PDF can’t be saved to your Artifacts yet (you’re signed out, or the app can’t reach your account), it still opens in the editor with Not saved yet. Sign in to keep it in your Artifacts and share it. You can edit, sign and download it; the changes stay in this window until you sign in.

Change existing text

  1. Click a line of text to select it.
  2. Click it again, double-click it, or press Enter to type.
  3. Press Enter or click outside the line to apply the change. Esc cancels.
The edit keeps the PDF’s own font and size, and only the words you change are rewritten. Text before and after your edit stays exactly where it was, and anything later on the same line moves over by the width your edit added or removed, so nothing overlaps. PDFs often include only the letters a document used from each font. When you type a letter the PDF’s copy of the font does not have, the editor looks for the same font in this order:
  1. Another copy of the same font inside the PDF that has the letter.
  2. The same family and weight from the open Google Fonts library.
  3. A font drawn to the same letter widths, for common system fonts (Arimo for Arial and Helvetica, Tinos for Times, Cousine for Courier, Carlito for Calibri, Caladea for Cambria, Gelasio for Georgia, Inter for Apple’s system font). A message names the stand-in, with Undo.
  4. If none of those is available, the closest standard font. A message says so, with Undo. The editor never swaps a font without telling you.
While a line is selected, the bar above the page changes its size, colour, bold, italic or font. Choosing Helvetica, Times or Courier there sets the line in that font on purpose.

Move, resize, duplicate and delete

With the Edit tool, point at a page and a faint box shows around every text line, image and shape you can edit. The one under the pointer gets a stronger outline. Click one to select it. Then:
  • Drag it to move it.
  • Drag a corner to resize it. Text and images keep their proportions.
  • Arrow keys nudge it 1 point; hold Shift for 10 points.
  • Cmd+D or the duplicate button copies it, a little down and to the right, and selects the copy. Text copies keep the PDF’s own font.
  • Delete or the trash button removes it.
To work on several things at once:
  • Shift-click adds an item to the selection, or takes it out.
  • Drag across empty space on the page to draw a box. Everything it touches is selected.
  • Cmd+A, or Select all in the bar under the tools, selects everything on the page in view.
The selected items then move, resize, nudge, duplicate and delete together. Scanned lines are part of the picture, so they are edited one at a time and are left out of a multiple selection.

Zoom

Use the zoom buttons or Cmd+= and Cmd+-, or pinch on a trackpad or hold Cmd (Ctrl on Windows) and scroll. Zoom goes from 30% to 400%, and pinching keeps the spot under your fingers in place. The percentage button fits the page to the width again. On a phone, pinch with two fingers.

Add to the page

A signature placed with Sign is a picture of your signature on the page. It is not a certified digital signature.

Drag files onto the page

Drag an image from your computer onto a page and it is placed where you drop it, on top of whatever is there. Drag a PDF onto a page and its pages go in after that page. While you drag over the pages, the drop screen says Drop to place on the page. Drop files anywhere else, such as on the chat, to attach them as usual.

Whiteout and replace

A whiteout stays on the page under anything you put on it:
  • Click a whiteout with Text and type. If the whiteout hides a line, your text starts where that line was, in its size and colour, so the new value takes the old one’s place.
  • Put an image, a signature or a shape on a whiteout and it shows on top.
  • Drag text or an image onto a whiteout, an image or a filled box, and it comes to the front.
  • Retype part of a line that a whiteout partly covers, and the new text shows on top. The rest of the line stays as it was, so words you covered stay hidden.
Text hidden under a whiteout can’t be selected or clicked by accident. Click the whiteout itself to move or delete it, and Undo brings back what was there before.

Scanned PDFs

Some PDFs are pictures of paper: a scan, or a form saved as images. The editor makes them editable:
  1. When you open one, the editor reads each scanned page on your device (text recognition, nothing is uploaded). The hint bar shows Reading scanned page 2 so its text can be edited (2 of 10)…. A page takes a few seconds, and the page you’re on is read first.
  2. The page looks exactly the same, but its lines can now be clicked, edited and searched, like any other PDF. The text layer is saved in the file, so the next time it opens straight away.
  3. Click a line, click again and type. The editor measures the type on that line from the scan — font family and weight, size, width, baseline, word spacing, stroke thickness and ink colour — and matches it to an open font. The style bar shows the match (for example Source Sans). When you press Enter, the old line is covered with the paper colour and your text is set in the matched font in the same place.
Only the lines you change are re-typeset; every other line stays the original scan. Undo puts the scanned line back. Scanned lines can’t be dragged (they are part of the picture); Delete covers the line. If no text can be read on a page (a photo, or handwriting), the hint bar says so. Use Text to type on it, Whiteout to cover something first, Sign for signature lines and Draw to tick a box. Clicking the page in Edit mode doesn’t select the scan itself, so a stray drag can’t move the whole page.

How it works (developers)

  • OCR: Tesseract.js 7 (Apache-2.0) with the English LSTM model, served from /ocr/ by vite-plugins/ocr-engine.ts; no CDN. Each recognised chunk becomes an invisible text object stretched over its ink (PdfEngine.addScanText).
  • Font match: src/lib/pdf/editor/scan-font.ts compares the line’s pixels, word by word, with the same text in 36 open families (Fontsource), then nearby weights of the best one.
  • Edit: PdfEngine.setScanRunText covers the old ink and sets the text one word per object at the scan’s word gap, with extra stroke when the scan’s type is heavier.

Agent tools

When a PDF is open beside a chat (for example one you attached), the agent edits it through the editor: read_page, replace_text, set_line, add_text, fill_field, highlight, delete_pages and rotate_pages. Its edits follow the same font rules as yours and show on the page as it makes them. See Attachments.

Fill forms

Fields in a fillable PDF become inputs on the page: type in text fields, tick checkboxes and pick from lists. The values are saved in the PDF’s form, so other PDF apps show them too.

Pages

Pages opens the page panel. Drag thumbnails to reorder them. Click a page to select it; Cmd-click or Shift-click selects more than one. The buttons work on the selected pages, or on the page in view when none are selected:
  • Rotate turns pages 90°.
  • Duplicate copies them.
  • Blank inserts an empty page after them.
  • Insert PDF adds the pages of another PDF after them. The same button (a page with a plus) is also in the top toolbar, so it works with the panel closed, which is the default on a phone.
  • Extract downloads them as a new PDF.
  • Delete removes them. A PDF keeps at least one page.

Find, undo and download

  • Cmd+F finds text. Enter goes to the next match and Shift+Enter to the previous one.
  • Cmd+Z undoes and Cmd+Shift+Z redoes, across every kind of change, including page changes, duplicates and changes to several items at once.
  • The download button saves the current PDF, edits included.

Keyboard shortcuts

On a phone

On ai.allternit.com on a phone and in the Allternit app (m.allternit.com) the tools sit in a bar at the bottom of the screen and Pages opens full screen. Tap text to select it and tap again to type. Drag with one finger to move or resize what is selected, and pinch with two fingers to zoom. When something is selected, the boxes around everything else on that page show too. Select all in the bar above the tools selects the whole page.

Advanced tools

The toolbox button opens the PDF in advanced tools for the PDF security settings, the accessibility checker and the rest of an Acrobat-style workbench. Save there to keep what you change; Back to editor reopens this editor on the saved PDF.

How it works

The editor runs PDFium, the PDF engine in Chrome, compiled to WebAssembly (the @embedpdf/pdfium build), in a web worker on your device. Your PDF is not sent anywhere to be edited. The editor only goes online to download a font from the open font library (cdn.jsdelivr.net) when the PDF’s own font is missing a letter you typed. Text edits change the page’s text objects and then rewrite the page content. Undo restores a saved copy of the document from before each change. Desktop’s content security policy includes 'wasm-unsafe-eval' so the engine can compile.