Flatten PDF Form

The Flatten PDF Form tool converts a filled fillable PDF form into a static PDF. Once flattened, the field values become drawn page content — the form fields disappear, no one can edit them anymore. This is the standard "lock my filled form before emailing it" operation. Common use case: you fill a tax form, contract, or application in your PDF reader, then flatten it so the recipient can't accidentally (or intentionally) change your answers. Runs entirely in your browser using pdf-lib. The PDF never uploads.

Built by Bob Article by Lace QA by Ben Shipped

🔒 Everything happens in your browser. The PDF never uploads. Close the tab and it's gone.

How to use

  1. 1

    Drop or pick your filled PDF form. Up to 100 MB. The tool reads it and shows how many form fields it found.

  2. 2

    If there are zero form fields, we tell you up front — your PDF doesn't have a fillable form, so there's nothing to flatten. Common reason: the PDF is a scanned image, not an interactive form.

  3. 3

    If there are fields, click "Flatten form." The tool converts the filled values into static page content and form fields are removed.

  4. 4

    Click Download. Output is named after your input plus "-flattened" (e.g., w9.pdf → w9-flattened.pdf). The recipient sees the same content but can't edit any field values.

Frequently asked questions

Ratings & Reviews

Rate this tool

Sign in to rate and review this tool.

Loading reviews…

What flattening a PDF form actually does

A fillable PDF is a document with editable widgets glued on top. When you open one and type into a field, you are not modifying the page — you are setting a value on a form widget that sits in front of the page. The widget renders your value over the page when displayed, but the value is stored separately. Anyone who opens the same file can clear your value and type their own. Anyone with a PDF editor can also change what fields exist, what they are called, and what choices they accept.

Flattening makes that gluing permanent. The values you filled in become drawn pixels on the page. The widgets are removed. The result looks identical to what you saw on screen, but no one can edit it — there is nothing to edit, the page is just a page now. The Flatten PDF Form tool does exactly that and nothing else.

How to use Flatten PDF Form

The widget needs one thing from you: a filled PDF form. It reads the file, counts the fields, and tells you what it found before doing anything destructive.

  1. Drop or pick your filled PDF. Up to 100 MB. The tool inspects the file and reports the form-field count.
  2. If there are zero form fields, the tool tells you up front. Your PDF does not have a fillable form — there is nothing to flatten. Common reason: the document is a scanned image of a form, not an interactive form.
  3. If there are fields, review the count and click Flatten Form. pdf-lib walks every field, renders its current value as static page content, and removes the field widget.
  4. Click Download. Output is named after your input plus "-flattened" (so w9.pdf becomes w9-flattened.pdf). The recipient sees the same content but can no longer edit any of your answers.

The file stays in your browser the entire time. Check your network tab during the flatten — zero outbound requests. The Microapp page loaded from our CDN; everything after that is your machine working on its own.

Three reasons to flatten a form

The most common case is the one nobody warns you about: you fill a form in your PDF reader, attach it to an email, and the recipient opens it — and accidentally types over one of your fields while scrolling. The form fields are editable to anyone who opens the file. Flattening prevents that.

If you ever email a filled tax form, contract, application, or W9 to someone you do not entirely trust to leave it alone, flatten it first. The recipient sees the exact same document. They just cannot change any of the values you entered.

The other two cases:

  • Print-on-demand reliability. Some print services render form widgets differently from how your screen displays them — field overflow, font substitution, wrong alignment. Flattening guarantees that what prints matches what you see, because the rendering happened in your browser before the file ever reached the printer.
  • Long-term archive stability. A filled PDF form depends on the recipient's PDF reader correctly interpreting the form widget definitions. Future versions of Acrobat or some other reader might render the same form slightly differently. A flattened PDF is just a page — it renders the same way in any PDF reader, today and in ten years.

What the output actually looks like

The visual appearance is identical to the filled form. The behavioral difference is total. Here is what changes for every type of form widget pdf-lib supports:

Field typeBefore flattening (live form)After flattening (static page)
Text inputClick and type to change the valueDrawn text; click does nothing
CheckboxClick to toggle checked/uncheckedA drawn checkmark or empty box, frozen
Radio buttonClick to select a different optionA drawn filled dot, the others empty
DropdownClick to pick a different value from the listThe selected value drawn as text; no list
Signature field (drawn image)The image is anchored to the field; could be cleared in some editorsThe image is baked into the page
Digital signature (cryptographic)Verifiable signature with chain of trustSignature widget is removed; cryptographic validity is broken

That last row is the trap. If you signed a PDF with a digital certificate (the kind that produces a verifiable signature with a chain of trust back to a certificate authority), do not flatten it. Flattening removes the signature widget, which invalidates the cryptographic proof that you signed it. The PDF will still show your name as text where the signature was, but it is no longer cryptographically signed — it is just a picture of a signature now.

Worked example: a filled W9

You filled out an IRS W9 for a contracting gig. The PDF has nine form fields: name, business name, federal tax classification (checkbox), exemptions, address, city/state/zip, taxpayer ID, signature, date. You filled all nine. Now you need to email it to the company that hired you.

If you attach the filled W9 as-is, the recipient opens it in their PDF reader and every one of those fields is still editable. They could scroll past, accidentally click your address field, type a stray character, and save the file. The next person in the chain sees the corrupted address. This actually happens regularly.

Run the filled W9 through Flatten PDF Form. The tool reports "9 form fields found." Click Flatten. Download w9-filled-flattened.pdf. Open it. Every value you typed is still there, looking identical to how it did before. Click on the name field — nothing happens. Click on the signature — nothing happens. The page is now a page, not a form. Email the flattened version. Your data is safe.

