Turn a fillable PDF into a fixed document: form field values are baked into the page so they cannot be edited, tabbed through, or reset by another reader.
How it works
pdf-lib enumerates the AcroForm fields, then flattens them into page content. If a PDF has no form fields, the tool says so instead of producing an identical file. This is not encryption — the page content can still be edited with a PDF editor, but the form structure is gone.
Good to know
- Flatten before archiving a signed or filled form
- Flattened values print and display consistently across readers
- If you still need to edit values, keep an unflattened copy