You've been there: a job portal rejects your 4.2 MB photo ("max 2 MB"), Gmail refuses a 30 MB batch of attachments, or your website takes eight seconds to load because of one hero image. The fix isn't a smaller camera or expensive software — it's compression. A 5 MB photo can usually become 800 KB with zero visible difference, and you can do it in your browser in under a minute, for free.
This guide shows you exactly how to compress images online — PNG, JPG, WebP, AVIF, GIF, TIFF, BMP, and HEIC — explains when to compress versus resize or convert formats, and flags the mistakes that ruin image quality.
How to compress an image in 4 steps
- Go to PurePDF's free image compressor (https://www.purepdf.net/compress-image). No account, no download, no watermark.
- Click Choose image files and upload your PNG, JPG, WebP, AVIF, GIF, TIFF, BMP, or HEIC file. You can queue multiple images at once.
- Pick a quality level. For photos, 75–85% quality typically cuts 50–80% of the file size while looking identical on screen. For web graphics, you can often go lower.
- Download the compressed image. That's it — the file never needs to leave your browser tab longer than the compression itself takes.
Most images finish in seconds. If you're on a phone, the same page works in mobile Safari and Chrome — handy when a form demands a sub-2 MB upload and all you have is your camera roll.
Compress vs. resize vs. convert: which do you need?
People use "compress" to mean three different things, and picking the wrong one wastes time:
- Compress = keep the same dimensions (e.g., 4000×3000 px) but encode the data more efficiently. Best when you need the full resolution — printing, portfolios, archiving.
- Resize = reduce the dimensions (e.g., 4000×3000 → 1600×1200). Best when the image is simply bigger than it will ever be displayed — a 12 MP phone photo shown at 800 px wide on a blog doesn't need 12 megapixels.
- Convert format = change the container (e.g., PNG → WebP). Best when you're stuck with an inefficient format — more on that below.
For the common cases (email attachments, form uploads, faster websites), compression alone is usually enough. If the file is still too big after compressing, resize it next — the combination of both routinely turns a 6 MB phone photo into a 300 KB file that looks the same at screen size.
Which format should your image be in?
The format matters as much as the compression setting. Quick cheat sheet:
- JPG/JPEG — the workhorse for photographs. Lossy, universally supported. If your photo is a PNG (common with screenshots and phone exports), converting to JPG alone can cut 60–70% before you even touch a quality slider.
- PNG — best for screenshots, logos, and anything with text or sharp edges, because it preserves crisp lines. Also the only common choice when you need transparency. Terrible for photos — a PNG photo is often 3–5× larger than the same shot as a JPG.
- WebP — Google's modern format: 25–35% smaller than JPG at the same visual quality, supports transparency and animation. Supported by every major browser since 2020. If you run a website, WebP is the single highest-leverage image change you can make.
- AVIF — the newest option, roughly 50% smaller than JPG at equivalent quality. Browser support is now broad (Chrome, Firefox, Safari all support it). The catch: encoding is slower and a few older tools still can't open AVIF files. Great for web delivery; risky for email attachments to unknown recipients.
- GIF — only for simple animations. For a still image, GIF is always the wrong answer in 2026 — convert it to PNG or WebP.
- HEIC — what iPhones shoot by default. Excellent compression, but Windows and many web forms can't open it. If a portal rejects your iPhone photo, convert HEIC → JPG first, then compress.
- TIFF / BMP — archival and print formats. Huge files, no place on the web. Convert to JPG or WebP and compress.
PurePDF's compressor accepts all of these, so you don't need a separate converter for most cases — upload the HEIC or TIFF directly and download a web-friendly compressed file.
How much can you realistically shrink an image?
Honest numbers, not marketing:
- Phone photo (JPG, 4–6 MB) → 80% quality: typically 800 KB–1.5 MB. Invisible difference on any screen.
- Screenshot (PNG, 1–2 MB) → PNG at reduced colors or WebP: often 200–400 KB, text stays razor sharp.
- PNG photo exported by mistake (8–12 MB) → JPG 80%: under 1.5 MB. This is the biggest easy win most people are sitting on.
- Already-optimized web image: maybe 10–20%. Diminishing returns are real — don't compress the same file five times.
The golden rule: never compress a JPG more than once. Each pass throws away more data, and the artifacts compound. Always compress from the original.
Quality settings, translated to plain English
- 90–100% — archival. Barely smaller than the original. Use only if every pixel matters.
- 75–85% — the sweet spot for photos. Big savings, no visible change at normal viewing sizes.
- 60–75% — fine for thumbnails, social posts, and email. Slight softening if you pixel-peep.
- Below 60% — blocky artifacts appear. Only for drafts and placeholders.
For PNG screenshots with text, quality works differently — keep it high (85%+) or the text edges get fuzzy. When in doubt, compress at 80%, zoom to 100%, and compare with the original side by side. If you can't tell which is which, you're done.
Batch and mobile tips
- Batch before you upload. Portals with per-file limits (2 MB each, say) are faster to satisfy if you compress a whole folder in one pass rather than one file at a time.
- On iPhone: your photos are HEIC. Either convert to JPG in the Files app first, or upload the HEIC directly to the compressor and download a JPG — one step instead of two.
- On Android: the share sheet's "resize" options in Google Photos are decent, but a browser compressor gives you format control Photos doesn't.
- For websites: after compressing, serve WebP (or AVIF) with a JPG fallback. Compress once at export, then let your CDN handle the rest — re-compressing on every page load is wasted CPU.
5 mistakes that ruin compressed images
- Compressing an already-compressed file — artifacts stack. Start from the original every time.
- Saving a photo as PNG — the #1 file-size sin. Photos belong in JPG/WebP/AVIF.
- Saving a logo as JPG — the reverse sin. Text and flat colors get halos in JPG; use PNG or WebP.
- Uploading the full 12 MP original to a blog — resize to the display width first, then compress. A 4000 px image displayed at 800 px is 25× the pixels it needs.
- Ignoring transparency — converting a transparent PNG to JPG fills the background (usually black or white). If you need transparency, stay in PNG or WebP.
FAQ
Is compressing images online free? Yes — PurePDF's image compressor at https://www.purepdf.net/compress-image is free with no signup, no watermarks, and no daily caps on typical use.
Will compressing reduce image quality? At 75–85% quality, no visible difference for photos. Compression is lossy by nature, so always keep your original file and compress a copy.
What's the smallest image format? AVIF, then WebP, then JPG for photos; WebP or PNG for graphics with transparency. A photo as AVIF is often half the size of the same photo as JPG.
Can I compress images on my phone? Yes. The compressor runs entirely in the browser, so it works on iPhone and Android with nothing to install — useful when a form caps uploads at 1–2 MB.
Is there a file size limit? Typical phone and camera photos (up to ~50 MB) process fine. For very large print-resolution TIFFs, convert to JPG first for a faster upload.
Do my images get uploaded to a server? Files are processed for the compression task and aren't kept or shared. As with any online tool, avoid uploading sensitive documents you wouldn't email.
The 30-second version
Next time an upload form, email client, or website chokes on your image: open https://www.purepdf.net/compress-image, drop the file in, pick ~80% quality, and download the result. Check that it looks identical, then send the small one and keep the original. It's the rare computer task that genuinely takes less time than reading about it.
Ready to compress image?
Use our free online tool to process your files securely in high quality. No sign-up required.
Open compress image Tool