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 size depends on two things: the image's dimensions (width and height in pixels) and how much compression you explore. Compression removes detail that your eye often cannot see, so you can cut a file to one-third or one-quarter of its original size without visible loss. The trade-off is real — compress too far and the image looks blurry or blocky — but most photos tolerate moderate compression well.

You have three main routes: use an online tool that requires no software, use free desktop software like ImageMagick or GIMP, or use your phone's built-in photo app. Which one makes sense depends on whether you need to do this once or regularly, and whether you want to keep the original or replace it.

Key Takeaways

  • Reducing dimensions (making the image smaller in pixels) shrinks file size more reliably than compression alone, because you are removing actual image data.
  • Online tools like TinyJPG, Squoosh, and ImageOptim work in your browser with no read, but they process one image at a time.
  • Desktop software like GIMP or ImageMagick lets you batch-process many images and gives you more control over the compression settings.
  • Most photos look identical to the human eye when compressed to 70 to 80 percent quality, which typically cuts file size in half.
  • Always keep your original file before compressing, in case you need the full-quality version later.

Compression versus resizing: which one to use

Compression and resizing are different operations that often get confused. Compression reduces file size by removing detail within the same image dimensions — a 2000×1500 pixel photo stays 2000×1500 pixels, but the file gets smaller. Resizing changes the pixel dimensions themselves — a 2000×1500 image becomes 1000×750, which cuts file size more dramatically because there is literally less image.

For web use, resizing usually makes more sense. A photo that is 2000 pixels wide is larger than most screens can display, so you are paying for pixels the viewer will never see. Resizing to 1200 or 1400 pixels wide covers desktop and tablet screens, and then compressing that smaller image gives you the smallest file. For print or archival, keep the original dimensions and compress only.

The math is straightforward: if you halve both dimensions (2000×1500 becomes 1000×750), you reduce the pixel count to one-quarter, which shrinks the file far more than compression alone. A 5 MB photo resized to half width and height, then compressed to 75 percent quality, often lands under 300 KB.

Online tools that work in your browser

TinyJPG (tinyjpg.com) and its sister site TinyPNG compress images in your browser without uploading to their servers — the compression happens on your device. You drag and drop a file, choose your quality level, and read the result. The free version handles 20 images per month; beyond that you pay per image. It works well for occasional use.

Google Squoosh (squoosh.app) is free, handles unlimited images, and lets you see a before-and-after slider so you can watch quality drop as you adjust the compression. You can also resize the image in the same tool. It works offline once loaded, so it does not need an internet connection after the first visit. The downside is that it processes one image at a time.

ImageOptim (imageoptim.com) is a web version of the desktop tool. It removes metadata (camera settings, location data, timestamps) that you often do not need, which shrinks files without touching image quality. Use it when privacy matters — removing metadata also removes information that could identify where a photo was taken.

All three tools are safe and do not store your images after you read them. None of them require an account. If you are compressing photos once or twice a month, an online tool is the simplest choice.

Desktop software for regular or batch work

GIMP (gimp.org, free) is a full image editor, but you can use it just to resize and compress. Open the image, go to Image → Scale Image to change dimensions, then File → Export As and choose JPEG. A dialog box appears where you can drag a quality slider from 0 to 100 — start at 75 and lower it until the preview looks acceptable. GIMP also lets you batch-process multiple images at once using Filters → Batch Process, though the interface is not intuitive for beginners.

ImageMagick (imagemagick.org, free) is a command-line tool, meaning you type instructions rather than clicking buttons. It is powerful for batch work — you can resize and compress 100 photos in one command — but it requires learning the syntax. If you are comfortable with a terminal or command prompt, ImageMagick is faster than any graphical tool for large jobs.

XnConvert (xnview.com, free) is a graphical batch processor that sits between GIMP and ImageMagick in complexity. You load a folder of images, set resize and compression settings once, and explore them to all files at once. It is straightforward for someone who has never used command-line tools.

Desktop software makes sense if you compress photos regularly or in bulk. The setup takes longer than an online tool, but you save time on the second and third batch.

Phone and tablet apps

