How to Flatten a PDF on Mac (2026 Complete Guide)
Learn how to flatten a PDF on Mac to remove editable form fields and annotations. Methods using Preview, Print to PDF, and online tools.
You filled out a PDF form, added some annotations, and now you want to lock everything in place so nobody can accidentally edit it. That is exactly what flattening does. It takes all the interactive elements, form fields, comments, and annotations and bakes them into the page as regular content. The result is a clean, static PDF that looks the same everywhere.
What Does Flattening a PDF Actually Do?
When you flatten a PDF, you are converting all the dynamic layers into a single, static layer. Think of it like taking a photo of a whiteboard instead of leaving the markers there for anyone to move. Specifically, flattening handles:
- Form fields: Text you typed into fillable fields becomes regular text on the page. The fields themselves disappear.
- Annotations: Sticky notes, highlights, and comments get merged into the page content.
- Digital signatures: Visual signature appearances become static images.
- Layers (OCGs): Optional content layers merge into one visible layer.
The key thing to understand is that flattening is a one-way street. Once you flatten, you cannot un-flatten. The form fields are gone, the annotations are baked in, and there is no going back. Always keep a copy of the original.
Method 1: Print to PDF (Easiest, No Extra Software)
This is the simplest way to flatten a PDF on a Mac, and it works with any application that can print. The trick is to "print" the PDF to a new PDF file:
- Open your PDF in Preview or any PDF viewer.
- Press Command+P to open the print dialog.
- Click the PDF dropdown button in the bottom-left corner of the print dialog.
- Select Save as PDF.
- Choose a filename and location, then click Save.
The resulting PDF is a flat, static file. All form fields are converted to regular text, annotations become part of the page, and there are no more interactive elements. This method works in almost every situation and requires zero extra software.
Limitations of Print to PDF
There are a couple of catches. First, the file size might increase because macOS re-renders the entire PDF during the print process. Second, any bookmarks, links, or table of contents entries from the original file will be lost. If you need to preserve those, use a different method.
Method 2: Using Preview with Export
Another built-in approach that sometimes works better than Print to PDF:
- Open your PDF in Preview.
- Go to File > Export.
- Choose PDF as the format (it should be selected by default).
- Optionally, reduce the Quartz filter to "Reduce File Size" if you want a smaller output.
- Click Save.
This does not always flatten everything the way Print to PDF does. Form fields might remain interactive depending on how the PDF was created. If the export method does not flatten your file completely, fall back to the Print to PDF method.
Method 3: Online Flattening Tools
If you want a tool specifically designed for flattening, several online services handle it cleanly:
PDF24 Tools
- Go to tools.pdf24.org and search for "flatten PDF."
- Upload your PDF.
- Click Flatten to process.
- Download the flattened file.
PDF24 does exactly what it says. No extra options to confuse you, just upload, flatten, and download. Completely free with no watermarks.
Sejda PDF
- Visit sejda.com/flatten-pdf.
- Upload your file or drag and drop it.
- Click Flatten PDF.
- Download the result.
Sejda handles files up to 200 pages or 100MB on the free plan. It preserves the visual layout while removing all interactive elements. Good option if you need to flatten a longer document.
Method 4: Using the Command Line
For developers or anyone comfortable with Terminal, you can flatten PDFs programmatically using Ghostscript:
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dNoOutputFonts -sOutputFile=flattened.pdf input.pdfA more thorough flatten that also handles annotations:
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPrinted=true -dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile=flattened.pdf input.pdfInstall Ghostscript with brew install ghostscript if you do not have it already. This method is ideal when you need to flatten many files in a row or want to automate the process as part of a workflow.
Method 5: Third-Party Mac Apps
If you work with PDFs daily and need more control:
- PDF Expert: Open the PDF, go to File > Flatten. Gives you the option to flatten annotations only or everything. Clean and fast.
- Adobe Acrobat Pro: The gold standard. Advanced > PDF Optimizer > Discard Objects > Flatten form fields. Most thorough flattening available, but requires a paid subscription.
- PDFtk (command line): Free tool that can flatten forms specifically. Install with brew install pdftk and run:
pdftk input.pdf output flattened.pdf flatten.
When Should You Flatten a PDF?
Flattening makes sense in several situations:
- Submitting forms: Many government and institutional forms require flattened PDFs so the recipient sees exactly what you filled in, with no risk of accidental edits.
- Archiving: Flattened PDFs are more stable for long-term storage. No dependencies on fonts, JavaScript, or form technology that might not be supported in future readers.
- Sharing with annotations: If you annotated a document and want to make sure the recipient sees your notes regardless of which PDF reader they use, flatten first. Check out our guide on adding sticky notes to PDFs for annotation tips.
- Printing consistency: Some printers struggle with interactive form fields. A flattened PDF prints reliably every time.
- Reducing compatibility issues: Interactive elements can render differently across PDF readers. Flattening eliminates this problem.
When NOT to Flatten
Avoid flattening when:
- You or someone else still needs to edit the form fields.
- The PDF contains interactive features like buttons, dropdowns, or calculations that need to keep working.
- You need to preserve the document structure for accessibility (screen readers). Flattening can remove tagging information.
- You want to keep bookmarks and hyperlinks intact. Print to PDF strips these out.
Quick Comparison
- Print to PDF: Fastest, built into macOS, works 95% of the time. Loses bookmarks.
- Online tools (PDF24/Sejda): Purpose-built for flattening, handles edge cases better. Requires upload.
- Ghostscript: Best for batch processing and automation. Requires Terminal comfort.
- PDF Expert/Acrobat: Most control over what gets flattened. Worth it for daily use.
For most Mac users, the Print to PDF method is all you need. It takes about five seconds and handles the vast majority of flattening scenarios. If you run into an edge case where it does not work, try an online tool or Ghostscript.