Flatten a PDF — lock forms & annotations
Bake fillable form fields, comments, highlights and signature appearances into static page content. The output looks identical, but is no longer editable — perfect for legal submissions, signed contracts and archival storage.
PdfDocShift › Flatten PDF
✅ Flattened PDF ready to download!
Lock every interactive layer — in one click
When you flatten a PDF, every editable layer becomes static page content. Filled form fields are baked in, sticky-note comments and highlight markup are rendered onto the page, signature appearances are sealed, and link annotations are converted to plain visible content. The visible file looks identical to what you saw before — but nobody can change it after the fact. That is the standard format expected by courts, regulators, procurement portals and corporate archives.
More PDF tools, all free
Every PDF operation you need — one click away.
Four steps, done
No sign-up required. Files are encrypted in transit and auto-deleted after 2 hours.
What does it actually mean to "flatten" a PDF?
A normal PDF is more than just a static page — it carries a parallel layer of interactive objects: AcroForm widgets you can type into, sticky-note comments, highlight and strikethrough markup, freeform drawing, link annotations, signature placeholders. These objects sit on top of the visible page content. Flattening means rendering every one of those objects into the page itself and then removing them as live objects. The file you download looks identical, but a reader can no longer edit a field, delete a comment or rearrange a signature. This is the standard format expected for legal filings, signed contracts, regulatory submissions and document archival — anywhere the rule is "what you see must be what is stored, forever".
How to flatten a PDF form (and lock it down for good)
Filling a PDF form and emailing it is risky: the recipient can still open the file, change your answers, and resend it. Flatten PDF eliminates that risk in one step. Upload the filled PDF, click Flatten PDF, and you'll get back a file where every form widget — text fields, checkboxes, dropdowns, radio groups, list boxes — has been converted into normal page content. The visible values stay; the editable widgets are gone. Use this when you need to submit a tax form, return a signed contract, archive an HR onboarding packet, or send a finalised intake form. If you only want to fill the form in your browser before flattening, start with PDF Form Filler and tick its flatten toggle on download — same result, slightly different starting point.
When you should make a PDF non-editable
There are three common scenarios where flattening is essential. Legal & court filings: nearly every e-filing portal in the US, UK, EU and India requires that submitted PDFs be non-editable so the document of record matches what was filed. Signed contracts: once a contract is signed, the parties usually want a frozen copy that cannot be tampered with. Flattening locks both the signature appearance and any filled fields. Archival storage: if you're storing PDFs as the system of record (HR personnel files, finance vouchers, medical intake, regulatory reports), flattening protects the audit trail. Pair flattening with Protect PDF when you also need to add a password or print/copy restrictions on top of being non-editable.
Flatten PDF vs. Print to PDF — what is the difference?
Both produce a non-editable file, but the mechanism is very different. Print to PDF re-rasters every page: text becomes pixels and the resulting file is larger, no longer searchable, and unfriendly to assistive technology like screen readers. Flatten PDF keeps the underlying text as real text — you can still copy, search and screen-read the result. Only the live interactive layer is removed; the visible content of the page is preserved as vector-and-text PDF content. For everyday "lock this PDF" needs, Flatten PDF is the right choice. Use Print to PDF only when you specifically need to discard accessibility and searchability (very rare).
How Flatten PDF works behind the scenes
PdfDocShift runs your file through a two-stage pipeline. Stage 1 is Ghostscript with -dPrinted=true -dShowAnnots=true -dPreserveAnnots=false. Ghostscript renders the PDF exactly as if it were being printed — that means every annotation, comment, highlight, signature appearance and form widget is drawn onto the page — and the resulting pdfwrite output drops the live annotation dictionaries. Stage 2 is a pdf-lib post-pass that opens the Ghostscript output and calls form.flatten() on any AcroForm widget that survived. The output is a clean, non-editable PDF that opens identically in any reader (Acrobat, Preview, Chrome, Edge, mobile). Text remains searchable and selectable. Image fidelity is unchanged.
Flatten PDF questions
Everything you need to know about flattening, locking and finalising PDFs.
Flattening a PDF converts every interactive layer — fillable form fields, sticky-note comments, highlight and markup annotations, signature appearances, link annotations — into static page content. The visible result is identical, but the file no longer contains live, editable widgets. A flattened PDF is the standard format for legal submissions, archival storage, and any workflow where the document must not be changed after it is signed off.
PDF Form Filler's flatten toggle only flattens AcroForm widgets, and only after you've filled them in. Flatten PDF is the standalone tool: it flattens form fields whether they're filled or empty, and it also bakes annotations, comments, highlights, drawing markup and signature appearances into the page. Use Flatten PDF when you need a fully locked-down file regardless of which interactive elements are present.
Yes. The flatten pipeline renders the PDF exactly as it would appear when printed — including the visible values of every form field and the visible content of every annotation. Visually the file is identical to what you saw before flattening; only the live interactive objects are removed. The output is a regular PDF that opens in any reader (Acrobat, Preview, Chrome, mobile).
Yes — flattened PDFs are typically the preferred format for legal submissions and government e-filing. Most courts, regulators and procurement portals explicitly require non-editable PDFs so the document on file cannot be modified after the fact. Flatten PDF produces output that meets that requirement. (Always check the specific filing portal's requirements: a few systems also require PDF/A archival format, which is a separate transformation.)
No. Flattening removes interactive editability — the form fields and annotations are no longer live — but it does not encrypt the file or prevent someone from extracting its text or images. If you also need password protection or print restrictions, run the output through Protect PDF after flattening.
No. Flattening is intentionally a one-way operation. Once the interactive elements have been baked into the page, there is no way to recover the original editable widgets. Keep a copy of the source PDF before flattening if you might need to edit the fields again later.
Both produce non-editable output, but Print to PDF re-rasters everything: text becomes pixels and the resulting file is larger and no longer searchable. Flatten PDF preserves text as text — you can still copy, search and screen-read the result. Only the interactive objects are removed.
Yes. Files are uploaded over 256-bit SSL, processed in an isolated worker container, and permanently deleted from our servers after 2 hours. We never read, index or share your content.
Yes. Like every tool on PdfDocShift, Flatten PDF is completely free — no account, subscription or credit card required. The maximum file size is 200 MB per file with no daily usage limit.