Compress JPG Online
Reduce JPEG file size by up to 80% with adjustable quality. Perfect for web, email, and social media. Free, no signup.
How to Compress a JPG Image
Upload JPG
Drag and drop your JPG or JPEG image into the tool above, or click to browse. Supports files up to 100 MB.
Choose Quality
Select a compression level: Low (60) for maximum size reduction, Good (80) for the best balance, or Very High (92) for near-lossless output.
Download
Click Compress & Download and get your smaller JPG. The result shows exactly how many bytes you saved.
How JPEG Compression Works
JPEG compression uses a multi-step process to reduce file size by discarding visual data the human eye is least sensitive to:
- Color space conversion — the image is converted from RGB to YCbCr, separating brightness (luma) from color (chroma). Human vision is more sensitive to brightness than color, so chroma channels can be compressed more aggressively.
- Block splitting — the image is divided into 8×8 pixel blocks. Each block is processed independently.
- Discrete Cosine Transform (DCT) — each block is transformed from pixel values into frequency components. Low frequencies represent gradual color changes; high frequencies represent sharp edges and fine detail.
- Quantization — this is where the actual compression happens. High-frequency components (fine details) are rounded down or eliminated based on the quality setting. Lower quality = more aggressive quantization = smaller files.
- Huffman coding — the remaining data is encoded using variable-length codes, similar to ZIP compression, for the final size reduction.
At quality 80, most of the discarded data is in high-frequency details that the human eye can barely perceive — which is why the image looks virtually identical to the original.
Quality Levels Guide
| Quality | Size Reduction | Visual Quality | Best For |
|---|---|---|---|
| 95 | 5–15% | Indistinguishable from original | Print, archival, photography portfolios |
| 90 | 15–25% | Near-original, no visible artifacts | High-quality web, e-commerce product photos |
| 85 | 30–40% | Excellent — differences only visible at 400% zoom | Hero images, blog cover photos, detailed graphics |
| 80 | 40–50% | Visually identical for most images | General web use, blog posts. Recommended default. |
| 70 | 55–65% | Minimal difference, slight softening | Social media, email attachments, thumbnails |
| 60 | 70–80% | Visible artifacts on detailed areas | Previews, placeholders, images where size matters most |
Pro tip: Quality 80 is the sweet spot — visually identical to the original with 60–70% file size reduction. Most professional web developers use this setting as their default.
Compress JPG for Web
Google PageSpeed Insights and Lighthouse penalize pages with oversized images. Here are recommended JPG sizes for common web elements:
| Image Type | Target Size | Quality | Dimensions |
|---|---|---|---|
| Hero / Banner | Under 300 KB | 80–85 | 1920×1080 or smaller |
| Blog Post Image | Under 200 KB | 80 | 1200×800 or smaller |
| Product Photo | Under 250 KB | 85 | 1000×1000 or smaller |
| Thumbnail | Under 50 KB | 75 | 300×300 or smaller |
| Social Media OG Image | Under 300 KB | 80 | 1200×630 |
Keeping images under these thresholds can improve your Lighthouse Performance score by 10–20 points. Compress first, then resize if the image is larger than needed using our Resize Image tool.
Compress JPG for Email
Email providers impose attachment size limits that can prevent your images from being delivered:
- Gmail — 25 MB total attachment size
- Outlook / Hotmail — 20 MB total attachment size
- Yahoo Mail — 25 MB total attachment size
- Apple iCloud Mail — 20 MB total attachment size
A single uncompressed photo from a modern smartphone is 5–12 MB. Compress at quality 70–80 to reduce each image to 500 KB–2 MB without visible quality loss. This lets you attach 10–20 photos in a single email instead of 2–3.
For sharing many photos, compress each to quality 75 and consider resizing to 1920×1080 or smaller — recipients rarely need the full 48 MP resolution of modern phone cameras.