Flatten a PDF

Turn filled form fields into ordinary page content so the document looks the same everywhere and cannot be edited by accident.

Flatten a PDF

Drop a PDF here

Or choose a file from your device

One PDF at a time · max 50 MB

Pages are copied or edited as PDF objects in this tab — nothing is uploaded.

    No PDF added yet.

    Three steps — nothing to install

    1. Add a PDF

      Drop one PDF or pick it from your device, up to 50 MB. If the file has no form fields, the page says so.

    2. Flatten the fields

      Press Flatten form fields. Each field's current appearance is drawn into the page as a fixed object.

    3. Download the flat PDF

      The form is no longer fillable, text stays selectable, and links and comments are left as they were.

    What flattening does here

    An interactive PDF form is a set of fields layered over the page. Each field holds a value and an appearance, and different viewers render those appearances in slightly different ways — which is why a form can look right in one app and have blank or shifted boxes in another. Flattening draws each field's current appearance into the page as fixed content, then removes the field and its widget annotation.

    The result opens identically everywhere, cannot be tabbed through or edited by clicking, and prints the way it looks. Text that was already part of the page stays selectable and searchable; the filled-in values become drawn content, so they are visible but no longer form data.

    Filled values, not an empty template

    The tool bakes what is currently in the fields, so fill the form first, save it, and flatten that copy. Flattening a blank template produces a blank page with no fields — which is occasionally useful as a preview, but it is not a form anyone can fill in later.

    Flattening is also not encryption or redaction. The page content can still be edited with a PDF editor, and a signature field that was flattened is a picture of a signature rather than a cryptographic signature. If a document has to be locked, that is a password-protection job; if information has to disappear, that is redaction.

    Signatures, XFA and what changes

    Any digital signature in the file stops verifying, because the document is rewritten. Flattening also removes the form structure, so a recipient can no longer correct a typo in a field or add an answer — that is the point, and worth saying before sending a flattened form back to someone who expected to fill it in.

    Some government and bank PDFs use XFA, an older XML form format that pdf-lib does not support. Those files can report no fields or lose their form layer; the page will say it found nothing to flatten rather than silently producing a broken form. Test one copy before flattening a batch of official documents.

    Frequently asked questions

    Are my PDFs uploaded anywhere?No. The file is read in this tab, the fields are baked in here, and the result is saved as a download.
    Does flattening make the PDF an image?No. It bakes form fields into the page; the rest of the document stays vector text and images, and existing text remains selectable.
    Can the form be filled in after flattening?No. The fields are removed. Keep the original if someone still needs to type into it.
    What happens to links and comments?They stay. Flattening removes form fields and their widget annotations; other annotations, including links, are left as they were.
    Why does it say there are no fields?The PDF has no AcroForm fields — it is already flat, or it uses XFA, which is not supported. An empty answer is more honest than writing a broken form.
    Does flattening remove metadata?No. Use Remove PDF metadata for that; this page only changes the form layer.