Remove Unused Fonts

Drop font resources that no page content stream selects, with a report of what was removed and what was kept.

FreeIn-browser processing25 MB / file200 pages

Remove Unused Fonts

Runs in your browser · files are not uploaded

Drop your file here

or click to browse · 25 MB per file

PDF accepted

Client-side processing: your file never leaves this browser tab. No upload, no server copy.

About Remove Unused Fonts

Remove Unused Fonts reads every page content stream, collects the font names that are actually selected with the Tf operator, and removes the font resources that no page uses. Fonts shared through a common resource dictionary are only pruned when every page that shares it ignores them, so a font used on page 7 is never removed because page 1 does not use it. After pruning the resource dictionaries, font objects that nothing references are deleted as well. Embedded font programs are large, so this is one of the few clean-ups that can measurably shrink a document produced by merging or repeated editing. The report lists each removed font, the pages that had the resource, the fonts kept and the byte saving; if every font is in use the tool says so instead of rewriting the file.

How to use Remove Unused Fonts

  1. Upload the PDF whose fonts should be pruned.
  2. Run the tool. Every page content stream is scanned for Tf operators.
  3. Check the report for the removed font names and the byte saving.
  4. Download the pruned PDF — text that used a removed font cannot exist, so rendering is unchanged.

Supported formats, limits and processing

  • Input: PDF
  • Output: PDF + JSON report
  • Processing: entirely in your browser. Files are never uploaded.
  • Limits: up to 25 MB per file, 10 files per job, 200 pages. Plan limits may be higher.

Privacy and file handling

This tool uses JavaScript and WebAssembly inside your browser. Your document is read locally, the output is created locally, and no file content is transmitted to our servers. Only an anonymous usage event (tool name and status, never the filename or content) may be recorded to measure reliability.

Troubleshooting

“Every font in this PDF is used”
Each font resource is selected by at least one page content stream, so there is nothing to prune.
Text renders with a fallback font afterwards
That cannot come from a font that was still selected. Re-download the original and compare; if the problem persists, the PDF was already relying on a font that it does not embed.

Remove Unused Fonts FAQ

How do you know a font is unused?
The content streams are scanned for /FontName size Tf operators, which is how a page selects a font. A font resource that no page selects cannot be used by that page.
Will text disappear?
No. Only fonts that no page selects are removed. Anything drawn with a font keeps it, and shared resource dictionaries are only pruned when every page that shares them agrees.
Why are standard fonts kept?
If a page still selects them they are used. Standard fonts add almost nothing to the file size anyway, so they are only removed when truly unused.

Related tools

More Optimize PDF tools