Compress PDF
Reduce PDF size with real Ghostscript compression — screen, ebook or printer quality, plus best-effort size targets, all in your browser.
Last updated
One PDF up to 50 MB. Compressed right here in your browser — nothing is uploaded.
Powered by Ghostscript 10.08.0 (WASM, AGPL-3.0). Source code (AGPL)
How to use compress pdf
- Click Choose file and pick a PDF up to 50 MB. The cap exists because compression happens in your browser’s memory, not on a server.
- Pick a quality preset: Smallest size (screen, 72 dpi), Balanced (ebook, 150 dpi) or Best quality (printer, 300 dpi). Or tap a size button — 100 KB, 200 KB, 500 KB or 1 MB — to aim for a target; these are best effort and choose a starting quality for you.
- Press Compress PDF. The first run downloads the PDF engine (~11 MB, once — then it’s cached); after that you’ll see a Compressing… indicator while Ghostscript rewrites the file.
- Check the before → after sizes and the percentage saved. If the compressed file came out bigger, the tool keeps your original and tells you the PDF was already well compressed. If a size target was missed, you get the smallest size actually achieved.
- Tap Download PDF to save the result as yourfilename-compressed.pdf. The download starts immediately — the file was already built during compression.
Examples
Shrink a 9 MB scanned application form for a 2 MB upload portal
Choose Smallest size (screen, 72 dpi) and compress — the scanned pages are resampled to screen resolution, usually landing a multi-megabyte scan well under the portal limit.
Compress a PDF to 1 MB for an email attachment
Tap the 1 MB size button (best effort, ebook quality) and compress. If the result still misses the mark, the status tells you the smallest size reached so you can decide whether to split the document instead.
Reduce a report while keeping it sharp enough to print
Pick Best quality (printer, 300 dpi). Images stay at print resolution while duplicate graphics and bloated fonts are cleaned up — a modest but safe saving for documents headed to paper.
What is Compress PDF?
PDFs balloon for boring reasons: photos embedded at full camera resolution, the same logo stored on every page, fonts embedded twice, scans saved as enormous images. A pdf compress pass fixes most of that in one go by resampling oversized images, deduplicating repeated graphics and rewriting the file more efficiently. This pdf size reducer runs the same engine print shops and publishers rely on — Ghostscript — compiled to WebAssembly so it executes inside your browser tab instead of on somebody else’s server.
You choose how hard to squeeze. Screen quality downsamples images to 72 dpi and produces the smallest file — fine for on-screen reading and strict upload forms. Ebook quality targets 150 dpi, the balanced middle that keeps documents pleasant to read. Printer quality keeps 300 dpi images for documents that still need to look sharp on paper. If a form demands an exact ceiling — compress pdf to 1mb, 500 KB, 200 KB or 100 KB — the size buttons pick a sensible starting quality and try to land under that mark, honestly labelled as best effort.
Because the whole job runs on your own device, the file is read from your disk, processed in memory and handed straight back to you. There is no upload queue, no account, no watermark and no copy of your document sitting on a third-party machine — which is exactly what you want when the PDF is a bank statement, a medical report or a signed contract. The engine downloads once (about 11 MB) and is then cached by the browser, so repeat visits start instantly.
Compress PDF to 100 KB
Compressing a PDF to 100 KB is the hardest target on this page and purely best effort. Tap the 100 KB button — the tool switches to screen quality (72 dpi images) and tries to squeeze under the limit. Text-heavy PDFs of a few pages often make it; scanned documents frequently bottom out higher, and when that happens the tool says exactly what it achieved rather than pretending success.
The 100 KB ceiling shows up on government and exam upload portals — a common constraint in India, where application forms for competitive exams and public services routinely cap PDF uploads at very small sizes. If your document cannot go that low, try scanning in black-and-white instead of colour, or compress the photos before assembling the PDF.
Compress PDF to 200 KB
A 200 KB target is still best effort but reachable for many real documents: short scans, filled-in application forms and certificates a few pages long. The 200 KB button uses screen quality (72 dpi), which keeps text crisp because text in a PDF is stored as vectors and fonts — only the images get resampled.
This size is a common ceiling on admission and recruitment portals that reject anything larger. If the tool reports it could not reach 200 KB, the honest message names the smallest result achieved, so you know whether you missed by a little (re-scan one blurry page) or by a lot (the document is mostly photos).
Compress PDF to 500 KB
Compressing a PDF to 500 KB suits longer documents — multi-page contracts, transcripts, bank statements — where you still want readable images. The 500 KB button starts from ebook quality (150 dpi), a balanced setting that keeps photos and charts looking decent on screen.
Email attachment limits are the classic reason for this target: many corporate mail servers bounce anything over a few megabytes, and getting a statement or invoice under 500 KB keeps it comfortably deliverable. Scanned documents with many full-page images may not always go lower, and the tool will tell you plainly when that happens.
Compress PDF to 1 MB
The 1 MB target is the most forgiving preset and the right first try for almost any oversized PDF. The button uses ebook quality (150 dpi), so a typical 5–20 MB document — a photo-heavy report, a slide deck exported to PDF, a long scan — usually lands under 1 MB with images that still look fine on any screen.
Use it for email attachments, upload forms with a megabyte-scale cap and cloud drives where you are counting storage. If you need to go smaller afterwards, rerun with screen quality or the 500 KB button — each run starts fresh from the file you pick, so nothing accumulates.
Frequently asked questions
How do I reduce the size of a PDF file?
Pick the PDF above, choose a quality preset — Smallest size (screen, 72 dpi) saves the most — and press Compress PDF. The tool resamples oversized images, deduplicates repeated graphics and rewrites the file, then shows the before and after sizes. If you need a specific ceiling, use the 100 KB, 200 KB, 500 KB or 1 MB buttons instead.
How can I compress a PDF file to an exact size like 200 KB?
Tap the 200 KB size button and compress. Size targets are best effort: the button picks a sensible starting quality (screen for 100/200 KB, ebook for 500 KB/1 MB) and tries to land under the target. When the target is missed, the status tells you the smallest size actually reached — scanned documents with many images sometimes cannot go any lower.
How to reduce PDF size to 2 MB?
There is no 2 MB button because almost any PDF gets there with the Balanced (ebook, 150 dpi) preset — just compress with that setting and check the result. If the file is still over 2 MB, run it again at Smallest size (screen, 72 dpi), which downsamples images much harder.
Why did my PDF get bigger or stay the same size?
Some PDFs are already well compressed — typically files saved by modern office software or previously run through a compressor. Re-encoding them adds overhead instead of savings. When that happens this tool keeps your original file and says so, rather than handing back a larger one.
Is it safe to compress confidential documents here?
Yes. The compression runs entirely on your device: the PDF is read into your browser’s memory, processed by a WebAssembly copy of Ghostscript and returned to you directly. No upload takes place at any point, so contracts, medical records and financial statements stay on your own machine. The engine download (~11 MB, once) is the only network traffic involved.
What license does this tool use?
The compression engine is Ghostscript 10.08.0, licensed AGPL-3.0, used unmodified as a WebAssembly build (npm package @wasm-zoo/ghostscript). The tool’s own glue code and build details are offered in the source zip linked under the tool, and the official Ghostscript source is on the Artifex GitHub. Everything runs on your device.
Related tools
- Image Compressor
Compress JPEG, PNG, WebP or AVIF images locally — single files or batches, with before/after sizes shown.
- Create ZIP Online
Bundle files into a single ZIP archive locally — add or remove files, then prepare and download.
- Compress GIF
Compress GIF animations locally with palette reduction — animation, timing and transparency preserved.
- Compress Image to KB
Compress a JPEG, PNG or WebP image to an exact KB target — locally, with nothing uploaded.
- Compress JPEG
Compress JPEG photos locally with a quality slider and optional resizing — before/after sizes always shown.
- Compress PNG
Compress PNG files locally with palette quantization — transparency preserved, before/after sizes shown.
Browse all compression.