The fastest way to shrink a JPEG is to compress it, and most tools let you choose how much quality to trade for file size

A JPEG file shrinks when you reduce either its dimensions (how many pixels wide and tall) or its compression level (how much detail the file discards). Most of the time, compression alone works — you can cut a file to one-third its original size and barely see the difference. If you need it smaller still, you resize the image, which means fewer pixels overall.

The tool you use depends on what you have on hand. Windows and Mac both have built-in options. Free online tools like TinyJPG or Squoosh work in your browser with no download. Desktop programs like Adobe Lightroom or IrfanView give you more control if you're processing many files at once. The choice matters less than understanding what each slider actually does — compression and dimensions are the only two levers that exist.

Key Takeaways

  • Compression removes detail from the image to shrink the file; you control how much quality to keep by adjusting the quality slider, usually set between 70 and 85 for most photos.
  • Resizing the image (changing its pixel dimensions) shrinks the file more than compression alone, but you cannot enlarge it later without blurriness.
  • Windows Photos and Mac Preview both compress JPEGs without installing anything; right-click the file and look for "Compress" or "Export".
  • Online tools like Squoosh or TinyJPG show you a before-and-after preview so you can see what quality level works for your use.
  • Batch processing tools like IrfanView let you compress dozens of files at once with the same settings, which saves time if you have many photos.

Compress a JPEG using Windows Photos

Open the image in Windows Photos (the default photo viewer on Windows 10 and 11). Click the three dots in the top right, then select "Edit" and look for a menu option labeled "Compress" or "Resize". Windows will show you a slider for quality — drag it left to make the file smaller, right to keep more detail. The preview updates as you move it so you can see the trade-off in real time.

When you're satisfied, click "Save as" and choose a new filename (so you keep the original). Windows will write the compressed version to your Downloads folder or wherever you choose. The file size appears in the save dialog, so you can see exactly how much smaller it is before you confirm.

Compress a JPEG using Mac Preview

Open the image in Preview (the default on Mac). Go to Tools in the menu bar, then select "Adjust Size". You'll see two sections: Image Size (the pixel dimensions) and Resolution (dots per inch). Leave Resolution alone unless you know you need to change it. If you only want to compress without resizing, skip this step.

Instead, go to File > Export. A dialog opens with a Quality slider at the bottom — drag it left to compress more, right to keep more detail. The file size updates below the slider as you move it. Choose your filename and location, then click Save. Mac will write the compressed file without touching the original.

Use an online tool for a quick preview

Squoosh (squoosh.app) and TinyJPG (tinyjpg.com) both let you upload a JPEG, adjust compression, and download the result without installing anything. Squoosh shows the original and compressed versions side by side as you move the quality slider, which makes it easy to see whether 75% quality or 85% quality is right for your image. TinyJPG compresses automatically and shows you the file size reduction in percentage.

Both tools work in your browser and delete your file from their servers after you download it. Neither requires an account. If you're compressing just one or two images and want to see the difference before committing, these are the fastest route.

Resize the image if compression alone isn't small enough

If you've compressed to 75% quality and the file is still too large, the next step is to make the image smaller in pixels. A 4000-pixel-wide photo takes up far more space than a 2000-pixel-wide version of the same shot. You lose the ability to print it large or zoom in without blur, but for email, web, or social media, smaller dimensions often work fine.

In Windows Photos, click Edit > Resize and choose one of the preset sizes (Small, Medium, Large) or enter custom dimensions. In Mac Preview, go to Tools > Adjust Size and change the width or height — the other dimension scales automatically if you keep the chain link icon connected. Online tools like Squoosh also have a resize option above the compression slider.

As a rough guide: 1200 pixels wide is plenty for social media, 800 pixels for email, 2000 pixels if you might print it at 4x6 inches. Smaller dimensions mean smaller files, so if you know where the image is going, you can size it for that use from the start.

Process multiple JPEGs at once with IrfanView

IrfanView is a free Windows program that compresses or resizes dozens of files with one set of settings. Download it from irfanview.com, install it, then open File > Batch Conversion. Select the folder containing your JPEGs, choose your output folder, and set the compression quality and dimensions you want. Click Start and IrfanView processes all of them without you touching each one.

This saves time if you have a folder of photos from a camera or phone that all need to be smaller. You set the rules once and let it run. Mac users can do something similar with Automator (built into Mac) or third-party tools like ImageMagick, though the setup is more technical.

Understand what quality percentage actually means

When you see a quality slider labeled 0 to 100, you're controlling how much detail the JPEG algorithm discards. At 100%, the file keeps all the detail but stays large. At 50%, it removes half the detail and shrinks significantly. Most photos look nearly identical at 75 to 85% quality — the human eye struggles to spot the difference. Below 60%, compression artifacts (blocky or blurry patches) become visible.

Start at 80% and look at the preview. If it looks fine, try 75%. If you see blurriness or blocks, go back to 80%. This takes 30 seconds and beats guessing. Different images compress differently — a photo of a landscape tolerates lower quality than a close-up of a face, because faces show compression artifacts more obviously.

Frequently Asked Questions

Can I compress a JPEG without losing any quality?

No. JPEG compression always discards some detail — that's how it shrinks the file. You can compress so little that the loss is invisible to the human eye (usually around 75 to 85% quality), but true lossless compression doesn't exist for JPEG. If you need zero quality loss, you'd have to switch to PNG or TIFF format, which makes files much larger.

What's the difference between compressing and resizing?

Compression removes detail from the image data while keeping the same pixel dimensions. Resizing changes how many pixels the image contains — a 4000-pixel-wide photo becomes 2000 pixels wide. Resizing shrinks the file more than compression alone, but you can't enlarge it later without blur. Use compression first, then resize only if you need it smaller still.

Will compressing a JPEG ruin it for printing?

Not if you compress to 75% quality or higher and don't resize it. A 4x6 inch print needs about 800 to 1200 pixels wide; if your image is larger and you compress moderately, it will print fine. If you resize it down to 400 pixels wide, it will look blurry when printed. Know your print size before you resize.

Can I undo compression if I change my mind?

No. Once you save a compressed JPEG, the discarded detail is gone forever. Always keep the original file and compress a copy. Save the compressed version with a new filename (like "photo-compressed.jpg") so you have both.

Why is my compressed file still huge?

If compression to 70% quality barely shrinks the file, the image is probably very large in pixels — like 6000 pixels wide. Compression works best on already-reasonably-sized images. Try resizing to 2000 or 3000 pixels wide first, then compress. That combination usually gets you the file size you need.