Remove Unused Fonts
Drop font resources that no page content stream selects, with a report of what was removed and what was kept.
Remove Unused Fonts
Runs in your browser · files are not uploadedAbout 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
- Upload the PDF whose fonts should be pruned.
- Run the tool. Every page content stream is scanned for Tf operators.
- Check the report for the removed font names and the byte saving.
- 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?
Will text disappear?
Why are standard fonts kept?
Related tools
More Optimize PDF tools
Compress PDF
Reduce PDF file size with server-side Ghostscript optimisation. Choose a quality preset and compare the result before downloading.
Repair PDF
Rebuild damaged or malformed PDF files with qpdf recovery mode and download a repaired copy.
Linearize PDF
Optimise a PDF for fast web view so the first page can render before the full download finishes.
Flatten PDF
Flatten form fields and annotations into regular page content with qpdf.