FilesTutorialFree Tools

How to Compress Images for Free Without Losing Quality

TG By The TechFix Guide Editorial Team  ·  Published  ·  Last reviewed  ·  How we check our guides
A person comparing photo thumbnails on a large desktop monitor in a bright home office

A phone photo routinely weighs 3 to 5 MB, and a folder of them can choke an email, a web page, or a cloud storage quota. The good news is that almost every image carries far more data than it needs, and you can strip that away for free with tools you probably already have. This guide shows the order of operations that matters — resize first, then compress — and which format to choose so the result still looks crisp at 100 percent zoom.

Why images are so big in the first place

Three things drive image file size: the pixel dimensions, the file format, and the quality setting used when saving. A 4000-pixel-wide phone photo has more than four times the pixels of a 1920-wide version, and uncompressed formats like BMP or TIFF store every one of those pixels in full. Formats like JPEG, PNG, and WebP use compression to throw away or reorganize data your eye will not miss — but each does it differently, which is why choosing the right format is half the battle.

Compression comes in two flavors. Lossless compression shrinks the file without discarding a single pixel of information, so you can always get back exactly what you put in. Lossy compression permanently discards detail, carefully targeting the parts human vision is least sensitive to. Lossy wins on file size by a wide margin; the skill is choosing a quality level where the loss is invisible.

Step 1: resize before you compress

Compressing a 4000-pixel photo and then posting it at 800 pixels wide wastes effort. Resizing throws away pixels you never display, which is the single biggest size reduction available and it costs nothing in on-screen quality.

An image resizing tool with width and height fields and a save button
Resizing first removes far more data than compressing does, and it costs no visible quality.

Match dimensions to the destination:

  • Full-width image on a website: 1600 to 1920 pixels wide is plenty for modern screens.
  • Content-width image inside an article: 800 to 1200 pixels wide.
  • Email attachment or chat: 1280 to 1600 pixels wide is usually indistinguishable.
  • Profile pictures and avatars: a few hundred pixels each way.

On Windows, the built-in Photos app does this in three clicks: open the image, press the three-dot menu, choose Resize image, and pick a preset or a custom width. macOS Preview and every mainstream free editor have the same feature under Image > Resize or Image > Scale. Keep the aspect ratio locked so nothing stretches.

Step 2: pick the right format

JPEG is the default for photographs. It compresses smooth gradients like skin, sky, and shadows extremely well. Set quality between 75 and 85 and most photos look identical to the original at normal viewing size. Below about 60, you start to see blocky edges and smudged detail around high-contrast borders.

PNG is the right choice for screenshots, diagrams, logos, text, and anything with flat colors or sharp edges. JPEG smears the hard edges of text into visible fuzz; PNG keeps them razor sharp with lossless compression. The trade-off is that PNG is poor at photos — a photograph saved as PNG can be ten times larger than the same photo as JPEG.

WebP is the modern all-rounder: it handles photos and graphics, and at equal visual quality it usually lands 25 to 35 percent smaller than JPEG. Every current browser supports it, so it is a safe choice for anything you upload to the web. Older desktop applications and some devices still expect JPEG or PNG, so keep the original if compatibility is uncertain.

A quick decision rule: photos go to JPEG or WebP, everything with text or sharp edges goes to PNG or WebP, and if in doubt on the web, try WebP first.

Step 3: compress with free tools

For a handful of images, online compressors are the fastest path. Sites like TinyPNG (which despite the name handles JPEG too) and Squoosh run in the browser, need no installation, and show you a side-by-side preview with the exact size saved. Squoosh is particularly useful because it lets you drag a quality slider and watch the trade-off happen in real time before downloading. For anything private or sensitive, remember you are uploading those files to a third party; use a local tool instead.

For batches on Windows, use the tools that stay on your machine. IrfanView (free for personal use) can convert and compress an entire folder in one pass through File > Batch Conversion, letting you set the output format and quality once for hundreds of files. GIMP, the free open-source editor, exports with full control over quality when you use File > Export As. Our tools page lists these and other free utilities worth installing.

On macOS, Preview can export to JPEG with a quality slider (File > Export), and the sips command line tool resizes and converts folders of images in one terminal command for the comfortable-with-terminal crowd.

How much can you actually save?

Realistic results from a typical 4000-pixel, 4 MB phone photo:

  • Resized to 1600 pixels wide, saved as JPEG quality 80: roughly 250 to 400 KB — about a tenth of the original, with no visible difference on screen.
  • Same resize saved as WebP quality 80: roughly 150 to 250 KB.
  • A 1920-pixel screenshot saved as PNG instead of JPEG: often half the size of the JPEG and noticeably sharper around text.

The exact numbers vary with image content — busy textures compress less than clean skies — but the pattern holds: resize first, and format choice matters as much as the quality slider.

