What this tool does

It writes new text onto the pages of an existing PDF, at the position you click, in your choice of size, colour and weight — and writes it as genuine text. That last point separates it from screenshot-and-stamp tricks: the words become part of the page's content stream, embedded with a standard font, so they behave like any other text in the file. You can select them in a reader, a screen reader can read them, and a search can find them. The job it is built for is the everyday one: the form that is really just a picture of a form, the certificate that needs a name, the scan that needs a label.

How to add text to a PDF, step by step

Upload the PDF. Type the text, choose its size and colour, then click on the page preview where the text's baseline should sit — the baseline is the line the letters stand on, so click on the printed line of a form, not above it. The item appears in the list under the form with its page number. Repeat for every line and page, then click Add Text & Build PDF. Open the download and check the alignment before you send it anywhere; if a line sits a touch high or low, delete it from the list, click again, and rebuild — the original is untouched, so iterating costs nothing.

The classic job: filling a flat form

A large share of the world's "forms" are flat: a scanned paper form, or a PDF exported as a picture of one, with ruled lines and no actual fields. Fillable-field tools find nothing to fill. The typewriter approach — this tool — is the right one: click each line and type. A few habits make the result look native rather than stamped: match the size to the form's own print (usually 11–13pt for body lines), use the near-black default rather than pure black, and keep one consistent size down a column of answers. If the form is a scan that sits slightly crooked, accept the tiny imperfection — chasing it line by line costs more time than the reader will ever notice.

What this tool can and cannot do

CanCannot
Place any single line of text on any page, at click precisionEdit, move or delete the document's existing text
Write real, selectable, searchable textRotate text or flow a multi-line paragraph automatically
Use Helvetica / Helvetica Bold, 6–96pt, any colourEncode emoji or most non-Latin scripts (font limitation, explained in the FAQs)
Stamp labels such as CONFIDENTIAL, PAID, COPYFill genuine AcroForm fields — use a form filler for those

Why a standard font, and what it means for you

PDF's fourteen standard fonts — Helvetica among them — are guaranteed to be available to every reader, which is why pdf-lib can write with them without embedding a font file. The result is a small, robust PDF that renders identically everywhere. The cost is the WinAnsi character set: Latin letters, Western European accents, common punctuation and symbols like €. Text outside that set cannot be encoded, and the tool tells you plainly if a build fails for that reason rather than silently dropping characters.

Worked example: completing a scanned application form

A two-page scanned form asks for a full name, a date, and an address across three lines, with a signature block you will handle by hand after printing. Load the scan, set 12pt near-black regular, click the name line and type the name; click the date line; then use the page arrows to reach page 2 and place the address lines. Build, download, and zoom in: the answers sit on their lines in the same weight as the printed questions. Print, sign in ink, and the hybrid — digital answers, wet signature — is exactly what the receiving office expects.

Sources & References

  • pdf-lib — drawText and the standard fonts, the library writing your text in this page: pdf-lib.js.org
  • PDF.js — Mozilla's renderer, used for the page preview: mozilla.github.io/pdf.js
  • ISO 32000-2 (PDF 2.0) — text state, fonts and the standard 14 fonts: iso.org
  • Adobe — PDF standard fonts and WinAnsi encoding background: helpx.adobe.com

Added text sits on the page exactly where you click — zoom the preview and check the first placement before stamping the same line onto many pages.