Flatten PDF
Choose a filled-in PDF form and flatten it: every field's current value becomes fixed page content and nothing stays editable — processed on your device.
- Free
- No account
- Runs in your browser
- Nothing uploaded
Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy
What is Flatten PDF?
Flatten PDF turns a fillable PDF form into a fixed document: whatever is shown in each form field — typed text, ticked boxes, chosen options — is drawn onto the page as ordinary content, and the fields themselves are removed. It is for sending a completed application, invoice or contract so that the recipient sees exactly what you filled in and cannot change it by clicking into a field, and for making forms display the same in every viewer, including ones that render form fields badly.
Choose a PDF and the tool first counts its form fields. A file with none is reported plainly — "has no form fields, so there is nothing to flatten" — and the button stays disabled, because there would be nothing to change. Otherwise, click "Flatten PDF". For every field, the appearance a viewer is currently showing is placed on its page at exactly the field's position, following the PDF rule for fitting a field's drawing into its rectangle. Fields marked hidden are removed without being drawn, as viewers do not show them either; so are fields set to appear on screen but not print, because page content always prints — the flattened file prints exactly as before, and the result tells you when this happened. An unticked check box with no drawing for its "off" state stays empty, as viewers show it. When a form asks viewers to redraw its text fields (a flag often set by browser form-filling) or a text field or list has no saved appearance, that appearance is regenerated in Helvetica first, and the result lists those fields so you can check them; values with characters Helvetica cannot show keep their saved appearance.
Then the whole interactive form is removed from the file, so no viewer offers anything to fill in. The rest of the document is left exactly as it was, because the file is edited in place: page text, images, bookmarks and links stay. Comments, highlights and stamps are annotations, not form fields, and this tool leaves them alone — the result tells you how many remain. Nothing is rasterised: the flattened values remain vector text, and our automated tests check that a flattened name and dropdown choice can still be extracted as text.
Flattening is about editing, not security. The values are no longer form fields, but the PDF is not encrypted or locked, so someone with a PDF editor can still change page content. A digital signature field is flattened like any other, and an existing signature stops validating because the file changed. Dynamic XFA forms (from Adobe LiveCycle) have no standard fields and cannot be flattened here. Password-protected PDFs are refused, and files up to 200 MB are accepted.
Your PDF is not uploaded. It is read and flattened inside your browser tab with pdf-lib; you can confirm in the Network tab of your browser's developer tools that no request carries the file. The site loads its own scripts and analytics, never your documents.
1. The file's signature is checked, pdf-lib opens it (encrypted and damaged files are refused), and the form fields are counted; an XFA layer, if present, is noted and removed. 2. Text fields and lists whose appearance is missing, or stale because the form sets NeedAppearances, are redrawn with Helvetica where possible. Check boxes and radio buttons are never redrawn: a state with no drawing stays empty. 3. Widgets that are hidden, or set not to print, are removed without being drawn. For every other widget of every field, its current normal appearance (for check boxes and radio buttons, the state named by /AS) is drawn into its page's content as a form XObject, positioned by mapping the appearance's BBox (transformed by its Matrix) onto the widget rectangle — ISO 32000-1 §12.5.5. 4. The widgets are removed from each page's annotation list, the AcroForm is deleted from the document, and the field objects are discarded; other annotations are kept and counted. 5. The file is saved as <name>-flattened.pdf.
Worked examples
- application.pdf with a text field ("Ada Lovelace"), a ticked check box, a dropdown set to "Green" and a two-button radio group → application-flattened.pdf with no form fields; 5 appearances drawn on the page and the typed name still in the drawn content.
- The same form plus a sticky-note comment → the comment is left in place and reported as 1 remaining annotation.
- A form with one extra field marked hidden → that field is removed without being drawn.
- A form whose /NeedAppearances flag is set → the text field and dropdown are redrawn in Helvetica and listed in the result.
- plain.pdf with no form at all → "has no form fields, so there is nothing to flatten"; the button stays disabled.
How to use Flatten PDF
- Fill in and save the form in your PDF reader first, if you haven't already.
- Click "Choose a PDF" or drop the filled PDF onto the box. The number of form fields appears next to the file name.
- Click "Flatten PDF".
- Read the notes under the result (redrawn fields, remaining comments), then click "Download" to save <name>-flattened.pdf.
Common errors
- "… has no form fields, so there is nothing to flatten" — the PDF has no fillable fields; it is already static. Comments and highlights are not form fields and are not changed by this tool.
- "… uses an XFA form (a dynamic form format from Adobe LiveCycle) with no standard form fields" — the form is XFA-only. Open it in Adobe Acrobat Reader and use Print → Save as PDF instead.
- A field looks different after flattening — it had no up-to-date appearance and was redrawn in Helvetica; the result names such fields. Fill and save the form in a PDF reader, then flatten again.
- "Nothing was drawn for …" — the file has no usable appearance for that field, so it is blank in the flattened copy. If it should show a value, fill and save the form in a PDF reader, then flatten again.
- "… is encrypted (password-protected or locked against editing)" — open the PDF with its password in a reader, save an unprotected copy, and flatten that.
FAQ
What does flattening a PDF do?
It turns form fields into ordinary page content: the values you see are drawn onto the page and the fields are removed, so nothing can be filled in or changed by clicking. The page looks the same as before.
How do I make a PDF form uneditable?
Fill in the form, save it, then choose it here and click "Flatten PDF". The downloaded copy has no editable fields — every value is part of the page.
How do I flatten a PDF without uploading it?
Use this tool: it runs in your browser, so the PDF is flattened on your own device and downloaded directly. No request carries your file, which you can confirm in your browser's developer tools.
Does flattening remove comments and annotations?
No. This tool flattens form fields only; comments, highlights and stamps are left as they are, and the result tells you how many remain. Links keep working too.
Will the text still be selectable after flattening?
Usually yes. Field values are drawn as vector text, not turned into an image, and our automated tests check that flattened values can still be extracted as text.
Does flattening a PDF make it secure?
Not on its own. It stops casual editing of form fields, but the PDF is not encrypted or locked, and a PDF editor can still change the page. A digital signature on the original stops validating after flattening.
Can I flatten a PDF on my phone?
Yes. Open this page in your phone's browser, choose the filled PDF from your files and tap "Flatten PDF". Nothing needs to be installed.
Related tools
- Merge PDFAdd two or more PDFs, put them in the order you want, and download one combined PDF — merged on your own device, never uploaded.
- Split PDFChoose a PDF, type the pages you want, and extract them, delete them, or split the file into separate PDFs — all on your own device.
- Compress PDFChoose a PDF, pick lossless clean-up or strong compression, and see the exact before and after size — compressed on your device, never uploaded.
- PDF to TextChoose a PDF, click Extract text, then copy the text or download it as a .txt file — read straight from the PDF on your own device.
Prefer AllUtil on Google
One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.