Compress PDF
Reduce PDF file size by stripping metadata
Drop a PDF file here or click to browse
Max file size: 50MB
How to compress pdf online
Reduce your PDF file size by stripping unnecessary metadata. The process runs entirely in your browser with no file uploads.
- Upload your PDF file by clicking the upload area or dragging it in.
- Click "Compress PDF" to strip metadata and reduce file size.
- Review the before and after file sizes shown on screen.
- Download your compressed PDF file.
About Compress PDF
PDF files often contain hidden metadata that inflates their size — document titles, author names, creation dates, editing history, and keyword tags embedded by the software that created them. This tool strips that metadata to produce a leaner file. It is particularly effective on PDFs generated by word processors and design tools that embed verbose metadata by default.
It is worth being honest about what browser-based compression can and cannot do. Server-side tools can recompress embedded images, downsample high-resolution graphics, and subset fonts to achieve dramatic size reductions. This tool takes a different approach: it removes metadata while leaving all visual content untouched. That means your text, images, and graphics remain at full quality. The trade-off is that files whose size comes mainly from large embedded images will see smaller reductions than files bloated by metadata.
This makes the tool ideal for situations where you need a modest size reduction without any quality loss — for example, getting a file under an email attachment limit, meeting an upload size restriction on a web form, or trimming files before archiving. Because everything runs in your browser using pdf-lib, your documents stay private and never touch a remote server.
Related Tools
Frequently Asked Questions
How does PDF compression work?
Your PDF is processed directly in your browser using pdf-lib. Metadata such as title, author, and keywords is stripped to reduce file size. No files are uploaded to any server.
How much smaller will my PDF be?
Results vary depending on the PDF. Files with large metadata sections will see the biggest reduction. Content-heavy PDFs with embedded images may see minimal change.
Will compression affect the quality?
No. This tool removes metadata only. All page content, text, images, and vector graphics remain exactly the same.
Is there a file size limit?
Each file can be up to 50MB on desktop or 20MB on mobile devices. This limit exists because processing happens in your browser memory.