To reduce image file size, change three things in this order. First, resize the image to the pixel dimensions it will actually be shown at. Second, save photos as JPEG (or WebP) at a quality of about 80, lower it step by step, and stop at the last setting where you can't see any damage. Third, keep PNG for screenshots, logos and anything that needs transparency, and use JPEG or WebP for everything else.
On a Mac you can do all of this in Preview: Tools ▸ Adjust Size… to resize, then File ▸ Export… with the Quality slider. To compress a batch of photos in a browser, use a free tool like Picify's Image Compressor or TinyPNG.
Why image files get big
Three things decide file size:
- How many pixels the image has.
- How much fine detail and noise those pixels contain.
- Which format and settings were used to save it.
Pixel count matters most because every pixel is data. An uncompressed 24-bit color image uses 3 bytes per pixel:
| Image | Pixels | Uncompressed data |
|---|---|---|
| 4032×3024 (a 12 MP phone photo) | 12,192,768 | about 36.6 MB |
| 1920×1080 (1080p) | 2,073,600 | about 6.2 MB |
| 1080×1080 (Instagram square) | 1,166,400 | about 3.5 MB |
| 600×200 (email header) | 120,000 | about 0.36 MB |
JPEG, WebP and PNG all compress that raw data, but by different amounts. Lossy JPEG and WebP throw away detail your eye is unlikely to miss, so photos shrink a lot. PNG keeps every pixel exactly, so a PNG photo full of grain and texture stays large. For the theory behind this, our explainer on how image compression works covers lossy and lossless compression.
Resize first: dimensions matter most
Halving the width and height leaves a quarter of the pixels. A 4032×3024 photo resized to 2016×1512 goes from 12,192,768 pixels to 3,048,192. The compressed file usually shrinks by a similar proportion, though not exactly.
Resize to the size the image will be displayed at. For high-density (Retina) screens, use up to twice the display width if you want it to look sharp.
| Where the image goes | Size to aim for |
|---|---|
| Full-width website hero | 1920 px wide |
| Image inside an article column | The column's display width, or up to twice that for high-density screens |
| Instagram post | 1080 px wide |
| Email body or header | 600 px wide (a common email layout width) |
| Link preview (Open Graph) image | 1200×630 px |
| YouTube thumbnail | 1280×720 px |
Never resize up. Making an image larger adds pixels and bytes without adding detail. For more on that side of it, see how to resize an image without losing quality.
On a Mac: Preview
Preview saves edits to the original file, so choose File ▸ Duplicate first if you want to keep the full-size version.
- Open the image in Preview.
- Choose Tools ▸ Adjust Size….
- Set the units to pixels and keep Scale proportionally checked.
- Type the new width. The dialog shows the Resulting Size before you commit.
- Click OK.
On Windows: Paint
- Open the image in Paint.
- Press Ctrl+W to open the resize dialog.
- Choose Pixels, keep Maintain aspect ratio checked and enter the new width.
- Click OK, then save a copy with Save as.
Paint has no JPEG quality slider, so use it for resizing and set quality with another tool.
In a browser: Picify Image Resizer
The Image Resizer lets you resize and set the output quality in one step. You need a free Picify account to add an image, but the file is processed in your browser and is not uploaded.
- Open the Image Resizer and add your image.
- Keep the aspect ratio lock on and type a width (1 to 10,000 px), or pick a size from Standard Sizes or the social presets (Instagram Square 1080×1080, Facebook Post 1200×630, YouTube Thumbnail 1280×720 and others).
- Under Export Settings, choose JPEG and set the quality (10 to 100), or choose PNG for graphics.
- Download the result.
It handles one image at a time. For batches, see the next sections.
Lower JPG quality: which settings are safe
The JPEG quality setting controls how much detail the encoder discards. Higher numbers keep more detail and make bigger files. How much you save depends on the photo, so judge by the file size readout and your own eyes rather than a fixed rule.
As quality drops, watch for three kinds of damage:
- Banding: smooth gradients (skies, studio backgrounds) break into visible steps.
- Halos: sharp edges and text get faint "ringing" around them.
- Blocks: fine texture (hair, grass, fabric) turns into small square patches.
A practical routine for web photos:
- Start at 80.
- Try 70, then 60.
- View each result at 100% zoom, not shrunk to fit the window.
- Keep the lowest setting where you can't spot banding, halos or blocks.
Screenshots, slides and anything with small text are the exception. JPEG handles hard edges poorly, so keep the quality high or save them as PNG.
Quality numbers aren't standardized between apps: a 70 in one tool is not the same as a 70 in another. Preview's Quality slider has no numbers at all (it runs from Least to Best). Compare results, not numbers.
On a Mac, File ▸ Export… in Preview gives you this lever: pick JPEG as the Format, drag the Quality slider, and watch the File Size estimate update before you click Save.
In Picify's Image Compressor, the Quality slider (1 to 100, default 80) shows a hint as you move it:
| Slider value | Hint shown |
|---|---|
| 1–29 | "Very small file, lower quality" |
| 30–59 | "Good balance of size and quality" |
| 60–79 | "High quality, moderate compression" |
| 80–100 | "Maximum quality, minimal compression" |
To check a compressed photo against the original, load both into the Image Compare tool. Slider mode lets you drag across to reveal the difference, and Difference mode highlights the pixels that changed.
Switch format: PNG to JPG or WebP
A photo saved as PNG is usually much larger than the same photo as JPEG, because PNG stores every pixel losslessly. Matching the format to the content is the third lever.
| Content | Format to use | Why |
|---|---|---|
| Photos | JPEG or WebP | Lossy compression suits continuous tones and noise |
| Screenshots, text, line art, flat-color graphics | PNG (or WebP) | Keeps hard edges sharp |
| Anything with a transparent background | PNG or WebP | JPEG can't store transparency |
WebP usually produces smaller files than JPEG at similar visual quality, and it supports transparency. Current browsers display it, but some upload forms, older apps and print services still don't accept it, so keep a JPEG or PNG copy if you're not sure. Our pages on what WebP is and PNG vs JPG go further.
To convert in your browser with Picify's Image Converter (free account needed; files are not uploaded):
- Add a PNG, JPEG or WebP image.
- Choose JPEG or WebP as the output.
- Set the quality slider (it starts at 85).
- Check the File Size Comparison for the before and after sizes.
- Download the converted file.
The converter works on one image at a time and outputs PNG, JPEG or WebP only (no AVIF or HEIC). Because JPEG can't hold transparency, check the result when you convert a transparent PNG to JPEG. Step-by-step versions: convert PNG to JPG and convert WebP to PNG.
For more codec control, Squoosh is free and open source from Google Chrome Labs. It compresses entirely in your browser and exposes advanced compressor options. As of November 2026 it collects Google Analytics data, including basic visitor data and before/after image sizes.
Compress several images in your browser
Compressing a folder of product photos or blog images one by one is slow. These options handle batches.
Picify Image Compressor
- Open the Image Compressor and sign in with a free account.
- Drop several PNG or JPEG files onto the upload area.
- Set the Quality slider (default 80).
- Check each file's original and compressed size and the total saved.
- Click Download All (N). Each file downloads separately; there is no ZIP.
Before you use it:
- Output is always JPEG. PNGs come out as
.jpg, and transparent areas are flattened onto white. Keep transparent graphics as PNG. - Input is PNG or JPEG only. Convert WebP or HEIC files first.
- Your files stay on your computer. Compression runs in the browser; nothing is sent to our server.
- It doesn't change dimensions. Resize first, then compress.
The image tools work the same on the free plan as on Pro.
TinyPNG
TinyPNG compresses AVIF, WebP, PNG, JPEG and JPEG XL files, so you can shrink a PNG without turning it into a JPEG. Its compression is lossy. As of November 2026, the free web version needs no sign-up and handles up to 20 images per session and 5 MB per image, with ads. Web Pro costs $39 a year for unlimited images up to 75 MB each.
iLoveIMG
iLoveIMG bundles bulk compress, resize, crop and convert tools on one site. As of November 2026 it has a free tier, which third-party sources say has processing limits and ads. Per a third-party review, images are uploaded to its servers for processing, which matters if your images are confidential.
Terminal on a Mac (sips)
macOS includes sips, a command-line image tool that is handy for resizing many files at once.
Warning: without --out, sips overwrites your original files. Every command below writes to a new file or folder.
Resize one image so its longest side is 2000 px, saving a new copy:
sips -Z 2000 photo.jpg --out photo-2000.jpgResize every .jpg file in the current folder into a new folder called small (files ending in .JPG or .jpeg aren't matched by *.jpg):
mkdir small && sips -Z 2000 *.jpg --out smallConvert a PNG to JPEG at quality 70:
sips -s format jpeg -s formatOptions 70 photo.png --out photo.jpgNone of these commands change a system setting, so there is nothing to undo; delete the new files if you don't want them.
Which tool to use to reduce image file size
| Method | Good for | Output | Cost (as of November 2026) |
|---|---|---|---|
| Preview (Mac) | Resizing and setting quality on single images | JPEG, PNG, HEIC and more | Built in |
| Paint (Windows) | Quick resizing | JPEG, PNG and more | Built in |
| sips (Mac Terminal) | Resizing whole folders | JPEG, PNG and more | Built in |
| Picify Image Resizer | Resize plus quality in one step, platform presets | PNG, JPEG | Free account |
| Picify Image Compressor | Batches of photos to JPEG, files stay in your browser | JPEG only | Free account |
| Picify Image Converter | Switching to WebP or JPEG with a size comparison | PNG, JPEG, WebP | Free account |
| TinyPNG | Batches where a PNG should stay a PNG | AVIF, WebP, PNG, JPEG, JPEG XL | Free up to 20 images per session; Pro $39/year |
| Squoosh | Fine-tuning codec options locally | Many formats | Free |
For a longer comparison, see our roundup of the best free image compressors.
Can you compress an image without losing quality?
Yes, but the savings are smaller. Lossless compression rewrites the file more efficiently while keeping every pixel identical, and on its own it rarely shrinks a photo as much as resizing or lossy JPEG does. Compressor.io is one tool that lets you choose lossy or lossless compression; as of November 2026 its free tier allows files up to 10 MB and 50 compressions a day, and files are processed on its servers. Picify's compressor, TinyPNG and JPEG export in Preview are all lossy.
In practice, "without losing quality" usually means "without visible loss," and that is very achievable:
- Resizing to the display size costs nothing visible, because the extra pixels were never shown anyway.
- JPEG or WebP at a quality where you can't spot banding or halos at 100% zoom looks the same to viewers.
- Each lossy save discards a little more detail, so always compress from the original, not from an already-compressed copy.
If reducing the file size doesn't work
The file got bigger after compressing. The original was probably already a heavily compressed JPEG, or a small flat-color graphic that PNG stores efficiently. Lower the quality setting or keep the original. For graphics, stay with PNG.
The transparent background turned white. JPEG has no transparency, and Picify's compressor flattens transparent PNGs onto white. Keep the PNG, save it as WebP instead, or use a tool that compresses PNG as PNG.
Text looks fuzzy or has halos. JPEG struggles with sharp edges. Raise the quality, or save screenshots and text-heavy graphics as PNG.
It's still over an upload limit. Quality can only go so far. Reduce the pixel dimensions, then compress again from the original.
Picify's compressor says "The image is damaged or uses an unsupported format." It accepts PNG and JPEG only. iPhone photos are often HEIC: on a Mac, open the photo in Preview, choose File ▸ Export… with JPEG as the format, then compress the JPEG.
It says "Could not process the image. Please try a smaller image." The image is too large for the browser to process. Shrink its dimensions first in Preview, Paint or the Image Resizer, then compress again.
The image looks soft after you upload it somewhere. Many platforms recompress uploads. Upload at the platform's recommended size so it doesn't also have to resize your image. For YouTube, see why your thumbnail looks blurry.
FAQ
Does reducing file size lower the resolution? Only if you resize. Lowering JPEG quality or switching formats keeps the same pixel dimensions; it changes how much detail is stored in those pixels.
What quality should I use for website photos? Start at 80 and step down to 70 or 60, checking at 100% zoom. Stop at the last setting where you can't see banding or halos.
Are my images uploaded when I use Picify's image tools? No. The compressor, resizer and converter process files in your browser. You need a free account to use them, but the images don't leave your computer. The Image Compressor guide in our Help Center covers the tool in more detail.