Back to glossary

PDF Flattening

PDF flattening is the process of converting interactive, layered, or separately editable PDF elements into fixed page content that becomes part of the document’s visible layout.

Updated
PDF Flattening glossary signal map Prompt Answer Citation Signal

PDF flattening is the process of converting interactive, layered, or separately editable PDF elements into fixed page content that becomes part of the document’s visible layout.

For example, flattening a completed form can turn a fillable name field into ordinary page text. The entered name remains visible, but users can no longer click the field, replace its value, or export it as structured form data.

Flattening can make a PDF display more consistently, prevent accidental changes to completed fields, and improve compatibility with printing or document-processing systems. However, it does not necessarily make the entire PDF uneditable, protect confidential information, or prove that the document has not been altered.

What a flattened PDF contains

A PDF can contain more than the text and images visible on its pages. It may also include form controls, comments, optional content layers, embedded scripts, signature fields, accessibility tags, attachments, and metadata.

Flattening usually takes the visible appearance of selected elements and incorporates that appearance into the page’s regular content. The original interactive object is then removed or disabled.

The exact result depends on the software and method used. There is no single flattening operation that behaves identically across every PDF tool. Some tools flatten only form fields, while others process annotations, layers, or the entire rendered page.

A flattened PDF can therefore still contain:

  • Selectable and searchable text
  • Editable page objects
  • Metadata or attachments
  • Bookmarks and hyperlinks
  • Hidden content or scripts
  • Accessibility tags
  • Unflattened annotations or fields

Flattening should not be treated as a general security or sanitization command.

PDF elements that may be flattened

Different flattening methods can target different parts of a document:

  • Form fields: Text boxes, checkboxes, radio buttons, dropdown menus, and calculated fields become visible page content. The document is no longer a functioning fillable PDF.
  • Annotations: Highlights, drawing marks, stamps, and visible comment symbols can be merged into the page. Their author names, timestamps, replies, or hidden note text may not be preserved.
  • Layers: Optional content groups can be merged according to their current visibility settings. Content on disabled layers may be excluded rather than made visible.
  • Signature appearances: A visible signature image or mark may be incorporated into the page, but this does not preserve every type of signature data.
  • Transparency: In print production, transparency flattening divides transparent artwork into combinations of vector and raster content. This is a specialized process and does not necessarily flatten forms or comments.
  • Entire pages: Printing to a new PDF or rasterizing pages can create a visually fixed copy, sometimes at the cost of text search, accessibility, image quality, or file size.

Because the word “flatten” can refer to several different operations, users should confirm what a particular tool will process.

When flattening is useful

Flattening is commonly used when a document’s visible state needs to remain consistent across viewers, printers, or upload systems.

For example, an organization might flatten a completed intake form before archiving it so that the entered values cannot be accidentally cleared. A designer might flatten review stamps and approved annotations before distributing a final proof. A document sender might flatten unsupported fields before importing a PDF into another workflow.

It can also help when:

  • A PDF displays differently between applications
  • Form values disappear during printing
  • Comments must appear directly on the printed page
  • A receiving system does not support interactive PDF features
  • A completed copy should no longer invite further form input

Flattening is most useful as a compatibility and presentation step. It is not, by itself, evidence of document integrity or signer identity.

Effects on forms, accessibility, and signatures

Flattening can permanently remove useful document behavior, so its effects should be considered before the original file is replaced.

For forms, flattening normally removes field controls, validation rules, calculations, buttons, and data-export capabilities. The values may remain visible, but they are no longer stored as usable field entries.

For annotations, only the rendered appearance may survive. A sticky note icon might remain while the note’s full text, status, author, and discussion history disappear. Comments should be reviewed before flattening if that information matters.

Accessibility can also be affected. Interactive form fields may contain labels, roles, tab order, and instructions used by assistive technology. Printing to a new PDF or converting each page into an image can remove document tags, reading order, alternative text, and searchable text. A flattened document should be checked again if accessibility is required.

Flattening and signing require particular care. Flattening a PDF after a certificate-based digital signature has been applied changes the document and may invalidate the signature or produce a modification warning. Flattening a visible electronic signature mark also does not turn that mark into a cryptographic signature or replace supporting workflow evidence.

If flattening is necessary in a signing process, it is generally safer to finalize the required content before signing. Any later processing should preserve the original signed file and be evaluated against the specific workflow and applicable requirements. This is practical information, not legal advice.

Flattening is not secure redaction

Flattening does not reliably remove sensitive information.

If someone places a black rectangle over confidential text and then flattens the PDF, the rectangle may become part of the page while the underlying text remains stored, searchable, extractable, or recoverable. Metadata, attachments, comments, previous revisions, and hidden layers may also remain.

True PDF redaction removes the selected underlying content and should be followed by appropriate sanitization and verification. Flattening may be used as part of document preparation, but it is not a substitute for redaction.

Process Primary purpose Important limitation
PDF flattening Converts selected interactive or layered elements into page content Does not guarantee security or prevent editing
PDF permissions Restricts certain actions in compatible PDF software Restrictions may not remove underlying content
PDF redaction Permanently removes selected sensitive content Must be applied and verified correctly

Risks to check before flattening

The safest practice is to preserve the original PDF and create a separate flattened copy. Reversing flattening is usually difficult or impossible because the interactive objects and their underlying properties may have been removed.

Before relying on the flattened copy, check that:

  • All form values appear correctly
  • No required comments or note text were lost
  • Intended layers are visible
  • Text remains searchable when needed
  • Accessibility features still work
  • Images and small text remain clear
  • Links and bookmarks still function
  • Existing signatures still validate
  • Sensitive information has been properly redacted, not merely covered

Visual similarity is not enough. The flattened PDF should be reviewed in the context in which it will be stored, printed, shared, or signed.

FAQ

Does flattening make a PDF completely uneditable?

No. It can make fields, annotations, or layers harder to change accidentally, but a full PDF editor may still modify the page content. Flattening is not the same as encryption, access control, or tamper detection.

Can a flattened PDF be unflattened?

Usually not reliably. Software may recognize some visual elements and recreate fields, but it cannot restore all original field properties, comments, calculations, or layer settings. Keep an unflattened source copy.

Should a PDF be flattened before signing?

It may be appropriate to flatten completed fields or unsupported elements before signing, provided the signing workflow does not require those interactive fields. Flattening after a digital signature has been applied can affect signature validation.

Does flattening remove hidden information?

Not necessarily. Metadata, attachments, scripts, hidden layers, underlying text, and other nonvisible information may remain. Use purpose-built redaction and sanitization processes when information must be permanently removed.