Compress a PDF to a target size
Compressing your PDF
Compression complete
Preview
Preparing previewDetails
Name the size you need in kilobytes or megabytes. Four methods work toward it in this browser tab: structural cleanup, image downsampling, font subsetting and a raster fallback. Every candidate is opened again and its text compared with the source. A file that loses more than two percent of its characters is thrown away, not offered.
How to compress a PDF to a target size
-
Choose the PDF
Press Choose a PDF, or drop the file on the page. The file is read in this tab and is not sent anywhere.
-
Name the size
Choose a compression level, a target below the file's current size, or type your own smaller number in KB.
-
Press Compress
Four methods race: copy the pages into a fresh file, re-encode the placed images, cut each embedded font down to the glyphs the pages draw, and, only when no other method reached the target, redraw the pages as images with the text kept on top.
-
Read the check, then download
Every candidate is opened again and its characters are counted against the source. The page shows the size, the method that won and the characters kept before it offers the download.
The four methods are described in full, with the measurements behind them, in how it works.
What a target size means here
A target is a byte ceiling, not a quality setting. One kilobyte is 1,024 bytes here, so a 200 KB target means 204,800 bytes and the engine stops below that number rather than at it. Type any number smaller than the file already is, or take one of the preset levels.
Some upload forms count a kilobyte as a flat 1,000 bytes, which makes their limit 2.3% tighter than the same number here. When a file that reads as fitting is refused at the other end, set the target a little lower and run it again.
The common ceilings have their own pages with the number already set: 100 KB, 200 KB, 500 KB and 1 MB are the four the public run measures, and each one says what it reached.
How often a target is reached
The reach is measured rather than modelled. A public 120-case run asks for 100, 200, 500 and 1,000 KB across scans, text documents and mixed files. It met the target on 55 of the 120 and no case failed to produce a verified file. The median cut was 59.2%, the 90th percentile 88.1%, the smallest 3.8%, and no output came back larger than its source.
Document kind decides most of the outcome. Scans met their target on 16 of 18 cases, 88.9%, because a page image answers to image quality and nothing else. Text documents met theirs on 10 of 50, 20.0%, because their bytes are fonts and structure and there is far less to give back. Mixed documents sit between the two, at 29 of 52.
Time follows the document, not the target. Over the same run in Chromium the median case took 2.5 seconds and the slowest 9.1 seconds. Everything is read and written in this tab, so nothing waits behind other people's work in a queue.
When the file stops short of the target
No candidate ships without being read back. When none of the four methods reaches the number you asked for, the page hands back the smallest file that passed verification and says how far over the target it landed. It also names the method that won, so you can see whether images, fonts or document structure was the limit.
Three things are worth trying, in order. Size breakdown names the images, fonts and streams carrying the weight, which usually points at one or two pages. Delete PDF pages and Split PDF remove or divide what does not have to be sent. If the cap is a guideline rather than a hard limit, a larger target keeps more detail.
How to compress a PDF covers which of the four methods does the work on which kind of document, and Compress a PDF without losing quality covers what can be reduced with no visible change to the page.
Questions
- Is my PDF uploaded to a server?
- No. The compression runs in this browser tab. No part of the file is sent anywhere, no account is needed and nothing asks you to sign in.
- Does the text stay selectable?
- Yes. Every candidate file is opened again with pdf.js and its non-space characters are counted against the source. A candidate that keeps less than 98% is refused and a different one ships. In a public 120-case test run, all 102 documents that carried text kept 100% of their characters.
- How small can a PDF get?
- It depends on the document. Over 120 public cases at 100, 200, 500 and 1,000 KB targets, 55 met the target, the median cut was 59.2%, and no output was larger than its source.
- What happens if it cannot reach the size I asked for?
- It gives you the smallest file it proved and says how far over the target that file is. It then offers one more step, redrawing the pages at a lower resolution, and states what that costs before you press. You can put the two files side by side at true size before you decide.
- How long does it take?
- Over the same public run in Chromium, the median case took 2.5 seconds and the slowest 9.1 seconds. A large scan takes longer than a text document.
- Which files does it work on?
- Any PDF your browser can open, including scans. A scan carries no text to count, so there the picture comparison is the evidence instead. The title and the author of the source are carried into the output.
The other pdfpix tools
All 30 of them run in a browser tab like this one. Each reads its own output back and checks it before offering the download, and none of them needs an account.
- Merge PDFs Several PDFs into one
- Organize pages Split, reorder, delete
- Rotate & crop Pages upright, margins cut
- Images to PDF JPG and PNG
- HEIC to PDF Open iPhone photos
- TIFF to PDF Open multi-page scans
- WebP to PDF Open images saved from the web
- BMP to PDF Open bitmap images
- Privacy scan Remove private metadata
- Protect & unlock Add or remove a password
- Repair PDF Rebuild a broken file
- PDF size breakdown See where every byte goes
- Print preflight Check a PDF before press
- PDF to images Export JPG or PNG
- PDF to TIFF One multi-page image file
- Extract images Save original pictures
- PDF to Markdown Keep the document structure
- Markdown to PDF Make a verified document
- PDF to CSV Extract a table
- PDF to Excel One table per sheet
- Sign PDF Draw, type or upload
- Stamp PDF Number, label, watermark
- Compare PDFs Words and pages that changed
- Flatten PDF Make fields and marks permanent
- Fill PDF form Complete existing fields
- Create PDF form Add fillable fields
- N-up & booklet Print several pages per sheet
- Comic archive CBZ to PDF and back
- Redact PDF Destroy marked content
- Redaction checker Find text under black boxes
Where to go next
- Compress PDF to 200 KB Get this PDF under 200 KB because a form will not accept anything larger.
- Compress PDF to 100 KB Get this PDF under 100 KB for an upload form with a hard cap.
- Compress PDF to 1 MB Get this PDF under 1 MB, the most common attachment and portal limit.
- Compress PDF to 2 MB Get this PDF under 2 MB for a mail server or an application portal.
- Compress PDF to 300 KB Get this PDF under 300 KB for an exam or visa upload form.
- Compress PDF to 50 KB Get this PDF under 50 KB for a form that rejects anything bigger.
- Compress PDF to 500 KB Get this PDF under 500 KB, a limit common on job and grant portals.
- Compress PDF to 150 KB Get this PDF under 150 KB for a government upload field.
- Compress PDF to 400 KB Get this PDF under 400 KB without dropping to an unreadable scan.
- Compress PDF to 5 MB Get this PDF under 5 MB, the usual mail attachment ceiling.
- Compress PDF to 10 MB Get a big scanned PDF under 10 MB and keep it readable.
- Compress PDF to 250 KB Get this PDF under 250 KB for a portal that names that exact number.
- Compress PDF to 3 MB Get this PDF under 3 MB for an upload that stops at three.
- Compress PDF to 4 MB Get this PDF under 4 MB and keep the photos usable.
- Compress PDF to 20 KB Get this PDF under 20 KB, which almost nothing with a photo can reach.
- Compress PDF to 800 KB Get this PDF under 800 KB when 1 MB is the cap and you want headroom.
- Compress PDF without losing quality Make the file smaller without making the text or images worse.
- Compress large PDF Compress a PDF too big for the tools that upload it somewhere first.
- How to reduce PDF file size Make a PDF smaller and know what got dropped.
- Compress PDF without losing quality Cut the file size without wrecking the text or the images.