Reduce Fillable PDF File Size Without Flattening Form Fields
Question details
Reduce the size of a programmatically generated PDF while keeping its form fields interactive.

- Product
- PDF generation software
- Device & OS
- not provided
- Scenario
- A program generates a fillable PDF whose embedded fonts may be increasing the file size.
- Observed behavior
- The generated PDF is unusually large, and its form fields need to remain editable after optimization.
Keep an unoptimized copy for comparison, and identify the PDF generation library and its font-embedding settings. Use a PDF viewer that supports forms to test the fields before and after optimization.
Optimize fonts and resources in the PDF generator
Use this approach when you can change the program that creates the fillable PDF.
Flattening turns interactive form fields into static page content. Instead, adjust the generator's optimization settings and verify that fields remain usable.
Open the generated PDF in a PDF viewer and check its document properties for embedded fonts. Compare the font list with the fonts used by the template.
Open your PDF generation code or library configuration and look for font subsetting and reuse options. Enable them where supported, especially if the program embeds a complete font repeatedly.
In the generator's configuration or source template, remove unused resources and unnecessary metadata, and compress oversized images. Do not enable an option to flatten form fields.
Generate a small sample, open it in a form-capable PDF viewer, and enter values in the fields. Save and reopen the file, then test it in the production workflow before generating large combined PDFs.

Compress a copy of the fillable PDF
Try PDF compression when you cannot change the generating program, but verify that it preserves the fields.
Try WPS PDF compression on a fillable form
Use WPS Office to compress a copy of your PDF, then test its interactive fields before using it in production. Compression results and feature availability may vary.
- 1. Open the PDF: Launch WPS Office and open the fillable PDF.
- 2. Choose compression: Under PDF Tools, select Compress PDF and choose an available compression level.
- 3. Save a separate copy: Save the compressed output with a new file name so you can compare it with the original.
- 4. Test the fields: Open the output in a form-capable PDF viewer, fill in representative fields, and save and reopen it. Use the result only if the fields and values remain usable.

Frequently Asked Questions
Will flattening a PDF keep its form fields editable?
No. Flattening converts form fields into static page content. Avoid flattening if users need to enter or change values.
Why do embedded fonts make my PDF so large?
A generator may embed complete fonts or duplicate font resources across pages. Check the PDF's font properties and your generation library's options for subsetting and reusing fonts.
Can I subset fonts in a fillable PDF?
Yes, if your PDF generation library supports it. Enable font subsetting in its configuration and test the characters users will enter, since the subset needs adequate character coverage.
How can I check whether compression preserved the form?
Open the compressed PDF in a form-capable viewer, enter representative values, save it, and reopen it. Also test it in the production workflow before using it for large batches.




