PDFApr 17, 2026 ยท Updated Oct 14, 2026 ยท 3 min read

How to Flatten a PDF (2026)

What flattening a PDF actually does, tested: our PDF Flattener turned a filled form's 2 fields into ordinary page text, kept the web link clickable and the text searchable. Plus when to flatten, why it breaks digital signatures, and what it does not protect against.

๐Ÿ“ƒ
Try the PDF Flattener
Free, preserves quality
โ†’
DG
Derek Giordano
Designer & Developer
In this guide
01What Flattening Does02When to Flatten03Flattening and Signatures04What Flattening Does Not Do

What Flattening Does

A PDF can carry interactive layers on top of its page content: form fields, comments, highlights, stamps and drawn signatures. Flattening paints what those layers show into the page itself and removes the interactive objects, so the page looks the same but the fields can no longer be filled in or changed in a form viewer.

We tested our PDF Flattener in Chromium on a form with a filled text field ("Ada Lovelace"), a ticked checkbox and a web link, using its default Keep Text mode, and inspected the result with pypdf and pdftotext:

CheckedBeforeAfter
Form fieldsmember_name, newsletternone
Field widgets on the page20
Web links11
Filled value as page textno (it lived in the field)yes
Body text searchableyesyes
File size7,100 bytes7,094 bytes

The fields were gone, their values became ordinary page text that search and copy can find, the link stayed clickable, and the body text was untouched. The tool's other mode rasterizes each page into an image, which also flattens everything but loses selectable text, so use it only when a recipient must not be able to copy the text.

When to Flatten

Flattening and Signatures

Two different things are called signatures. A drawn or typed signature placed as an annotation is flattened into the page like any other markup. A digital signature, the cryptographic kind that viewers verify, is different: any change made by rewriting the file after signing, flattening included, makes that signature show as invalid. Flatten first, then sign digitally if you need both.

What Flattening Does Not Do

Flattening is not protection against editing: anyone with a PDF editor can still change page content, and the original field data is gone rather than locked. If you need to prove a document has not been altered, use a digital signature; if you need to stop copying, password protection with restricted permissions is the tool, with the caveat that many programs ignore those permissions.

Frequently Asked Questions

Can a flattened PDF be unflattened?+
No. Flattening is destructive โ€” the editable elements are merged into the page content and can't be separated back out. If you need to retain the ability to edit form fields or remove annotations, keep the original file before flattening.
Does flattening reduce PDF file size?+
Usually only slightly, because the field objects are replaced by page content. Our test form went from 7,100 to 7,094 bytes. Large files are large because of images, which flattening in Keep Text mode does not change.
Will flattening affect how the PDF looks?+
No โ€” a properly implemented flattener preserves visual appearance exactly. The page looks identical before and after. If you notice quality changes, the flattener may be rasterizing pages unnecessarily; try a tool that preserves vector content.
Can I fill a flattened PDF form?+
No. Flattening removes the form fields; in our test both fields and their page widgets were gone afterwards. Keep an unflattened copy if the form may need to be filled again.
Does flattening remove metadata?+
No. In our test the title, author and subject were kept; only the producer and modification date changed, because the file was rewritten. Use a metadata editor if you need to clear document properties.
Try it yourself

Free, preserves quality

โšก Open PDF Flattener
DG
Derek Giordano
Written by the creator of Ultimate Design Tools. BA in Business Marketing.