How to Flatten a PDF — What It Means & Free Methods (2026)
By PDFKits Team — Published July 2, 2026
What Does Flattening a PDF Mean?
Flattening a PDF means merging all interactive layers and elements into a single, static layer. A standard PDF can contain multiple layers: the base document content, form fields that users can type into, annotations and comments, digital signatures, embedded multimedia, and other interactive elements. When you flatten a PDF, all of these separate layers are permanently merged into the base content layer, creating a simple, static document.
Think of it like printing a document on paper. Once printed, you cannot interact with the form fields or delete individual annotations — everything becomes part of the single page. Flattening does the same thing digitally: the content looks exactly the same, but the interactive elements become permanent, non-editable parts of the page.
Before flattening, a PDF form might have editable text fields, clickable checkboxes, and removable sticky notes. After flattening, the text appears in the fields, checkboxes show their checked or unchecked state, and sticky notes become permanent visual elements — but none of them can be modified, moved, or deleted.
Why Flatten a PDF?
There are several important reasons to flatten a PDF before sharing, printing, or archiving:
Printing consistency: Flattened PDFs print reliably on every printer. Interactive elements, form fields, and annotations sometimes cause printing issues — they may not appear, appear incorrectly, or overlap with other content. Flattening eliminates these risks.
Security and tamper prevention: Once flattened, form entries and annotations cannot be changed. This is critical for contracts, legal documents, and official submissions where you need to prevent any modification after signing or approval.
Reduce file size: Interactive form fields, embedded fonts for form elements, and annotation data add to a PDF's file size. Flattening can significantly reduce the file size by removing this overhead. For further size reduction, see PDFKits Compress PDF.
Compatibility across viewers: Not all PDF readers handle interactive elements the same way. Some viewers may not display form data, annotations, or layers correctly. A flattened PDF looks identical in every viewer because it contains only static content.
Legal and professional submissions: Many courts, government agencies, and professional organizations require flattened PDFs for official submissions. This ensures the document cannot be altered after filing.
Long-term archiving: For permanent document storage, flattened PDFs are more reliable because they do not depend on software features that may change or become unsupported in the future. Consider using PDFKits PDF/A Converter for archival-standard documents.
Method 1 — Flatten by Printing to PDF (Universal, Free)
The most universal method for flattening a PDF works on every operating system and requires no special software. This "print to PDF" trick works because the print process renders all interactive elements as static content:
On Mac
Open the PDF in Preview, Safari, or any PDF viewer.
Go to File → Print or press Cmd+P.
Click the PDF dropdown in the bottom-left corner.
Select Save as PDF.
Choose a new filename (do not overwrite your original) and save.
On Windows
Open the PDF in Microsoft Edge, Chrome, or any PDF viewer.
Press Ctrl+P to open the Print dialog.
Select Microsoft Print to PDF as the printer.
Click Print and choose a save location.
In Any Browser
Open the PDF in your browser (drag it into a Chrome or Firefox window).
Press Ctrl+P (Windows) or Cmd+P (Mac).
Set the destination to Save as PDF.
Click Save.
This method is free, requires no installation, and works with any PDF. The resulting file will have all form fields, annotations, and interactive elements permanently rendered into the static page content.
Method 2 — Flatten a PDF with PDFKits
For a more streamlined experience with additional optimization options, use the PDFKits Optimize PDF tool:
The tool flattens all interactive layers and optimizes the file structure.
Download the flattened PDF.
PDFKits processes everything locally in your browser, so your documents remain private. This tool also optimizes the internal PDF structure, which can result in smaller file sizes compared to the print-to-PDF method. For documents that need to meet archival standards, use PDFKits PDF/A Converter which creates ISO-standard archival PDFs with all interactive elements flattened.
You can also use PDFKits Clean Metadata to remove hidden metadata from your PDF before or after flattening, ensuring no sensitive information remains in the file properties.
Method 3 — Flatten on Mac with Preview
Apple Preview on macOS offers a quick flattening method through its export feature:
Open the PDF in Preview.
Go to File → Export as PDF.
Choose a filename and save location.
Click Save.
Preview's Export as PDF function removes most interactive elements including form fields, annotations, and markup. However, it may preserve some elements like hyperlinks depending on the macOS version. For guaranteed complete flattening, use the print-to-PDF method or PDFKits.
When Should You Flatten a PDF?
Flatten a PDF in these situations:
Final versions of documents: When a contract, report, or form is complete and no further changes should be made.
Legal and court filings: When submitting documents to courts or regulatory agencies that require non-editable PDFs.
Print-ready files: Before sending documents to a professional printer to ensure all elements render correctly.
Archiving: When storing documents for long-term reference where editability is not needed.
Sharing completed forms: After someone fills out a form, flatten it to lock in their responses before filing or forwarding.
Do not flatten in these situations:
Work in progress: If the document is still being edited or reviewed, keep it interactive.
Fillable forms for distribution: If you are sending a blank form for others to fill out, do not flatten it — they need the interactive fields.
Collaborative documents: If multiple people need to add annotations or comments, keep the document interactive until all feedback is collected.
To protect a PDF from editing without flattening it, consider using PDFKits Protect PDF to add password protection instead.
What Gets Removed When You Flatten?
Understanding exactly what flattening removes helps you decide when and whether to flatten:
Form fields: Text inputs, checkboxes, radio buttons, dropdowns, and signature fields become static. The data entered in these fields is preserved visually but can no longer be edited.
Annotations and comments: Sticky notes, text highlights, underlines, strikethroughs, and comment threads become permanent visual elements on the page.
Layers: PDFs can contain multiple layers (like a Photoshop file). Flattening merges all visible layers into one.
Hyperlinks: Some flattening methods remove clickable links, while others preserve them. The print-to-PDF method typically removes links; dedicated tools may preserve them.
Embedded multimedia: Audio, video, and 3D content embedded in a PDF are removed or rendered as static images during flattening.
The easiest free method is to open the PDF in any browser or PDF viewer, press Ctrl+P (or Cmd+P on Mac), select "Save as PDF" as the destination, and save. This renders all interactive elements as static content. You can also use PDFKits Optimize PDF for a one-click solution with additional optimization.
What is the difference between flattening and compressing a PDF?
Flattening merges interactive layers (forms, annotations, comments) into a static document. Compressing reduces the file size by optimizing images, fonts, and internal data structures. They are different operations but can be done together — flattening first, then compressing with PDFKits Compress PDF.
Does flattening a PDF reduce file size?
Often yes, but not always. Flattening removes the overhead of interactive form fields, embedded fonts for form elements, and annotation data, which can reduce file size. However, if the PDF has minimal interactive elements, the size difference may be negligible. For significant size reduction, use a dedicated compression tool.
Can you unflatten a PDF?
No. Flattening is a one-way process. Once interactive elements are merged into the static content layer, they cannot be separated back into editable form fields or removable annotations. Always keep a copy of the original interactive PDF before flattening.
How do I flatten a PDF on Mac?
Open the PDF in Preview, then go to File → Export as PDF and save with a new name. Alternatively, use File → Print → PDF → Save as PDF for more complete flattening. Both methods are built into macOS and require no additional software.