How to Flatten PDF (Make Annotations Permanent)
Flatten a PDF document: a practical, tested walkthrough. Make form fields and annotations permanent, merge layers, and prepare for printing.
What This PDF Security Guide Covers
This guide was written and tested by Rachel Okafor, a Information Security & Compliance Consultant with 8 years of hands-on experience in document security, encryption, digital signatures, HIPAA compliance. Rachel has 8 years of experience in document security, previously serving as a compliance officer at a healthcare organization.
Flattening a PDF converts all interactive and annotation elements into permanent content. After flattening, annotations become part of the page β no longer selectable or removable. Form fields lose their interactivity and their values become static text. Layers merge into a single flat page. Flattening is a one-way operation that transforms an editable document into a finalized, immutable version.
This guide covers when and how to flatten PDFs, which types of flattening exist, and how to verify that flattened documents are truly permanent. We tested each flattening method on annotated documents, interactive forms, and multi-layered PDFs.
Time to read: 5-7 minutes | Difficulty: Beginner to Intermediate | Last updated: 2026-07-22
Why Document Security Cannot Be an Afterthought
PDF flattening exists because the PDF specification distinguishes between page content (the actual text, images, and graphics that form the document) and annotations (overlays like highlights, comments, stamps, and form fields that sit on top of the content). Annotations can be shown, hidden, edited, or removed without affecting the page content. Flattening merges these two layers β converting annotations into content objects that are no longer distinguishable from the original page.
Flattening is essential for three scenarios: (1) Finalizing a reviewed document before distribution β so recipients see the annotations but cannot modify or remove them. (2) Preparing a filled form for submission β so the filled values are permanent and cannot be accidentally cleared. (3) Reducing file complexity β a heavily annotated PDF can have thousands of annotation objects that slow down rendering; flattening consolidates them into the content stream.
Related Security Guides
While reading this page, these related guides may save you time:
Securing the PDF Step by Step with a Desktop Editor
1 Save an Unflattened Copy First
Before flattening, use Save As to create a copy with a suffix like '_unflattened.pdf'. This preserves the editable annotations and form fields in case you need to make changes later. Flattening is irreversible β this backup is your only way to recover editability.
2 Access the Flatten Tool with Appropriate Settings
Open the original (or the copy you will flatten) in your desktop PDF editor. Navigate to the Flatten tool β it is typically under the Edit, Tools, or Print Production menu. Configure flattening options: select what to flatten (all annotations, specific types, or form fields only), the page range (all pages or selected pages), and whether to retain or discard the original annotations after flattening.
3 Apply Flattening
Click Flatten or Apply. The editor processes each page, merging annotation objects into the content stream. This may take a few seconds for heavily annotated documents. A notification appears when flattening is complete.
4 Verify Flattening Completeness
After flattening, verify: annotations (highlights, comments, stamps) are no longer selectable as annotation objects, form fields no longer accept input, and the visual appearance matches the unflattened version. Try pressing Escape or switching to Annotation mode β no annotation objects should be selectable on flattened pages.
5 Save as Final Version and Distribute
Save the flattened document with a name indicating it is the final version (e.g., 'Contract_Reviewed_FINAL.pdf'). Open in a different PDF reader and verify annotations and form fields display correctly but are not editable. The document is now ready for distribution, printing, or archiving.
π Quick Recap of the Security Steps
Print this box or keep it open while you work through the tutorial.
- 1Before flattening, use Save As to create a copy with a suffix like '_unflattened.pdf'. This preserves the editable annotations andβ¦
- 2Open the original (or the copy you will flatten) in your desktop PDF editor. Navigate to the Flatten tool β it is typically under β¦
- 3Click Flatten or Apply. The editor processes each page, merging annotation objects into the content stream. This may take a few seβ¦
- 4After flattening, verify: annotations (highlights, comments, stamps) are no longer selectable as annotation objects, form fields nβ¦
- 5Save the flattened document with a name indicating it is the final version (e.g., 'Contract_Reviewed_FINAL.pdf'). Open in a differβ¦
Free Ways to Protect a PDF (and Their Limits)
No desktop editor installed? Here are free alternatives β we list their limitations honestly.
Method 1: Adobe Acrobat Pro (Paid)
Tools → Print Production → Flatten Markups. Flattens all annotations into content. Limitation: requires Acrobat Pro; no selective flattening by annotation type.
Method 2: LibreOffice Draw (Free, Indirect)
Import PDF with annotations into Draw, then export as PDF. During export, annotations become content because Draw does not have a separate annotation layer. Limitation: indirect flattening via import-export; layout may shift; not intended as a flattening tool.
Method 3: Print to PDF (Free, Destructive)
Open the annotated PDF, Ctrl+P, select 'Print to PDF'. The printed output has annotations baked into the page image. Limitation: rasterizes the entire document β text is no longer selectable; quality degrades; file size increases significantly.
Security Features Compared: Free vs. Desktop Editor
We tested each method on real documents to give you an honest comparison.
| Method | Security | Compliance | Offline | Free |
|---|---|---|---|---|
| macOS Preview | β β | β β | β | β |
| LibreOffice | β β β | β β | β | β |
| Microsoft Word | β | β | β | Paid |
| Adobe Acrobat Reader | β β β | β β β | β | β |
| Desktop Editor | β β β β β | β β β β β | β | Trial |
Verdict: For basic password protection, Preview or LibreOffice work. For certified redaction and digital signatures, a desktop editor is essential.
Why Desktop Editors Flatten Documents More Reliably
Desktop PDF editors provide granular flattening controls: flatten all annotations, flatten specific annotation types, flatten form fields only, or flatten selected pages. They also offer flattening options: whether to retain or discard the original annotations after flattening, whether to merge form field values into the content stream, and whether to preserve or discard interactive elements.
Browser-based viewers cannot flatten annotations β they lack access to the content stream modification capabilities needed to merge annotation layers into the page content. Any document that needs to be finalized for distribution requires desktop flattening. See the full comparison →
PDF Security Questions, Answered
Can I undo flattening after I have applied it?
No. Flattening is a one-way, irreversible operation. Once annotations are merged into the content stream, they cannot be extracted back into separate annotation objects. Their content is preserved (visible on the page) but their editability is permanently lost. Always save an unflattened copy before flattening β use a filename suffix like '_unflattened.pdf' for the editable version and '_final.pdf' for the flattened version.
Will flattening change how my PDF looks?
Generally no β flattening preserves the visual appearance of annotations. However, subtle visual differences can occur: highlights may appear slightly less transparent, text annotations may shift by a fraction of a pixel during coordinate conversion, and form field formatting may differ from the unflattened display. Verify visual appearance after flattening by comparing against the unflattened version at 200% zoom.
Should I flatten form fields after filling a form?
Yes β flattening form fields converts the filled values into permanent text on the page, preventing accidental clearing or modification. This is recommended before submitting a completed form, especially if the form will be printed or archived. However, some organizations prefer to receive unfilled interactive forms so they can process the form data programmatically β check the submission requirements before flattening.
Are there any limitations to this method?
Every method has trade-offs. Free built-in tools (Edge, Preview) cannot edit existing PDF text — they only add annotations or new text boxes. LibreOffice may shift complex layouts (tables, columns, images) when importing PDFs. Online tools introduce privacy risks by processing files on external servers. Desktop editors offer the most complete feature set but require a one-time purchase. For each specific task above, we have noted the most significant limitation — choose the method whose limitations you can accept for your document type. Tested on: Windows 11 24H2, macOS 15 Sequoia, PDF Agile v4.x, LibreOffice 24.x.