Flatten PDF

Bake filled form fields into the page so they can no longer be edited.

About Flatten PDF

This tool flattens form fields. Drop in a filled PDF form and it returns a copy in which the values are painted onto the pages themselves and the fillable boxes are gone. Everything happens in this browser tab; the file is never uploaded, and the download is named flattened-yourfile.pdf.

Why a filled form needs flattening at all

An AcroForm field is not part of the page. It is a separate object with a rectangle, a value, and an appearance stream that the reader paints on top of the page at display time. That indirection is what makes forms convenient and also what makes them fragile once they leave your hands: the next person can retype your figures, a stricter reader may draw the field with a different font, and some printer drivers historically dropped field content altogether, producing a form that prints blank. Flattening removes the indirection. After it, the values are ordinary page content and every reader and printer sees the same thing.

The mechanics

Field appearances are regenerated from the current values first, so a form filled by a tool that never refreshed its own rendering still flattens to the right text. Each widget's appearance stream is then registered as an XObject on the page it sits on, and drawing operators are appended to the page content stream to paint it at the widget's exact rectangle. Finally the field is removed from the document's form and its widget annotation is unlinked from the page. Because the appearance is drawn rather than rasterised, the flattened values stay real, selectable, searchable text.

What this tool does not flatten

  • Comments and markup — highlights, sticky notes, ink, stamps and text boxes are annotations, not fields, and are left live and removable.
  • Layers — Optional Content Groups keep their visibility toggles.
  • Transparency — no transparency flattening or colour conversion is performed, so this is not the pre-press step a commercial printer means by the same word.
  • Everything else — page text, images and vectors are untouched; a document with no form fields comes back unchanged.

If you truly need everything fused, the honest route is re-rendering: PDF to PNG at 3x — that tool offers five fixed scales of 1x, 1.5x, 2x, 3x and 6x, which are 72, 108, 144, 216 and 432 DPI — followed by Image to PDF produces a document where nothing is editable because nothing is anything but pixels. It also destroys text selection, search and screen-reader access, and multiplies the file size, so treat it as a last resort rather than a default.

Flattening is not security

A flattened page can still be edited by anyone with a proper PDF editor; what has gone is the convenient form interface, not the ability to change the file. When the requirement is that a recipient must not alter, copy or extract the document, encrypt it with Protect PDF, which sets a password and permission flags. The two operations complement each other: flatten so the values are final and print reliably, then protect so the file itself is locked. Note also that flattening rewrites the page content, which invalidates any existing digital signature — sign after flattening, never before.

Form fields become page content

Each field appearance is drawn into the page content stream as a graphics object, then the interactive widget and its entry in the form dictionary are deleted. The values stay visible; the boxes stop being editable.

Values are regenerated first

Appearances are rebuilt from the current field values before they are baked in, so text typed into a form that never redrew itself is still what lands on the page.

Nothing downloads on failure

Flattening removes fields one at a time, so a half-finished run would produce a still-editable file. If any field cannot be processed the whole operation is abandoned with an explanation rather than saved.

Frequently Asked Questions

What exactly does this flatten?

AcroForm fields, and only those: text boxes, checkboxes, radio groups, dropdowns, list boxes and signature-appearance widgets. Each one has its rendered appearance copied into the page content and is then removed from the form dictionary, so the page looks identical and nothing can be typed into it any more.

Does it flatten comments, highlights and sticky notes?

No. Markup annotations are separate objects from form fields and are left exactly as they are — still selectable, still deletable in a reader, still shown in the comments panel. If you need those fused into the page, the only reliable route is to re-render: convert with PDF to PNG at its 3x setting (216 DPI, the highest below the very expensive 6x) and rebuild using Image to PDF. That flattens absolutely everything, at the cost of turning your text into pixels.

Does it flatten layers or transparency?

No. Optional Content Groups (the layers panel in Acrobat and Illustrator-authored files) and transparency groups are untouched, and no colour conversion or overprint simulation happens. If a print shop has asked you to flatten transparency for their RIP, that is a pre-press operation this tool does not perform.

Why did nothing seem to change?

Because the document had no form fields to flatten — in that case the file is simply parsed and written back out. Check by opening it in a reader and looking for clickable boxes. Documents that only contain comments, or that were already flattened once, fall into this category.

It failed and no file was downloaded. What causes that?

Three things, in rough order of likelihood. The PDF is encrypted, so it cannot be parsed at all — run Unlock PDF first. A field contains characters its font cannot encode, which breaks appearance generation. Or a widget is not attached to any page, which happens with malformed forms produced by unusual generators. The download is suppressed deliberately so you never mistake a partially flattened file for a finished one.

Can I undo it?

Not from the flattened file — the field objects are gone and only their painted appearance remains. Keep the original. A practical habit is to save the filled but unflattened version alongside the flattened one, so you can correct a typo later without retyping the whole form.

Is flattening the same as protecting the document?

No, and it is worth being clear about it. Flattening stops casual editing through form controls, but the drawn content can still be altered by any competent PDF editor. If your goal is to stop people changing or copying the file, add encryption and permission restrictions with Protect PDF; if the goal is simply that the form cannot be re-typed and the values print reliably, flattening is the right tool.

Does the file get bigger, and does it stay searchable?

Size barely moves — the appearance streams already existed, they are just referenced from the page instead of from a widget. Text drawn by those appearances stays real text, so the filled values remain selectable and searchable, which is the main advantage over flattening by re-rendering to images.