Why this beats the upload-and-watermark crowd

The major online PDF tools (iLovePDF, SmallPDF, PDF24, Sejda, Convertio) all offer form flattening on their paid tiers. The free tiers typically have a 5 MB cap, watermark the output, or limit you to one operation per day. The reason is that uploading PDFs to their servers costs them bandwidth and storage; the free tier is loss-leader marketing for the paid one.

Flattening a PDF form does not require a server. pdf-lib runs in any modern browser. The exact same library those services run on their servers can run on your laptop with no network round-trip. The Flatten PDF Form tool uses pdf-lib in your browser, your file stays on your machine, there is no watermark on the output, and there is no daily limit. Free is a fact, not a slogan.

The honest tradeoff: because the work happens in your browser, your laptop or phone needs enough memory to load and process the PDF. The cap is 100 MB. For most filled forms (which are typically under a megabyte) this is wildly more than you will need. For very large PDFs with embedded high-resolution images, work on a desktop.

Edge cases and gotchas

  • Digital signatures. If you signed with a certificate-based digital signature, flattening invalidates it. The flattened PDF still shows the signature visually but the cryptographic proof is gone. If preserving the legal weight of a digital signature matters, do not flatten — distribute the signed PDF as-is and trust your signing flow to prevent edits.
  • Drawn-image signatures. If your "signature" is an image of your handwriting placed in a signature field (the most common kind for personal use), flattening is safe and recommended. The image becomes part of the page.
  • Scanned image of a form. If your PDF is a scan of a paper form rather than an interactive PDF form, there is nothing to flatten. The tool reports zero form fields and stops. To make a scanned form filllable, you need an OCR + form-recognition tool — not what this tool does. Then come back here to flatten the filled version.
  • Forms with calculated fields. Some PDF forms have fields whose values are computed from other fields (a tax form that calculates a subtotal automatically). Flattening freezes the calculated value at whatever it was at the moment of flattening. If you change the underlying inputs later, the calculation no longer updates — because the field that did the calculating no longer exists.
  • Forms with JavaScript actions. A few PDFs run JavaScript on form events (validation, sub-form visibility). Flattening removes all of that. The final state of the form at the moment of flattening is what gets preserved as static content. JavaScript-driven dynamic behavior is gone.
  • Password-protected PDFs. pdf-lib refuses to open encrypted PDFs. Remove the password with a desktop reader before flattening.
  • You realize you need to edit a value after flattening. Flattening is one-way. The original form fields are gone. The fix: keep your unflattened source file. The Microapp tool does not modify your input — it always produces a new output file. If you ever need to make changes, edit the original (unflattened) source and re-flatten the new version.

Related tools

Flattening usually shows up at the end of a PDF workflow — the last step before sending the file out:

  • PDF Watermark — add a watermark before flattening (the watermark, if added as a form field, would also flatten in the same operation).
  • PDF Page Numbers — add page numbers after flattening so the numbers are not editable.
  • PDF Metadata Editor — clean up the PDF's title, author, and other metadata before sending. Flattening does not touch metadata.
  • Sign PDF — add a drawn-image signature, then flatten so the signature cannot be repositioned.
  • Compress PDF — shrink the file size after flattening if it needs to fit an email attachment limit.
  • PDF Merger — combine the flattened form with cover letters or supporting documents into a single deliverable.

Frequently asked questions

What does "flatten" actually do?

It converts every form field into static page content. Before flattening, a field like "Name: [type here]" is an editable widget — the user can change it in any PDF reader. After flattening, the same field shows your filled value as drawn text. There is no widget anymore. The value is part of the page itself. The visual appearance is identical; the editability is gone.

Why would I want to flatten?

Three common cases. First, emailing a filled form to a recipient who should not be able to edit it (a signed application, a contract you completed, a tax form). Second, print-on-demand reliability — flattening guarantees the printed page matches what you see on screen, with no field-overflow surprises. Third, archive stability — a flattened PDF renders the same in any reader, today and ten years from now, because there are no form widgets whose interpretation could shift.

Can I still see the filled values after flattening?

Yes — the values are visible just like before. The difference is that nobody can change them. Click on a field after flattening and nothing happens; the page is a static rendering.

Will flattening break my signed PDF?

If you signed with a certificate-based digital signature, yes — pdf-lib's flatten removes the signature widget, which invalidates the cryptographic signature. The flattened file still shows your name visually where the signature was, but the cryptographic proof of who signed it is gone. Do not flatten certificate-signed PDFs if the legal weight of the signature matters. A drawn-image signature (a picture of your handwriting placed in a signature field) flattens fine.

Is my PDF really not uploaded?

Correct. The flatten runs entirely in your browser via pdf-lib. Your PDF bytes go from your file system to the browser's memory to the output PDF — never to a server. Check your browser's network tab during flatten and you will see zero outbound requests.

Can I un-flatten a PDF?

No — flattening is one-way. The form-field metadata is removed; the values become page content. If you need to edit the form again later, save a copy of the original before flattening, edit the original, then flatten the copy you want to share. The Microapp tool does not modify your input file, so re-running on the unflattened source is always an option.

What about radio buttons, checkboxes, and dropdowns?

All of them flatten. A checked checkbox becomes a drawn checkmark. A selected radio becomes a drawn filled dot. A dropdown's selected value becomes drawn text. The visual appearance matches what your PDF reader was displaying before the flatten.

What if my PDF has no form fields?

The tool tells you up front — "No form fields found." There is nothing to flatten. Common reasons: the PDF was already flattened, the PDF was created as a static document, or what looks like a form is actually a scanned image of a paper form (those need an OCR tool first, not a flattener).