Compress a PDF to 500 KB

The compressor below is set to 500 KB (500,000 bytes). It works on your device, stops at the first result that fits, and shows page 1 at 100% before you download.

Tool · runs in this tab · free
Drop the PDF that is too big

It is read in this tab and compressed in a Web Worker on your device. Nothing is uploaded.

Read in this tab. Never uploaded.

How this runs

Nothing loads until you add a file. Then the engine starts in a Web Worker in this tab.

Target size
This jobwaiting
Requests since your file0
Other origins contacted0
Enginepdf-lib + qpdf (WASM), Web Worker
Reported by this page. Check it yourself: switch off your network and run the tool again.

What reaching 500 KB took on our test files

3 of 5 files reached it with the default settings; with grayscale allowed, 3 of 4 scans and photos did. 7 corpus files were already under 500 KB.

FilePagesBeforeAfterResultLast stepSettings
phone-photos-4p415.4 MB290 KBfits130 dpi · q60default
scan-color-300dpi-6p615.7 MB402 KBfits85 dpi · q45default
scan-flate-gray-4p49.37 MB429 KBfits110 dpi · q55default
scan-gray-200dpi-10p109.26 MB638 KBsmallest legible: overPages as images · 72 dpi · q40default
IRS p15591.71 MB865 KBsmallest legible: overPages as images · 130 dpi · q60default
phone-photos-4p415.4 MB290 KBfits130 dpi · q60grayscale allowed
scan-color-300dpi-6p615.7 MB402 KBfits85 dpi · q45grayscale allowed
scan-flate-gray-4p49.37 MB429 KBfits110 dpi · q55grayscale allowed
scan-gray-200dpi-10p109.26 MB638 KBsmallest legible: overPages as images · 72 dpi · q40grayscale allowed

Our measurements, method: Each corpus file was opened in /compress-pdf in headless Chrome and compressed to each target twice: with the default settings (grayscale off, pages-as-images allowed as a last resort, metadata kept) and, for scans and photos, with “Allow grayscale” ticked. Output size is the byte length of the file the page offers for download; “hit” means it is at or under the target (1 MB = 1,000,000 bytes). Time is from pressing Compress to the download button appearing, on the machine named here. Files already under a target were not run. Measured 2026-10-05 on Apple M3 Max, Chrome/154.0.8037.95. Corpus: IRS PDFs (public domain, irs.gov) and files we generated (synthetic, CC0); same corpus on every size page. Your file will differ.

Getting to 500 KB

500 KB holds a few scanned pages at a readable resolution, or a phone photo of a document resampled to a sensible size.

Phone photos are the easy case: they are stored at far more pixels than a page needs, so resampling them alone often lands well under the target with text still sharp. Check the 100% preview anyway.

Other sizes: 100 KB · 200 KB · 1 MB · 2 MB · 5 MB

How exact-size compression works here

Most large PDFs are large because of images: phone photos and scans stored at 300 dpi or more. Text, vector drawings and fonts are usually a small share, so the engine leaves them alone and works on the images, which keeps the words crisp while the file shrinks.

It first removes images that are stored more than once and drops objects nothing refers to. If that is not enough, it re-encodes each image as JPEG at a lower resolution and quality, in steps, and stops at the first result at or under your target. Grayscale is only used if you allow it. If even the lowest legible step is too big, it says so and offers to split the file into parts that each fit, instead of handing you a blurry page.

MB here means 1,000,000 bytes, the stricter reading, so a file that fits our 12 MB also fits a portal that means 12 MiB.

Steps

  1. Add the PDF (drop it anywhere on this page).
  2. Type a target such as 2 MB or pick a destination.
  3. Watch the steps: each line is a real attempt with its real size.
  4. Check page 1 at 100% with the compare slider, then download.

Limits, stated plainly

  • Images in JPEG 2000, JBIG2 or CCITT fax format, CMYK images and masks are left unchanged (the step log counts them).
  • A PDF that is mostly text and fonts may not shrink much; the result says how much was possible.
  • As a last resort, and only if you leave it switched on, pages can be turned into images. Their text then stops being selectable, and the result says so.
Already have Preview or Edge? macOS Preview (File → Export → Quartz Filter → Reduce File Size) and some printers’ “Save as PDF” can make a file smaller, but neither lets you pick a number. This tool exists for when a portal gives you one.

Engine: pdf-lib and qpdf (WebAssembly) in a Web Worker; pdf.js for the preview. Your file is not uploaded; check it yourself.