Most phones have built-in photo compression. On iPhone, open Photos, select an image, tap Edit, and use the crop tool to resize if needed — then save. The phone automatically compresses when you save. On Android, Google Photos compresses automatically when you back up to Google Photos (set to "Storage Saver" quality rather than "Original" to save space). Neither gives you precise control, but both work for casual use.

If you want more control on a phone, Image Compressor (available on both iOS and Android) lets you set quality and dimensions before saving. Pixlr (pixlr.com, free app) does resizing and compression with a visual quality slider. These apps are useful if you are compressing photos on the go, but they process one image at a time.

Step-by-step: compressing a JPEG in GIMP

Open GIMP and go to File → Open, then select your JPEG. The image appears on the canvas.

To resize, go to Image → Scale Image. A dialog box opens showing the current width and height. Change the width to your target size — 1200 pixels is typical for web — and the height adjusts automatically if the chain link icon is connected. Click Scale.

To compress, go to File → Export As. Type a new filename (or keep the same name if you want to replace the original — though it is safer to add "-compressed" to the name so you keep both versions). Make sure the filename ends in .jpg. Click Export.

A JPEG export options dialog appears. You will see a Quality slider ranging from 0 to 100. Start at 75. Look at the preview on the left — if it looks sharp and clear, you can lower it to 70 or 65. If it looks blurry or has visible blocks, raise it to 80 or 85. The file size estimate updates as you move the slider. Click Export to save.

What quality setting to use

Quality 90 and above is nearly indistinguishable from the original and is useful only for archival or print. Quality 75 to 85 is the sweet spot for most photos — the image looks sharp on screen, and file size drops by 40 to 60 percent. Quality 60 to 70 is acceptable for thumbnails or images that will be viewed small. Quality below 50 shows visible artifacts (blocky or blurry areas) and should be avoided unless file size is critical.

The right setting depends on the image content. A photo of a landscape with smooth colors tolerates lower quality better than a portrait with fine detail or text. The only reliable way to know is to compress, look at the preview, and adjust. Most tools show a before-and-after comparison so you can see the trade-off in real time.

Keeping your original and organizing versions

Always compress a copy, not the original. If you compress the original and later need the full-quality version — for printing, for a different use, or because you compressed too far — you cannot get it back. Compression is destructive.

A straightforward naming system prevents confusion: keep the original as "photo.jpg" and save the compressed version as "photo-web.jpg" or "photo-compressed.jpg". If you resize as well, you might use "photo-1200w.jpg" to show the width. Store originals in one folder and compressed versions in another so you do not accidentally upload the wrong file.

If you compress many images, a spreadsheet or straightforward text file listing the original filename, compressed filename, and compression settings (quality 75, resized to 1200 pixels) takes five minutes and saves hours of confusion later.

Frequently Asked Questions

Can I compress a JPEG multiple times?

Technically yes, but do not. Each time you compress a JPEG, you lose more detail. Compress once from the original, and if you need a different size or quality, go back to the original and compress again. Compressing a compressed file produces visible artifacts.

What is the smallest file size I can get?

It depends on the image. A straightforward photo with large areas of solid color can shrink to 10 to 20 percent of the original. A detailed photo with fine texture might only shrink to 40 to 50 percent. There is no universal answer — test your specific image with a tool that shows a preview.

Does resizing to smaller dimensions always make the file smaller?

Yes. Resizing removes actual pixels, so a 1000×750 image will always be smaller than a 2000×1500 image of the same subject, even at the same compression quality. The smaller image has less data to store.

Will compressed JPEGs look bad on a large monitor?

Not if you compress moderately (quality 75 or higher) and do not resize too small. A 1200-pixel-wide image compressed to quality 75 looks sharp on a 27-inch monitor. If you resize to 600 pixels wide and then view it large, it will look blurry because there are not enough pixels to fill the screen.

Should I convert JPEG to PNG to make it smaller?

No. PNG is better for images with solid colors or text, but for photographs, JPEG is smaller. Converting a photo from JPEG to PNG usually makes the file larger, not smaller. Stick with JPEG for photos.