The fastest way to shrink a JPEG
Open your image in any photo editor — Preview on Mac, Photos on Windows, or free tools like GIMP or Photopea — and export it with lower quality settings. Most editors let you choose a quality slider from 1 to 100 when you save. Dropping from 100 to 75 or 80 usually cuts file size in half while the image still looks sharp on screen. The trade-off is real but often invisible unless you zoom in or print large.
If you want to skip the editor entirely, online tools like TinyPNG, Compressor.io, or Squoosh let you upload a JPEG, adjust quality, and download the smaller version in seconds. These work in your browser with no software to install. The file stays on their server only long enough to process — they delete it after you download.
For a batch of images, Squoosh and similar tools can handle multiple files at once. If you work with dozens of photos regularly, learning to use your photo editor's batch export feature saves time: most editors let you apply the same quality setting to a whole folder and save them all at reduced size in one step.
Key Takeaways
- Lowering the quality setting to 75–80 when you save a JPEG typically cuts file size by half while keeping the image clear enough for web and screen use.
- Resizing the image dimensions (width and height in pixels) shrinks file size more than quality alone, but changes what the image looks like.
- Online tools like Squoosh and TinyPNG compress JPEGs in your browser without needing software, and they delete your file after download.
- Removing metadata — the hidden camera settings, location data, and timestamps embedded in the file — saves a small amount of space but requires a dedicated tool.
Reducing dimensions versus reducing quality
A JPEG's file size depends on two things: how many pixels it contains and how much detail the quality setting preserves. Lowering quality compresses the detail within the same pixel count. Resizing shrinks the pixel count itself.
If your image is 4000 × 3000 pixels and you only need it for a website or email, resizing to 1600 × 1200 cuts the file size much more than quality alone. Most photo editors have a "resize" or "scale image" option in the Image menu. Choose your target width or height, lock the aspect ratio so the image doesn't stretch, and the editor calculates the other dimension automatically.
The catch: resizing makes the image smaller on screen. A 4000-pixel photo resized to 1600 pixels looks noticeably less detailed if you print it or view it full-screen. For email, social media, or web pages, 1600 pixels wide is usually plenty. For printing or large displays, you need the original size.
When to use each compression method
| Your goal | Best method | What to expect |
|---|---|---|
| Email or messaging | Lower quality to 70–75, resize to 1200–1600 pixels wide | File shrinks to 200–400 KB; looks sharp on phones and computers |
| Website or blog | Resize to 1200–2000 pixels wide, quality 75–80 | Fast to load; looks good on all screen sizes |
| Social media (Instagram, Facebook) | Resize to platform's recommended size, quality 75–80 | Instagram recommends 1080 × 1350 for portrait; Facebook compresses anyway |
| Printing or archiving | Keep original size and quality 90–95 | Larger file, but preserves detail for large prints |
How to adjust quality in common programs
Preview (Mac): Open the image, go to File → Export, choose JPEG format, and drag the Quality slider. Start at 75 and preview the result before saving.
Photos (Windows): Right-click the image, select Edit, then File → Save As. Choose JPEG and look for a quality or compression option in the save dialog.
GIMP (free, Windows and Mac): Open the image, go to File → Export As, choose JPEG format, and a dialog appears with a Quality slider. The preview updates as you move it so you can see the trade-off in real time.
Photopea (free, browser-based): Upload your image, go to File → Export As, select JPEG, and adjust the quality slider. Download the result immediately.
Removing metadata to save a small amount of space
Every JPEG carries hidden data called metadata — the camera model, date taken, GPS location, and other settings. This adds only 10–50 KB to most files, but if privacy matters to you, removing it is worth doing.
Most online compressors strip metadata automatically. If you want to do it yourself, GIMP has an option: go to Image → Metadata → Clear Exif Data before you export. Online tools like Verexif.com let you upload a JPEG, see what metadata it contains, and download a cleaned version.
Removing metadata does not shrink file size enough to matter for email or web use. Do it if you care about privacy, not if you're only trying to make the file smaller.
Why JPEG gets smaller but PNG and other formats don't compress the same way
JPEG uses lossy compression, which means it throws away some image data to make the file smaller. You can control how much data it discards with the quality slider. Lower quality = more data discarded = smaller file.
PNG uses lossless compression, which keeps all the original data and just reorganizes it. Lowering a PNG's quality setting does almost nothing because there's no data to throw away. If you need to shrink a PNG, you have to resize it or convert it to JPEG format first.
For photos and complex images, JPEG is almost always smaller than PNG at the same visual quality. PNG is better for graphics, logos, and images with text because it preserves sharp edges. If you're trying to shrink a PNG, consider whether converting to JPEG makes sense for your use.
Testing your compressed image before you use it
After you compress a JPEG, open it at full size on the device where you'll use it — your phone for messaging, your monitor for web, your printer for printing. Look at details like text, faces, and fine lines. If it looks good to you, the compression worked. If you see blurriness or color banding (visible stripes of color instead of smooth gradients), increase the quality setting and try again.
Most people find quality 75–80 invisible on screen. Quality 60–70 starts to show artifacts (blocky or fuzzy areas), especially in photos with lots of detail or smooth color gradients. Quality below 60 looks noticeably compressed unless the image is small or viewed from far away.
Frequently Asked Questions
Can I make a JPEG smaller without losing any quality?
Not with JPEG format itself — the whole point of JPEG is to trade some quality for smaller file size. If you need zero quality loss, use PNG or TIFF instead, but those files will be much larger. For most uses, quality 80 looks identical to the original on screen.
What's the smallest file size I can get?
It depends on the image. A simple photo might shrink to 50 KB at quality 70 and 1200 pixels wide. A complex photo with lots of detail might be 300 KB at the same settings. There's no universal minimum — test with your actual image.
Do online compression tools keep my photos?
Reputable tools like Squoosh, TinyPNG, and Compressor.io delete your file immediately after you download it. They don't store it or use it for anything else. If privacy is a concern, use a desktop tool like GIMP or Preview instead.
Will compressed JPEGs look bad when I print them?
If you resize the image to a small pixel count (under 1000 pixels wide), yes — printing will show pixelation. If you keep the original pixel dimensions and only lower quality, printing usually looks fine because printers are forgiving of JPEG compression artifacts.
Can I undo compression and get the original quality back?
No. Once you save a JPEG at lower quality, that data is gone. Always keep a backup of the original before you compress. If you don't have one, you'll need to re-photograph or re-download the image.