Free tool · PDF tools
Flatten PDF
To flatten a PDF, load it and press Flatten and download: every filled form field, comment, highlight and stamp is drawn into the page itself, so it can no longer be edited, while the text stays sharp and searchable. For a fully locked copy, choose to turn every page into an image. Nothing is uploaded.
- Free
- No sign-up
- Runs in your browser
- Text stays sharp and searchable
- Example: choose a PDF to flatten yours
- Form field boxes
- 2
- Comments and marks
- 1
- Links
- 1, kept clickable
- File size
- shown after flattening
How to use the Flatten PDF
- Open the PDF with PDF file or drop it on the card; the result counts its form fields, comments and links.
- Keep Keep text sharp and tick what to flatten: Form fields, Comments, highlights and stamps, or both.
- For a copy where nothing at all can be edited, choose Turn every page into an image and a resolution.
- Press Flatten and download; the preview switches to page 1 of the flattened file.
What does flattening a PDF mean?
Flattening turns the layers that sit on top of a page into part of the page. A filled-in form field is an interactive box floating over the page; a comment, highlight or stamp is an annotation stored next to it. After flattening, what they show is drawn into the page content like any other text or line, and the boxes and notes themselves are gone, so nobody can type over a value or delete a highlight.
The look does not change. Each field and comment carries its own drawing, called an appearance stream in the PDF standard, and that exact drawing is what lands on the page. The test file used for this page has a name field filled with Ada Lovelace, a ticked check box and a red box comment; after flattening, the name can be found by searching the page text, which it could not before, and the file has no form left.
That search result is a useful test of its own. A field value is stored in the form, not in the page text, so a text extractor such as the one behind PDF to Text does not see it; once flattened, the value is ordinary page text that search, copy and screen readers pick up like the words around it.
Links are left alone, because flattening is about locking content, not breaking navigation. Pop-up note windows that belong to a flattened comment go with it, and items that were hidden in the file are removed without being drawn.
| Kind in the file | With both boxes ticked |
|---|---|
| Widget | flattened with Form fields |
| Highlight | flattened with Comments |
| Square | flattened with Comments |
| FreeText | flattened with Comments |
| Stamp | flattened with Comments |
| Ink | flattened with Comments |
| Link | kept, still clickable |
| Popup | removed with its comment |
How do I flatten a filled PDF form?
Load the filled form, keep Form fields ticked and download. Each field box is drawn where it was, at the size it had, with the value it showed. A field with no drawing of its own, which some programs leave to the reader, is drawn first in a standard font so its value is not lost; check those fields in the preview.
Check boxes, radio buttons and lists flatten in the state they show: a ticked box stays ticked, the chosen radio button stays chosen and a drop-down list shows its selected entry. Empty fields leave nothing behind but their border, if they had one, so the page looks the way it printed before.
Flatten a form before you send it when the receiver should not change your answers, when a portal asks for a non-fillable PDF, or when every program should show exactly the same values. Keep the unflattened copy if you may need to edit an answer later: the flattened file has no fields to fill in again.
Placement follows the algorithm in the PDF standard: the drawing's own box is mapped onto the field's rectangle. The table shows the matrix for a 100 x 40 point rectangle at 300, 600 in three cases the algorithm has to handle.
| Drawing | Matrix used |
|---|---|
| Box at 0,0, no turn | 1 0 0 1 300 600 |
| Box starting at 10,10 | 1 0 0 1 290 590 |
| Half-size box | 2 0 0 2 300 600 |
Keep text sharp, or turn pages into images?
Keep text sharp is the right choice for almost every file. Pages stay vector, text can be selected and searched, the file stays small, and only fields and comments change. Someone with a PDF editor could still edit the page content itself, as with any PDF.
Turn every page into an image redraws each page as a picture at the chosen resolution, exactly as a reader shows it, with a hidden copy of the text on top so search and copy still work for Latin-alphabet text. Nothing on the page can then be edited as text, links stop working, and the file is often larger. Choose it for documents that must look identical everywhere and resist casual editing.
For image mode, 200 DPI keeps normal print sharp at a moderate size; pick 300 DPI for small print, fine lines or a document that will be printed, and 150 DPI when the file only needs to be read on screen and must stay small.
Neither mode is redaction. Flattening keeps everything that is visible, so a value you want gone must be deleted before flattening, not after.
Can a flattened PDF be unflattened?
No. The fields and comments are removed from the file, and what remains is ordinary page content, so there is nothing for a program to turn back into a fillable field. That is why keeping the original matters; this page never changes the file you loaded.
Some files cannot be fully flattened. XFA forms keep their fields in a format browsers cannot draw, and the page says so when it finds one. A file with a digital signature can be flattened, but its signature will no longer verify, since any change breaks it. Hidden items are removed without being drawn.
A good order of work is fill, check, flatten, then send. If the file also needs page numbers or a watermark, add them after flattening, so the numbers and the mark sit on top of the final page rather than under a form box.
To mark a file as final, add a label across the pages with Add Watermark to PDF; to make a gray copy whose pages are pictures with searchable text, use Convert PDF to Black and White.
Use it with
- Merge PDF: combine several PDFs into one file.
- Edit PDF Metadata: change title, author, keywords.
- Delete PDF Pages: remove unwanted pages.
Questions
What does it mean to flatten a PDF?
Form fields, comments and stamps are drawn into the page itself, so they look the same but can no longer be edited or removed.
How do I flatten a PDF for free?
Load it here and press Flatten and download. No account, watermark or upload.
How do I flatten a fillable PDF so it cannot be edited?
Keep Form fields ticked and download. For a stricter lock, choose Turn every page into an image.
Does flattening a PDF reduce the file size?
Barely, with Keep text sharp: the drawings were already in the file. Turning pages into images often makes it larger.
Can you unflatten a PDF?
No. The fields and comments no longer exist in the flattened file, so keep the original if you may need to edit it.
Is my PDF uploaded to flatten it?
No. The file is read and rewritten in your browser and saved straight to your device.
How this page was made: the tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations were drafted with AI help and checked against the tool's own output.