Compress a PDF under 1 MB for email — free, no upload

javascript dev.to

The upload form was blunt about it: "File must be under 1 MB." My scanned PDF was 6.4 MB. The job application wouldn't go a step further until I fixed that.

If you've hit the same wall — a portal that caps uploads at 1 MB or 2 MB, or an email that bounces a fat attachment — here's how to get a PDF under the limit in about thirty seconds, for free, and without handing your document to anyone.

I'll use ToolsTray's Compress PDF because I built it, but the why matters more than the which — so I'll explain what's actually making your file big and what a good compressor should do about it.

Why your PDF is so big (it's the images)

A page of text is tiny — a few kilobytes. What blows a PDF up to megabytes is images: scanned pages, phone photos, the screenshots in a slide export. A 12-page scanned contract is really twelve photos in a trench coat.

That points straight at the fix: squeeze the images and leave everything else alone.

The trap: compressors that flatten every page

Here's the honest tradeoff, and it's the thing a lot of "free PDF compressor" sites get wrong. Many shrink a PDF by turning every page into one flat image. The file does get smaller — but your crisp, selectable text becomes a blurry picture. You can't search it, you can't copy a line out of it, and it looks soft on screen.

A better compressor recompresses only the embedded images and copies the text and vector graphics through untouched. ToolsTray's Compress PDF re-encodes each photo with the MozJPEG encoder at the quality you pick, so the words stay sharp and selectable. That's the one thing I'd check for in whatever tool you choose.

Get under 1 MB in three steps

  1. Open Compress PDF and drop your file in. Nothing uploads — it runs in your browser, which matters when the PDF is a contract or an ID.
  2. Choose Target size and type your limit in KB — 1000 for 1 MB, or 200 if a form is stricter.
  3. Download. The tool steps through progressively stronger compression and keeps the lightest result that still fits under your number.

Target-size mode in action: a 1.9 MB scan down to 325 KB (−84%), all on your device.

If you don't need an exact ceiling, skip Target size and pick Balanced — the right call for most reports and decks. Use Light when the photos must stay crisp, Strong when you simply have to make it small.

Tip: Email limits are far bigger than upload-form limits. Gmail and most providers cap attachments around 25 MB, but job portals, government forms, and visa sites often demand 1 MB — sometimes 200 KB. Compress to the smallest limit you actually need to clear, not smaller.

When it barely shrinks (and that's fine)

Compression isn't magic. If a PDF is mostly text, already optimized, or built from image types that can't be safely recompressed, there's little to remove — and a good tool tells you the smallest size it managed instead of mangling the file. ToolsTray's will never hand you a copy larger than the original.

If a text-only PDF is somehow huge, the weight is usually embedded fonts or junk metadata, not images — a different problem with a different fix.

Why "no upload" is the part I care about

When compression runs in your browser, your document never touches a server. For a payslip, a signed contract, or a passport scan, that isn't a marketing line — it's the difference between "trust this random website with my ID" and "the file never left my laptop." Open your browser's network tab while you use it and watch: nothing goes out.

It's also why it's free with no sign-up. There's no server doing the work to pay for — your own device does it.


Try it — free, no signup, runs in your browser: Compress PDF on ToolsTray

Source: dev.to

arrow_back Back to Tutorials