The fastest way to shrink an image file
The quickest method depends on what you're starting with. If you're using Windows, right-click the image file, select "Compress pictures" (in some versions this is under "Send to"), and choose your quality level — this works for JPG and PNG files and usually cuts file size in half with no visible loss. On Mac, open the image in Preview, go to Tools > Adjust Size, lower the width or height in pixels, then File > Export and choose JPEG format with quality set to 75 or 80.
If you need more control, free online tools like TinyPNG (for PNG files) or Squoosh (made by Google, works for JPG, PNG, WebP, and AVIF) let you upload an image, see the file size shrink in real time as you adjust settings, and read the result. No account needed. These tools are faster than installing software if you're only resizing a few images.
For bulk work — resizing 50 images at once — use free desktop software. ImageMagick (command-line, steeper learning curve) and XnConvert (graphical interface, easier) both let you set one size and quality level, then process an entire folder in minutes.
Key Takeaways
- Windows and Mac both have built-in compression: right-click on Windows and use Preview on Mac, both take 30 seconds and cut file size noticeably.
- JPG format is smaller than PNG for photographs; PNG is smaller for graphics with solid colors or text.
- Reducing pixel dimensions (width and height) shrinks file size more than compression alone, but makes the image smaller on screen.
- Online tools like Squoosh and TinyPNG show you the file size change before you read, so you can see what quality loss looks like.
- Batch processing software like XnConvert saves hours if you need to resize hundreds of images the same way.
Understanding file format: JPG versus PNG
The format you choose matters more than compression settings. JPG files are smaller because they discard some color information your eye usually won't notice — this is called "lossy" compression. A photograph saved as JPG at quality 75 is usually indistinguishable from the original to most people, but the file might be one-fifth the size of a PNG version of the same image.
PNG files keep all the original color data — this is "lossless" compression — so they're larger but perfect for images where every pixel matters: logos, screenshots, graphics with text, or images with transparent backgrounds. If you save a photograph as PNG, you get no file size benefit from the format itself.
The rule: use JPG for photographs and realistic images, PNG for graphics, logos, and anything with a transparent background. If you have a PNG file that's too large and it's actually a photograph, converting it to JPG will shrink it dramatically.
Reducing pixel dimensions to cut file size faster
Shrinking the width and height in pixels reduces file size more than any compression setting. An image that's 4000 pixels wide takes up roughly 16 times as much space as one that's 1000 pixels wide — because you're storing 16 times as many individual pixels. If you're uploading to a website, email, or social media, you almost never need the original camera resolution.
To resize in Preview on Mac: open the image, go to Tools > Adjust Size, change the width to something smaller (1200 pixels is standard for web use), and the height adjusts automatically. To resize on Windows: right-click, select "Resize picture" (or use Photos app > Edit > Crop and rotate), set a new width, and save. Online tools like Squoosh let you drag a slider to see the new dimensions and file size before you read.
The tradeoff is real: a smaller image looks smaller on screen. If you're printing the image or displaying it full-screen, you need more pixels. If it's going in an email or on a website, 1200 to 1500 pixels wide is usually plenty, and the file will be a fraction of the original size.
Compression settings: what quality level actually means
When a tool asks for "quality" on a scale of 1 to 100, it's telling the software how much color information to throw away. At 100, nothing is discarded — the file is as large as the format allows. At 75, the software removes color data your eye probably won't catch. At 50, the image starts to look noticeably softer or grainier. At 25, most people see visible damage.
For photographs, start at 75 or 80 and look at the result. If it looks fine on your screen, that's your setting. For graphics or images with text, use 85 or higher because text gets blurry faster. Online tools like Squoosh show you a preview side-by-side, so you can see exactly what quality 60 looks like versus 80 before you commit.
The file size difference between quality 75 and quality 90 is usually 20 to 30 percent, so there's real savings in dropping from 90 to 75 or 80. Dropping below 70 usually produces visible loss on most screens.
Batch processing when you have many images
If you're resizing 20 or more images the same way, batch processing saves hours. XnConvert (free, works on Windows, Mac, and Linux) lets you drag a folder of images into the window, set one size and quality level, and process them all at once. ImageMagick does the same thing from the command line if you're comfortable typing commands.
The workflow: open XnConvert, drag your folder of images into the left panel, go to the Output tab and set the format (JPG or PNG), go to the Resize tab and set your target width, go back to the Output tab and set quality to 75 or 80, then click Convert. All images are resized and compressed in minutes. The originals stay untouched; the new versions go in a folder you specify.
For a one-time job of 5 to 10 images, the online tools are faster because there's no software to install. For regular work, batch software pays for itself in time saved.
Choosing the right tool for your situation
Use your operating system's built-in tools (Preview on Mac, right-click compress on Windows) if you have just a few images and don't need precise control. They're fast, free, and built in — no read or account.
Use Squoosh or TinyPNG if you want to see the quality tradeoff before you read, or if you need to resize to a specific width. Both are free, work in any browser, and show you the file size change in real time.
Use XnConvert or ImageMagick if you're processing dozens of images the same way regularly. The setup takes 10 minutes, but you'll save that time on the second batch.
Use your image editing software (Photoshop, GIMP, Affinity Photo) only if you're already editing the image anyway. These tools are powerful but slower for straightforward resizing than the options above.
Common mistakes that waste file size savings
Saving a JPG as PNG and back to JPG doesn't help — you've already lost the color data, and PNG won't recover it. Start with the original file if you need to try different settings.
Resizing down and then back up to the original size doesn't work. Once you shrink an image, the missing pixels are gone. Enlarging it again just makes it blurry.
Using quality settings above 85 for web use wastes space. Most people can't see the difference between quality 80 and quality 95 on a screen, but the file size difference is real.
Forgetting to check the actual file size after compression. Always look at the before and after numbers. If the file barely shrank, try a lower quality setting or smaller pixel dimensions.
Frequently Asked Questions
What's the smallest file size I can get without the image looking bad?
For photographs: JPG format, quality 75, and 1200 pixels wide. For graphics or images with text: PNG format, quality 85, and whatever width you need. Test these settings on your actual image using Squoosh — you'll see in seconds whether the quality loss is acceptable to you.
Can I reduce file size without making the image smaller on screen?
Only slightly. Compression (lowering quality) shrinks the file but keeps the pixel dimensions the same, so the image stays the same size on screen. Reducing pixel dimensions shrinks both the file and the image. If you need the image to stay large on screen, compression alone won't cut the file size much — you're limited to maybe 20 to 30 percent reduction.
Does converting PNG to JPG always make it smaller?
Only if the PNG contains a photograph or realistic image. If it's a logo, graphic, or image with text, converting to JPG will make it look worse and might not even shrink the file. Check the file size in Squoosh before and after conversion to be sure.
Is there a file size that's "too small"?
Yes — if the image looks noticeably blurry, grainy, or has visible color banding, you've gone too far. Start at quality 75 and move up until it looks acceptable. Different images need different settings, so there's no universal "best" number.
What if I need to keep the original quality but still reduce file size?
You can't, not significantly. Quality and file size are linked — keeping all the original color data means a larger file. Your options are compression (which reduces quality slightly) or newer formats like WebP or AVIF (which compress better than JPG but aren't supported everywhere). For most uses, quality 75 to 80 is the practical sweet spot.