What flattening a PDF actually does
What does it mean to flatten a PDF?
Save your favourite tools
Create a free iBuildPDF account to keep your favourite tools and find them quickly anytime.
Free account. The PDF tools themselves never need one.
Short answer
A PDF keeps form fields, comments, stamps and signature appearances in a layer above the page rather than in the page. Flattening draws them into the page itself and throws the layer away. The document looks identical and is no longer interactive — which is usually exactly what you want when sending a finished form.
The layer above the page
The page content — the text and images that were there when the document was made — is one thing. Anything added afterwards is another: form field values, highlights and comments, stamps, and the visible appearance of a signature. Those live in separate objects attached to the page, drawn on top of it at display time.
What flattening collapses
- The page content: whatever was there when the document was made.
- Form field values, stored separately from the page and drawn on top of it.
- Annotations, stamps and the visible appearance of a signature.
- After flattening: one page. It looks the same and nothing on it can be clicked, edited or removed.
Flattening paints that layer into the page content and deletes the objects. Afterwards there is no field to type in, no comment to click, and no appearance that a different reader might draw differently — there is just a page.
Flatten PDF does this.
When you want it
- You filled in a form and the next person sees it empty. The commonest reason anyone ever hears the word. Some readers show field values; some print them and do not display them; some do neither. Flattening makes the answers part of the page, so every reader shows them. See how PDF forms work.
- You are sending a finished document and would rather the fields were not editable.
- A watermark needs to be harder to remove. An unflattened watermark is an object anyone can delete in seconds. Flattened, it is part of the page. Watermarking a PDF is honest about how far that protects anything: it makes removal harder, not impossible.
- Printing behaves oddly — annotations missing, or fields printing in the wrong place. Flattening settles it, because there is nothing left to interpret.
- A system rejects the upload. Some portals will not accept files containing interactive fields.
What it costs
It is one-way. There is no unflatten. The fields are gone, and the only way back is the file as it was before, so keep the original if anyone might need to change an answer.
Digital signatures do not survive. A cryptographic signature covers the document’s bytes; flattening changes them, so the signature is invalidated. The picture of the signature remains, which is worse than it sounds: the document still looks signed while no longer being verifiable. If a signature has to remain valid, do not flatten after signing. How to sign a PDF sets out the difference.
Comments stop being comments. Annotation text becomes part of the page — no longer listed, no longer searchable as a comment, no longer removable.
Accessibility can suffer. A labelled form field announces itself to a screen reader. Flattened, it is a picture of a box with some writing in it. For a document that must stay accessible, see what makes a PDF accessible.
What it does not usually cost is quality: flattening draws vector marks into the page rather than rasterising it. A tool that turns the whole page into an image is doing something more drastic, and will normally say so.
The order to do things in
Most flattening complaints are really ordering complaints. The sequence that works:
- Fill in the form — Fill PDF form.
- Add anything else that belongs on the page: a watermark, page numbers.
- Flatten — Flatten PDF.
- Sign last — Sign PDF. Anything done after signing breaks the signature.
And keep the unflattened original somewhere. It is the only copy anyone can correct.
Tools this article covers
Sources
Primary documentation for the claims above.