Mistakes that make images look bad

  • Re-compressing a JPEG repeatedly. Every save-as-JPEG pass adds new artifacts. Always edit from the original and export once.
  • Cranking quality to 100. JPEG at 100 wastes enormous space on differences nobody can see. Quality 80 exists for a reason.
  • Upscaling to "restore" quality. Enlarging a small image adds pixels but not detail. Keep the resized copy alongside the original instead of overwriting it.
  • Sending screenshots as JPEG. Text edges suffer immediately. PNG keeps them clean and is often smaller anyway.

A workflow worth keeping

Keep originals in one untouched folder, and export optimized copies to a second folder whenever you need them — email, web upload, or chat. Ten seconds per image buys you tenfold smaller files, faster pages, and happier recipients. If your storage troubles go beyond images, the same resize-first-then-compress logic applies to video and documents too, and our guide to compressing large files without losing quality covers the rest. More step-by-step guides live on the blog index.

Why Images Are So Big

A modern phone camera produces 12 megapixel images. A 4K monitor displays about 8.3 million pixels. That gap — between what the camera captures and what the screen can show — is where all the recoverable space is.

Two numbers explain the storage: resolution (pixels) and quality setting (compression). You can reduce either, and they interact.

A JPEG at full resolution and quality 100 might be 6 MB. The same image at 1920 pixels on the long edge and quality 82 is usually around 300 KB, and on a screen it is indistinguishable. That is a 95% reduction, and it is entirely from throwing away data no one will see.

Resolution is the bigger lever. Doubling quality from 80 to 90 might save 20% of the file. Halving the dimensions typically saves 75%. Always resize first, then adjust quality.

Resizing: The Step Most People Skip

Resizing does not lose any information — it discards pixels that were never going to be displayed. It is the closest thing to lossless that image compression offers.

The decisions to make:

  • Long edge vs. total pixels. "Long edge 1920 pixels" is easier to reason about; "total pixels 2 megapixels" gives more consistent file sizes across orientations.
  • Never enlarge. Upscaling adds pixels that contain no new information, inflates the file, and leaves the image softer than the original.
  • Do not resample in a lossy format. Resize from the original, not from a previously compressed copy. Repeatedly opening and re-saving a JPEG degrades it every time.
  • Keep the original. Resize into a new folder rather than overwriting.

Windows has this built in. In File Explorer, select the images, right-click, Resize pictures, and choose a preset — Web & email is 1920 pixels, Office print is 2200. It also has a Delete the original copies option, which is exactly the mistake to avoid.

Choosing the Format

FormatTypeTransparencyUse it for
JPEGLossyNoPhotographs, anything going to a device or a generic app
PNGLosslessYesScreenshots, logos, diagrams, anything with text or flat colour
WebPBothYesThe web — smaller than JPEG at equal quality, universal browser support
AVIFBothYesThe web, where you can accept slow encoding
HEICLossyYesApple ecosystem, and only there

The PNG-versus-JPEG decision matters more than most quality sliders. A screenshot of a text document should be PNG: the text is sharp, the colours are flat, and JPEG will put visible ringing around every letter. A photograph should be JPEG: PNG will store every sensor imperfection in full, at several times the size.

Free Tools That Do It Properly

Windows built-in: Resize pictures in File Explorer handles resizing well. For format conversion, Paint can save as PNG or JPEG but no WebP, and it is not a batch tool.

Bulk and format conversion: Squoosh (free, browser-based, handles WebP and AVIF with a visual side-by-side comparison) is the best way to see the quality difference for yourself rather than trusting a number. ImageGlass, XnConvert and IrfanView are all free desktop batch tools. FFmpeg handles batches and every format, and is the right choice if you also have video.

Metadata: ExifTool removes location and camera data from photos in bulk. This is worth doing before uploading anything, and it can shrink files slightly as a side effect of dropping embedded thumbnails.

How Much You Can Realistically Save

Reasonable targets, assuming you resize to suit the destination:

  • Photos for email or messaging: 1920 px, quality 80-85. Expect 200-500 KB from a 4-8 MB original — roughly 90% saved.
  • Photos for a website: 1600-2000 px, quality 75-82, WebP. Expect 80-90% saved against a camera JPEG.
  • Screenshots for a website: 1400-1600 px wide, PNG if the content is mostly text, WebP if it is mostly gradient or photography.
  • Archiving originals: do not compress them. Keep the originals on an external drive, and compress only the copies you use.

And the final rule: compare before you delete. Open the compressed file at 100% and look at the edges of text and the smooth areas of a sky. If you see halos or blockiness, drop the quality by five and try again. If the result still looks wrong, the original is still there — keep it.

Part of a collection

This guide belongs to our Files, media and everyday utilities collection (7 guides on the same problem).

Editorial review

First published
Last reviewed
Applies to
Windows 10 and 11, macOS 13 and later, web tools
Reviewed by
The TechFix Guide editorial team

Updated the format comparison and added the "re-encode once" warning about quality loss.

Menu paths, option names and file paths in this guide were checked against the version named above. We do not claim to have tested every brand of hardware, so if your build shows something different, tell us and we will correct the page. How we check our guides  ·  Report an error