Compress PDF
Reduce PDF file size by stripping metadata and rewriting the file.
Optimize Your PDF
Strip hidden metadata and rewrite the file to reduce size — processing stays in your browser
Perfect for
Helpful Tips
Use Light to keep metadata
Use Standard for sharing
Use Deep to strip everything
Image-heavy PDFs shrink only a little
Something went wrong
An unexpected error occurred while processing your request.
No input provided
Please upload a file or enter text to get started.
Processing...
This may take a moment. Please wait.
Success!
Your file is ready.
Shrink your PDF files for easier sharing and faster uploads. Our tool reduces size by removing hidden document metadata (author, title, keywords, generating app) and rewriting the file structure more efficiently. Text and embedded images are never re-encoded, so quality is untouched. The result page always shows the exact before and after sizes. All processing happens locally, so your documents stay private.
What Is Compress PDF?
Compress PDF is a browser-based tool that reduces the file size of PDF documents without sacrificing readability. Whether your PDF is 50MB and you need to send it via email, or you want to speed up uploads to a job portal, this tool shrinks the file while keeping text crisp and images viewable. Compression happens entirely within your browser — your documents remain on your device throughout the process.
The tool uses pdf-lib to reduce file size by removing hidden document metadata — author, title, subject, keywords, and the generating application — and rewriting the file structure in a more compact form. Text and embedded images are copied through unchanged rather than re-encoded, so visual quality is untouched at every level. The result page always shows the exact before and after sizes.
Real-world scenarios where Compress PDF saves time are everywhere. A job applicant whose portfolio PDF is a little over a 10MB upload limit. A freelancer sending a proposal through Gmail's 25MB attachment cap. A student archiving lecture notes. An accountant reducing quarterly reports before emailing clients. Anyone who wants to strip identifying metadata such as the author name before sharing a document.
The tool offers three cleanup levels — Light, Standard, and Deep — so you control how much metadata is removed. Light keeps all metadata and only rewrites the file structure. Standard removes the generating application information. Deep strips every metadata field including title, author, and keywords. Because the reduction comes only from metadata and structural optimization, documents that already carry little metadata will shrink only slightly — the before and after sizes tell you exactly what happened.
Why Use Compress PDF?
Compressing PDFs is not just about saving disk space. In many professional and academic contexts, file size determines whether your document gets accepted or rejected. Email providers reject oversized attachments, job portals cap uploads at 10–25MB, and slow internet connections make large files impractical to share. Compress PDF solves all of these problems in one click.
Email Limits
Gmail caps attachments at 25MB, Outlook at 20MB, and many corporate email servers even lower. A scanned contract at 300 DPI can easily hit 40MB. Compressing it to Medium or Maximum brings it under the limit without re-scanning or converting to a different format.
Job Portal Upload Limits
LinkedIn, Indeed, and company career pages typically cap resume and portfolio uploads at 5–10MB. A design portfolio with high-resolution mockups can exceed this easily. Compressing ensures your application goes through on the first attempt.
Slow Internet Connections
Uploading a 100MB PDF on a home internet connection can take minutes. Compressing it to 20MB reduces upload time by 80%. For remote workers, students on campus Wi-Fi, or anyone in areas with limited bandwidth, compression is not optional — it is essential.
Cloud Storage Optimization
Google Drive, Dropbox, and OneDrive have storage limits on free and paid tiers. Compressing PDFs before archiving can double or triple the number of documents you store in the same space, reducing or eliminating the need to upgrade your plan.
Web Performance
Embedding PDFs on a website or knowledge base? A 5MB compressed file loads three to five times faster than a 25MB original. Faster load times improve user experience, reduce bounce rates, and lower bandwidth costs for high-traffic sites.
Archival and Compliance
Organizations with document retention policies need to store PDFs for years or decades. Compressing files at the point of creation reduces long-term storage costs and makes retrieval faster, especially when dealing with thousands of documents.
Step-by-Step Guide
Upload Your PDF
Click the upload area or drag and drop your PDF file. The tool accepts any PDF regardless of file size. A thumbnail preview of the first page appears so you can confirm you uploaded the correct document.
Choose a Cleanup Level
Select Light, Standard, or Deep cleanup. Light keeps all metadata and only rewrites the file structure. Standard removes the generating application information. Deep strips every metadata field including title, author, and keywords. Text and images are never changed at any level.
Review the Result
The tool shows the original file size, the new file size, and the exact percentage reduction before you download. If the reduction is smaller than expected, the file likely carried little removable metadata to begin with.
Download the Cleaned PDF
Click the compress button and the tool generates your cleaned PDF. The download starts automatically. The output retains all text, annotations, bookmarks, and embedded images — only metadata and the file structure are modified.
Common Real-Life Examples
Compress PDF is used across dozens of professional and personal workflows. Here are the most common situations where reducing file size solves a real problem.
Removing Identifying Metadata Before Sharing
A freelancer sends a proposal PDF whose metadata still lists a previous client's name in the title field. Deep cleanup strips title, author, and keywords so the shared file carries no identifying information.
Stripping Application Info From Exported Files
A document exported from a word processor carries producer and creator fields naming the software and version. Standard cleanup removes those fields, producing a leaner file with a smaller footprint.
Trimming a Portfolio Before Uploading
A designer's portfolio PDF carries embedded fonts and extensive metadata from the design tool. Deep cleanup removes the metadata and rewrites the structure, saving several megabytes while every image and page renders exactly as before.
Cleaning Reports Before Archiving
A team archives quarterly reports where each file carries author names and generation timestamps in the metadata. Running Deep cleanup on the batch standardizes the files and removes the embedded personal details.
Preparing Documents for Public Release
A company publishes a whitepaper PDF whose metadata reveals internal author names and the tool used to produce it. Deep cleanup removes those fields before the file goes on the website.
Checking Whether a File Can Be Made Smaller
A user is unsure why a PDF exceeds an upload limit. Running the tool shows the before and after sizes instantly — revealing how much of the file is removable metadata versus embedded images that the tool deliberately leaves untouched.
Best Practices
Choosing the right compression level and applying it at the right time determines whether your PDF meets upload limits without losing legibility. These tips address the trade-offs that matter in practice.
Use Standard cleanup as your default
Standard removes the generating application information while keeping the document title. It is a good balance for general sharing and email.
Use Deep cleanup when privacy matters
Deep strips every metadata field including title, author, and keywords. Use it before sharing a document publicly so it does not carry identifying information.
Keep Light when you need to preserve metadata
If the document title, author, or keywords are meaningful and should stay attached, use Light, which only rewrites the file structure without removing anything.
Check the before and after sizes
The result page shows the exact original size, the new size, and the percentage reduction. If the reduction is small, the file likely carried little removable metadata to begin with.
Understand the limit for image-heavy files
This tool does not re-encode embedded images. If most of your file size comes from scans or photos, the reduction will be small — the before and after sizes make that clear right away.
Compress before merging if total will exceed limits
A five-page PDF with high-resolution photos can easily reach 25MB or more. Compressing individual files before combining them keeps the final merged output within upload limits. Pre-compression also gives you finer control over which pages lose quality and which stay at full resolution.
Do not compress already-compressed PDFs expecting further reduction
PDFs created by modern tools like Word or LaTeX are already optimized. Compressing them may yield only 5–10% reduction. Focus compression on PDFs with embedded images, scans, or large graphics — those benefit most.
Match compression level to your destination's requirements
Check the upload limit before choosing a level. A 25MB email cap might need Medium. A 10MB portal cap might need Maximum. A 5MB limit might require Maximum plus page removal. Knowing the target size first prevents wasted iterations.
Run cleanup once before sharing publicly
A single Deep cleanup removes identifying metadata such as author names and keywords before a document is published or sent to a new recipient.
Common Mistakes to Avoid
Expecting large reductions on image-heavy files
This tool does not re-encode embedded images. If most of your file size comes from scans or photos, the reduction will be small. The before and after sizes make that clear right away.
Compressing a file that carries no metadata
Some PDFs have already been stripped of metadata. Running the tool on them will produce little or no change. Check the result page — if the sizes are nearly identical, the file had nothing removable.
Expecting quality changes after cleanup
Because text and images are copied through unchanged rather than re-encoded, there is no quality loss to verify at any level. The output looks identical to the original.
Losing needed metadata with Deep cleanup
Deep removes the title, author, and keywords. If you need those fields attached to the file, use Light, which only rewrites the structure, or Standard, which keeps the title.
Compressing before checking if it is needed
Before running the tool, check the file size and the destination's limit. If the file is already small enough, cleanup may not be necessary.
Assuming compression is reversible
The cleanup permanently removes metadata from the new file. Your original file is never modified, so keep it if you need the metadata later.
Privacy and Security
Compression reduces file size by modifying image streams and metadata within the PDF. This happens entirely in your browser — the tool never sends your document to a remote server for processing.
- ✓ Your PDF is loaded from your device into browser memory with no upload step
- ✓ Metadata removal and file rewriting run in JavaScript on your CPU
- ✓ No network requests occur during the compression process
- ✓ Text and embedded images are never re-encoded, so quality is unchanged
- ✓ Nothing you compress is uploaded — the document never leaves your browser
- ✓ Processed data stays in RAM and is released when the tab closes
- ✓ No personal information, account, or email is required to use the tool
- ✓ Fully operational offline after the initial page load
PDFs destined for email inboxes, government portals, or cloud storage often contain financial figures, proprietary designs, or personal data. Compressing locally means the document never reaches a third-party server, eliminating the risk of interception or unauthorized storage.
Performance
Compress PDF performance depends on the file size, the compression level chosen, and your device's processing power. Here is what to expect across different scenarios.
| What Affects Your Reduction | What To Expect |
|---|---|
| Document with rich metadata (exported from Word, LaTeX, or a design tool) | Noticeable reduction — often tens of kilobytes to a few megabytes |
| Document already stripped of metadata | Very small change — the rewrite alone may not save much |
| Image-heavy or scanned PDF | Small reduction — embedded images are not re-encoded |
| Text-only PDF | Usually modest — text was already efficiently encoded |
The result page always shows the exact original size, the new size, and the percentage reduction, so you can see precisely how much the cleanup saved for your specific file rather than relying on a guess.
How It Works Internally
Under the hood, Compress PDF uses pdf-lib to parse the PDF, clear metadata fields, and write the file back out in a compact structure. It operates on two parts of the file — the metadata and the object structure.
Metadata removal: The Light level keeps all metadata. Standard clears the producer and creator fields, which record the application that generated the file. Deep clears every field — title, author, subject, keywords, producer, and creator — leaving no identifying document information attached.
Structural rewrite: pdf-lib rewrites the file's internal object structure in a more compact form. Text and embedded images are copied through unchanged rather than re-encoded, so there is no quality loss at any level. This also means the tool does not downsample images or recompress them — if most of your file size comes from embedded images, the reduction will be small. For that case you would need a rasterizing converter, which changes the document and loses selectable text.
When to Use Compress PDF vs Other Tools
Compress PDF removes metadata and rewrites the file structure. But sometimes a different tool solves the underlying issue better.
| Situation | Best Tool | Why |
|---|---|---|
| PDF is too large to email and carries metadata | Compress PDF | Removes metadata to reduce size. Does not re-encode embedded images |
| PDF is too large mainly because of embedded images | Not this tool | Use a rasterizing converter that re-encodes images. It changes the document and loses selectable text |
| PDF has too many pages | Split PDF | Split extracts subsets; compression reduces size |
| Multiple PDFs need to become one | Merge PDF | Merge combines files; compress shrinks them |
| PDF contains images to extract | PDF to JPG | PDF to JPG extracts images; compress keeps PDF format |
| Need to reduce size after merging | Compress PDF | Compress after merge to meet final upload limits |
Related Workflows
Compress PDF is often one step in a larger document workflow. Here are complete workflows where compression plays a key role.
Scan, Compress, and Email
Before emailing, run cleanup to strip identifying metadata from the scanned document. Note that embedded scan images are not re-encoded, so size reduction depends on how much metadata the file carries.
Compress Before Merge
Clean up each file\'s metadata before merging so the final combined document carries no stray author or application fields.
Clean Metadata Before Upload
Strip author and application metadata before uploading to a job portal, government site, or university system so the file carries no identifying fields.
Archive Optimization
Run cleanup across an archive to remove author and application metadata from every file. The reduction varies by file — the result page shows the exact before and after size for each one.
Frequently Asked Questions
Does compression reduce the quality of my PDF?
Is PDF compression reversible?
Will compression affect digital signatures?
Can I clean up a password-protected PDF?
How much can I expect my file to shrink?
Does cleanup remove bookmarks and annotations?
Can I compress multiple PDFs at once?
Why is my compressed PDF still large?
Can I compress a PDF created from a scanned document?
Will the compressed PDF still be searchable?
Is there a file size limit for compression?
Can I compress a PDF and then merge it with others?
Related Tools
Compress PDF works best as part of a complete document workflow. These tools complement the compression process.
Accessibility
The compression tool is designed for keyboard-only use, screen readers, and mobile devices.
- • Keyboard: Select compression level with arrow keys, trigger compression with Enter, and download the result with Tab + Space. The full workflow is keyboard-accessible.
- • Screen readers: Compression level options are presented as a radio group with descriptive labels. Progress announcements indicate when compression starts and finishes.
- • Touch: Large toggle buttons for compression levels are easy to tap on small screens. The download button uses a generous touch target.
- • Offline: Compression is a local operation. No internet connection is needed after the page loads.
Browser Support
Compress PDF requires ES6 modules, the Canvas API, and the File API — capabilities present in all current browsers.
| Browser | Support | Notes |
|---|---|---|
| Chrome 90+ | Full | Fastest compression for image-heavy PDFs; recommended for large files |
| Edge 90+ | Full | Same Chromium engine; identical compression results and speed |
| Firefox 90+ | Full | Fully supported; may use more memory with PDFs containing many high-res images |
| Safari 15+ | Full | Works on macOS and iOS; compression speed comparable to Chrome on recent devices |
| Mobile browsers | Full | Compression runs on-device; battery drain depends on file size and compression level |
Troubleshooting
Processing is taking a long time
Very large files take longer to parse and rewrite. Close other browser tabs to free resources. If the file is over 100MB, a longer wait is normal.
Compressed file is not much smaller
The file likely carried little removable metadata to begin with. The result page shows the exact sizes so you can confirm. If most of the file size comes from embedded images, this tool does not re-encode them, so the reduction stays small.
I need a much smaller file
This tool removes metadata only and never re-encodes images, which preserves quality and selectable text. To shrink an image-heavy file substantially, you would need a rasterizing converter, which changes the document and loses selectable text.
Output file will not open
The original PDF may contain structures the rewrite could not preserve. Open the source in a standard reader to verify it is intact. If the source is valid but the output fails, the file may use features pdf-lib does not fully support.
Who Should Use Compress PDF?
Students
Strip metadata from thesis drafts, research papers, and assignment PDFs before uploading to university portals.
Job Seekers
Remove your name and personal details from a resume PDF's metadata before submitting it to job portals that should only see the document content.
Freelancers
Clean proposals and deliverables of author metadata before sending them to clients, so the files carry no unintended identifying information.
Businesses
Standardize quarterly reports, training manuals, and internal documents by removing author and application metadata before distribution.
Healthcare Workers
Strip author and application metadata from patient records and reports before sharing them between providers.
Legal Professionals
Remove author names and keywords from case files and contracts before filing portals or external sharing.
Accountants
Clean bank statements, expense reports, and tax filing PDFs of author metadata before emailing to clients.
Government Employees
Remove generating-application details from policy documents and public records before FOIA responses or internal distribution.
Researchers
Shrink papers with embedded datasets, figures, and supplementary materials before journal submission. Compression helps meet publisher file size limits without removing content.
Educators
Reduce worksheet packets, rubrics, and exam PDFs before uploading to learning management systems. Students on limited data plans benefit from smaller files.
About Compress PDF
Compress PDF reduces the file size of PDF documents without uploading them to a server. The tool uses pdf-lib to remove hidden document metadata and rewrite the file structure more compactly at three cleanup levels — Light, Standard, and Deep. All processing happens in the browser using JavaScript.
Job seekers compressing resumes for portal uploads, clinics reducing patient forms for secure transfer, students shrinking thesis PDFs for email submission — anyone who needs a smaller PDF can use this tool without creating an account. No watermarks are added. Works on desktop and mobile browsers.
What is Compress PDF
Compress PDF reduces file size by removing hidden document metadata and rewriting the file structure more efficiently. It offers three cleanup levels: Light keeps all metadata, Standard removes the generating app information, and Deep strips every metadata field including title, author, and keywords. Text and embedded images are never re-encoded, so visual quality is untouched. Because the reduction comes only from metadata and structural optimization, the amount you save depends on how much removable metadata the original file contains — a document exported from Word or a design tool often carries more metadata than a minimal PDF. The result page always shows the exact before and after sizes. The tool runs entirely in your browser, so your documents are never uploaded to any server.
How it Works
The tool loads your PDF with pdf-lib, then clears metadata fields according to the level you chose — Light clears nothing, Standard clears the producer and creator fields, and Deep clears title, author, subject, keywords, producer, and creator. It then rewrites the PDF structure in a more compact form and writes the new file to a blob for download. Because text and images are copied through unchanged rather than re-encoded, there is no quality loss at any level. The pipeline runs client-side in your browser using pdf-lib, so no data leaves your device. The tool reports the exact original size, the resulting size, and the percentage reduction so you can see precisely what happened.
When to Use It
Use Compress PDF when you want to strip hidden metadata before sharing a document, reduce a file slightly for an upload that is just over a limit, or produce a cleaner copy with no author or application information attached. It is also useful for privacy — Deep cleanup removes identifying metadata such as the author name and generating application. Keep in mind that if most of your file size comes from embedded images or scans, the reduction will be small; this tool does not re-encode images. For image-heavy files you would need a rasterizing converter, which changes the document and loses selectable text. Always check the before and after sizes shown on the result page to confirm the reduction meets your needs.
Tips and Best Practices
Use Deep cleanup when privacy matters most — it removes the author name, title, and generating application from the file. Use Standard for general sharing where you want to drop the generating app info but keep the document title. Use Light if you need to preserve all metadata. If the result barely shrinks, that usually means the file carried little metadata to begin with; check the before and after sizes to confirm. If your file is still too large because of embedded images, consider converting pages to JPG with [PDF to JPG](/tools/pdf-to-jpg/) at a lower quality and reassembling, which does re-encode images. After compressing, open the result to confirm the content is intact before sending it anywhere.
Privacy Guarantee
Compress PDF processes everything in your browser. Your files never leave your device and are never uploaded to any server. In-memory processing data is cleared when you close the tab. However, your light/dark mode theme preference and cookie consent dismissal are stored in your browser's localStorage and persist across sessions until you manually clear your browser data. No file logs, no server storage, no tracking of your content.