How to Add Text to a PDF: Free, No Upload, Exact Placement

๐Ÿ“ PDF editingโฑ๏ธ 6 min readFree tool included

You don't need a subscription to write on a PDF. The whole job is drawing a string at one coordinate, and a browser tab can do it without your file ever leaving your machine. Here's the workflow, the coordinate math that trips everyone up exactly once, and how to pick a size that looks like it belongs on the page.

Advertisement

What does "adding text to a PDF" actually mean?

A PDF page is a list of drawing instructions: put this glyph here, that image there. Adding text means appending one more instruction โ€” draw this string at this point, in this font, at this size, in this color. Nothing about the existing content changes. That's why a stamped PDF usually grows by well under a kilobyte per addition, and why the operation is fast even on hundred-page files.

This is different from two things people often confuse it with. Annotations (comments, form fields) float in a layer above the page and can be moved or deleted by anyone with a reader โ€” bad for approval stamps you want permanent. Editing existing text means re-typesetting the page's content stream, which is a genuinely harder problem and where desktop editors earn their price.

The free workflow, step by step

  1. Open the tool with your file. Our PDF Add Text page renders the document locally with pdf.js, the same engine Firefox's built-in viewer uses.
  2. Click the exact spot. The click becomes a PDF coordinate automatically โ€” zoom, page rotation, and crop boxes are all accounted for.
  3. Type and style. Font, size, color; multi-line works with Enter. Choose the current page or every page at once (handy for date-stamping a whole contract).
  4. Add, check, download. The preview re-renders from the actual edited bytes, so what you see is the real output, not a mock-up.

Why is the origin at the bottom-left?

PDF inherited its coordinate system from PostScript, which came from printers: paper feeds from the bottom, so (0,0) sits at the bottom-left corner, X runs right, and Y runs up. Screens do the opposite โ€” pixel (0,0) is the top-left, Y grows downward. Any tool that lets you type coordinates by hand has to convert between the two, and so do you if you're scripting.

The formula for an unrotated page: pdfX = pixelX รท scale and pdfY = pageHeight โˆ’ pixelY รท scale, where scale is preview pixels per point. Say you click at canvas pixel (367, 214) on a Letter page (612 ร— 792 points) shown at 1.2ร— scale: X = 367 รท 1.2 = 305.8, Y = 792 โˆ’ 214 รท 1.2 = 613.7. Same click on A4 (595.28 ร— 841.89 points) would give Y = 841.89 โˆ’ 178.3 = 663.6.

PagePoints (W ร— H)InchesY of a point 1 in from the top
US Letter612 ร— 7928.5 ร— 11792 โˆ’ 72 = 720
US Legal612 ร— 10088.5 ร— 141008 โˆ’ 72 = 936
A4595.28 ร— 841.898.27 ร— 11.69841.89 โˆ’ 72 = 769.89

One more quirk: the Y you supply is the text's baseline, the invisible line the letters sit on. Descenders (g, j, p, q, y) dip below it. So if you want a stamp's box to start 1 inch from the top on Letter, place the baseline a bit lower than Y=720.

What size should the text be?

Points are absolute in PDFs โ€” 1 point = 1/72 inch โ€” so a 12pt stamp is 12/72 = 1/6 inch tall when printed, regardless of the page. Body text in most documents is 10 to 12 points. For visible stamps, 18 to 36 points is the useful range. Width is what actually gets people: a string that fits "one line" mentally can be wider than the margin you're aiming at.

Can I add text to a scanned PDF?

Yes โ€” scans are the classic use case, because a scan is an image with no text layer to edit anyway. Stamping draws on top of the image, so initials, dates, and signatures land fine. Two honest limits: your stamp is a drawn string, so searching the PDF won't find it unless the search tool OCRs; and if the scan is crooked, your horizontal text will sit slightly ascew against it. Straighten expectations, not the text.

When do you need a real PDF editor?

Browser stamping covers adding; it doesn't cover rewriting. You'll want a desktop editor when you need to change words inside existing paragraphs, reflow a whole page, or fill interactive forms field by field. For everything else โ€” dates, names, page marks, approval stamps, Bates-style numbering โ€” drawing text at a coordinate is the complete answer, and it's free.

Add text to a PDF right now

Click the exact spot, pick size and color, download. Runs entirely in your browser โ€” contracts and records never upload.

Open PDF Add Text โ†’

Working with a batch of files instead? Compress PDF shrinks results before you email them, PDF to JPG turns pages into images for slides, and JPG to PDF wraps photos or scans back into a document. The certificate decoder handles the other PEM-flavored files developers juggle.

The bottom line

Click, type, size, download. PDF text placement is a solved problem with bottom-left coordinates and points you can count on โ€” 612 ร— 792 for Letter, 595.28 ร— 841.89 for A4, and a baseline that sits above the Y you pick. Once you've stamped one file in a browser tab, the fifteen-step export wizard stops being worth opening.

Advertisement

Frequently Asked Questions

How can I add text to a PDF without paying?

Use a browser-based tool that runs locally, such as our PDF Add Text page: open the PDF, click the exact spot, type the text, and download. Because the editing happens in your browser with pdf-lib, there is no account, no watermark, and no file upload. For heavy editing (reflowing paragraphs, editing existing text), a desktop editor is still the better tool.

Why does my text land in the wrong place when I compute coordinates myself?

Almost always the Y axis. PDF coordinates start at the bottom-left with Y increasing upward, while screen pixels start at the top-left with Y increasing downward. On a Letter page (612 by 792 points), a spot 100 points from the top edge is Y=692, not Y=100. Also remember the Y you pass is the text baseline: glyphs draw above it, roughly 75 to 90 percent of the font size for capital letters.

Can I add text to a scanned PDF?

Yes. A scanned PDF is just an image wrapped in a page, and stamping draws on top of that image. Date stamps and initials work perfectly. The caveat is OCR: adding text does not make the scan's existing content searchable, and your stamp is a drawn string, not editable text that a search will find.

What font size should a PDF stamp be?

Match the page's own body text, usually 10 to 12 points. Stamps that should stand out work at 18 to 36 points. For scale: APPROVED 2026-08-31 in Helvetica Bold is 153.1 points wide at 14pt, about 25 percent of a Letter page's 612-point width, and 262.4 points wide at 24pt, about 43 percent.