What does flattening a PDF actually do?
It is the fix for form fields that vanish and signatures that can be dragged off. It is also frequently mistaken for something it is not.
Layers, merged into the page
A PDF page can carry more than the page. Form fields, signature annotations, comments, stamps and highlights all live in a separate interactive layer that sits above the content — stored as data, drawn on top, and editable independently of everything underneath.
Flattening merges that layer into the page content and removes the interactivity. A form field holding the value "£4,200" becomes the characters £4,200 painted onto the page, at the same position, in the same font. It looks identical. It is no longer a field.
A flat PDF is simply one with nothing left in that layer — either because it never had anything, or because it has been flattened.
What flattening fixes
Four problems, all of them common enough that flattening is often the answer before anyone has diagnosed the cause.
- Form values that disappear. A field's displayed text is drawn from an appearance stream that some software fails to generate. The data is there; the reader is not rendering it. Flattening bakes the value into the page so every reader shows it.
- Signatures and stamps that can be moved. An annotation sitting above the page can be dragged elsewhere or deleted outright by anyone with an editor. Flattened, it is part of the page.
- Printing that drops the annotations. Some printers and readers treat the annotation layer as optional and omit comments or stamps. Flattened content always prints, because it is content.
- Forms that arrive still editable. Sending a completed form that anyone can retype is a real problem for anything financial or legal, and flattening is what turns a fillable form into a filled one.
What it does not do
This is where flattening gets misused, and the misunderstanding is expensive.
Flattening is not redaction. If you draw a black rectangle over a name and flatten the file, the rectangle becomes part of the page — and so does the name underneath it. The text is still there in the content stream, still selectable, still returned by anyone who copies from the file or runs it through an extractor. The page looks censored and the document is not. Real redaction removes the content rather than covering it.
Flattening also does not remove metadata. The author, the producing software and the timestamps live in the document's Info dictionary, not in the annotation layer, and flattening leaves them exactly where they were.
And it does not meaningfully shrink the file. Merging annotations into the page saves a trivial amount. If you are flattening to reduce size, you are thinking of a different operation — rasterising the pages — which does shrink files and destroys your text in the process.
It is not reversible
Once the interactive layer is gone, it is gone. There is no unflatten. A flattened form cannot be edited back into a fillable one, and a flattened comment cannot be replied to.
So the working habit is to keep the unflattened original and flatten a copy for sending. That is nearly always the right shape: you retain something you can revise, and the recipient gets something fixed.
When to reach for it
Flatten when a document is finished and about to leave your hands — a completed form going to an institution, a signed agreement, anything being archived where the values must not drift.
Do not flatten a working document, a form you may need to correct, or a file where someone still needs to comment. And never flatten as a substitute for redaction, which is the one case where the difference is not cosmetic.
Frequently asked questions
What does it mean to flatten a PDF?
Merging the interactive layer — form fields, annotations, signatures, comments — into the page content and removing the interactivity. The document looks identical afterwards, but the fields and annotations are now part of the page rather than editable objects on top of it.
Does flattening a PDF remove hidden text?
No. Flattening merges the annotation layer into the page; it does not delete page content. A black box drawn over text becomes part of the page and the text stays underneath, still selectable. That is redaction's job, not flattening's.
Can you unflatten a PDF?
No. The interactive layer is discarded, and there is nothing to restore it from. Keep the unflattened original and flatten a copy.
Does flattening reduce PDF file size?
Barely. The annotation layer is small. Significant size reduction comes from re-encoding embedded images, which is a different operation entirely.
Why do my form values disappear when I send the PDF?
The values are stored but the recipient's reader is not drawing them, usually because the appearance streams were never generated. Flattening bakes the values into the page so any reader shows them.
Should I flatten a form before submitting it?
For anything official, yes. Until it is flattened the values sit in editable fields that anyone can change, and earlier values can persist in the file's history.