Skip to main content

Free Flatten PDF Tool – Lock Form Fields Online

Flatten a PDF online for free to lock filled form fields and remove comments or highlights. Make a signed form non-editable before sending it.

Written & reviewed by Helperzy Editorial Team · Updated July 2026

Lock Form FieldsRemove CommentsBurn In ContentNo UploadFree

Drop PDF or browse

PDF files up to 100 MB

100% Private

Everything runs in your browser. Nothing is uploaded to any server.

How to Use Flatten PDF

1

Upload Your PDF

Add the filled form or annotated PDF you want to lock. It loads directly in your browser with no server upload, and the tool reads the page count so it can report exactly what was flattened once the process finishes.

2

Choose What to Flatten

Keep the flatten form fields option on to burn typed values in and make the form non-editable, and turn on remove annotations to strip comments and highlights. You can run both together or pick only the one you need for this particular document.

3

Flatten & Download

Click Flatten and the tool renders fields into the page with pdf-lib and clears annotations, falling back gracefully if a malformed form cannot be flattened. Your locked PDF downloads at once, looking identical but no longer editable.

What Flattening a PDF Does and Why It Matters

Flattening a PDF permanently merges its interactive layers, filled form fields, comments, highlights, and sticky notes, into the fixed content of each page, so what everyone sees becomes what everyone gets. The reason this comes up so often is trust. When you fill an interactive form, the values you typed technically float in an editable layer on top of the page, and anyone with a PDF reader can change them afterwards. Flattening burns those values into the page as static ink, so a signed authorisation, a completed application, or an approved invoice cannot be quietly altered after you send it. The people who rely on this are HR staff finalising onboarding forms, finance teams locking signed approvals, freelancers sending completed contracts, and anyone emailing a filled government form that must not be tampered with. There are two separate mechanisms at work, and this tool exposes both. For form fields it calls pdf-lib's form flatten method, which renders each field's current appearance, the text you typed, the box you ticked, the option you picked, directly into the page content and then removes the interactive widget, leaving a page that looks identical but is no longer fillable. For markup like comments and highlights, which live in a page's annotations rather than its form, the tool removes each page's annotation array, so sticky notes and highlighter strokes that floated above the text disappear cleanly. Because flatten can throw on some malformed forms, the tool wraps that step in a guard: if it fails, it still removes annotations and tells you plainly that the form fields could not be flattened, rather than showing a crash. Here is how a run looks. Imagine a one-page leave-application form you filled in, with your name, dates, and a ticked approval box, plus a yellow highlight a colleague added over the policy note. You upload it, leave both options on, and click Flatten. The tool renders your typed name and the ticked box into the page so they are now permanent ink, strips the highlight annotation, and hands you a downloadable PDF that displays exactly as before but where clicking a field does nothing, because there is no longer a field to click. The status line confirms what happened: form fields flattened and annotations removed from one page. If the form had been built with a broken field definition, the tool would instead report that annotations were removed but the fields could not be flattened, so you always know the real outcome. The practical cases are everywhere. A hiring manager flattens a signed offer letter so the salary figure cannot be edited in transit. A landlord flattens a completed tenancy form before emailing it to a tenant, ensuring the agreed terms stay fixed. A student flattens a scholarship application with review highlights removed so the assessor sees a clean submission. A small-business owner flattens a signed quote before sending it to a client, which makes it far harder for anyone to later claim a different price was agreed. In each case flattening is the step that turns a working, editable draft into a final, tamper-resistant document. A few things are worth understanding before you flatten. The action is one-way: once fields are burned in, they cannot be turned back into editable fields, so keep your original if you might need to change values later. Flattening a digitally signed PDF will invalidate that signature, because the signature covers the exact bytes of the file and flattening rewrites them, so the tool warns you first. Flattening is also not redaction: it locks and removes interactive layers, but any text already sitting in the page content stays fully readable and copyable, so if your goal is to hide sensitive information you need a redaction tool instead. Everything here runs in your browser through pdf-lib, so a signed contract or a personal form is processed entirely on your device and never uploaded to a server.

Examples: Flatten PDF

Input

A one-page leave form with typed name, a ticked approval box, and a colleague's yellow highlight

Result

A PDF where the name and tick are permanent ink, the highlight is gone, and no field can be clicked

The form fields are rendered into the page and the annotation is removed, turning an editable draft into a fixed final document.

Input

A PDF built with a malformed form field, flattened with both options on

Result

A file with annotations removed and a clear message that the form fields could not be flattened

The guard around the flatten step reports the partial result instead of crashing, so you always know the real outcome.

Frequently Asked Questions – Flatten PDF

Flattening merges a PDF's interactive layers into the fixed page content. Filled form fields become permanent static text, and comments or highlights are removed. The page looks the same but is no longer editable, which is what people want before emailing a signed or completed document.