Latch

Flatten a PDF

Lock a filled-in form so its answers can't be changed, or merge every layer, annotation and field down into the page so nothing can be pulled apart. These are two different jobs. The tool does both and labels them clearly, so you can pick the one you need.

Your files never leave this device
Lock this document down

Drag & drop your PDF

Accepts PDF · up to 150 pages, 100 MB

How to flatten a PDF

Four steps in the tool above.

1

Open your PDF

Drag your PDF onto the tool, or click Browse to pick it from your device.

2

Choose how much to flatten

Rasterise everything merges layers, annotations, comments and fields into the page. Flatten form fields only bakes in your answers and leaves the text as it was.

3

Flatten

Press Flatten and download. The work happens on your device, and a long document reports its progress a page at a time.

4

Download

Save the flattened copy. Your original file is never modified, so keep it if you might need an editable version.

Which mode should you pick?

Most tools ship one of these and call it "flatten". They do different jobs.

Property Rasterise everything Flatten form fields only
What it merges Everything: layers, annotations, comments, form fields, and anything hidden Filled-in form field values, and nothing else
Text afterwards Becomes an image that can't be selected, searched or read aloud Stays sharp, selectable and searchable
File size Usually larger, sometimes several times larger Roughly unchanged
Document metadata Dropped, because the file is rebuilt from scratch Kept exactly as it was
Best for Making a whole document uneditable before you send it on Locking a form you've just filled in

If you're not sure: you filled in a form and want the answers fixed → flatten form fields only. Anything else → rasterise.

What "flatten" means

A PDF is built from a stack of separate objects. There's the page content underneath, and then, layered over it, any form fields you filled in, sticky notes and comments, stamps and signatures someone dropped on, and optional layers a design tool left switched on. Each of those is still its own editable thing. Because of this, a form can be cleared with one click, a comment can be dragged somewhere else, and a document can look different in two viewers that disagree about which layers to show.

Flattening merges those separate objects down into the page so there's nothing left to move, edit or switch off. The document stops being a stack and becomes a single fixed thing. The two modes differ in how much of the stack they merge.

Rasterising: merge the lot

Every page is rendered to an image, and a new PDF is built from those images. No separate objects survive, because the page is now only pixels. Layers, annotations, form fields, metadata and anything hidden in the file are not carried across. No other method is as thorough, and it's the same pipeline that makes our PDF redaction safe.

The cost is real. The text stops being text. You can't select it, search it or copy a line out, and a screen reader has nothing to read, which matters if anyone you're sending it to relies on one. The file usually gets bigger, sometimes several times bigger. Don't rasterise a document just to lock a form.

Flattening form fields: merge only what you typed

Each field's rendered appearance is drawn into the page content, and the now-empty field is removed. The value you typed becomes ordinary page text: same font, same position, still sharp at any zoom, still selectable and searchable. The rest of the document is left alone, which is why the file size barely moves. Nobody can edit the values, clear the form, or tab through it afterwards, because there is no longer a form there.

This mode can't always be offered. When it can't, the tool tells you which of these it hit instead of switching to something else without saying so: the PDF has no form fields to bake in; its only fields are signature fields, which flattening would break; it's a dynamic XFA form; it's encrypted, which means its contents can't be rewritten in place; or some of its fields are hidden, and drawing those in would put values on the page that aren't visible today. Rasterising still works in all of these cases.

Flattening is not hiding

This is the point not to get wrong. Flattening locks content in and doesn't take anything out. Flattening a form makes your typed answers slightly easier to extract than they were, because they turn from field values into selectable page text. Rasterising does destroy the text layer, but everything you can still see on the page is merged into the pixels and stays there.

If your goal is that somebody should never see a name, a number or a clause, flattening is the wrong tool, and it will let you down without any warning. Black it out first with the PDF redaction tool, which removes the text instead of fixing it in place. Use flattening to stop a document changing, and redaction to remove something from it.

Frequently asked

What does flattening a PDF actually do?

A PDF is made of a stack of separate objects: the page content, plus any form fields, annotations, comments, stamps and optional layers drawn on top of it. Flattening merges those separate objects into the page itself, so there's nothing left to move, edit or switch off. What gets merged depends on the mode you pick: rasterising merges everything, while flattening form fields merges only the values you typed into the form.

Will my filled-in form data stay?

Yes. That's what flattening a form is for. Your answers stop being editable field values and become part of the page, so they display identically everywhere and nobody can change them or clear the form. Both modes keep them: rasterising paints them into the page image, and the form-fields mode draws them into the page content and then removes the empty fields.

Should I rasterise or flatten form fields only?

Flatten form fields only if you've filled in a form and want the answers locked. It keeps the text sharp, selectable and searchable, and the file stays about the same size. Rasterise if you want the whole document made uneditable, with layers, annotations, comments and anything hidden all merged down. Rasterising is thorough, but it destroys the text layer, so only use it when you want everything merged.

Will the text still be searchable?

It depends on the mode. Flattening form fields keeps every character as real text, so search, copy-and-paste and screen readers all keep working. Rasterising doesn't: every page becomes an image, so there's no text left anywhere in the file to search or select, and a screen reader has nothing to read. Losing the text is the cost of merging everything, and it's why the tool offers both modes.

Is my PDF uploaded anywhere?

No. The document is opened, flattened and rebuilt entirely in your browser. There's no upload endpoint to send it to. Once the page has loaded you can disconnect from the network and the tool still works.

Can flattening be undone?

Not from the flattened file. Once form fields have been merged into the page they're ordinary page content, and a rasterised page is an image with no structure left to recover. Nothing here modifies your original, though, so keep it if you might need an editable version later. Flattening is one-way by design, which is what makes the result stable.

Is flattening the same as redacting?

No, and the difference matters. Flattening locks content in and doesn't hide it. Flattening form fields makes your typed values easier to extract, because they become selectable page text instead of field values. Even rasterising, which does destroy the text layer, only removes what was already invisible. Anything you can see on the page is still there in the pixels. If you need something removed rather than fixed in place, black it out with the PDF redaction tool instead.

Can I flatten a password-protected PDF?

Yes, if you know the password. You'll be asked for it when the file opens, and it's used in your browser, like the file itself. Encrypted documents can only be rasterised, because baking values into an encrypted file's page content isn't possible without rewriting it wholesale. The tool switches the form-fields mode off and tells you why when it sees one.

Does flattening make the file smaller?

Usually the opposite, if you rasterise. A page of text stored as text is very compact; the same page stored as an image is not, so a rasterised document is often several times larger. Standard quality renders at 150 DPI and suits most documents; High renders at 300 DPI and is sharper but larger. Flattening form fields barely changes the size at all, because it adds a little page content and removes the field objects.

Related privacy tools: Redact a PDF · Redact an image · Remove photo metadata

Need to sign it first? Sign a PDF, then flatten the signed copy to fix its form answers in place.

Before you rely on any of these tools, read why covering something up isn't the same as removing it.