How to make an image smaller in file size
To make an image smaller in file size, reduce its pixel dimensions first, then save it in a format that suits the picture (JPG or WebP for photos), and only then lower the quality if you still need to. Fewer pixels saves the most and costs the least visible quality.
If you just need the file under a number, such as 500 KB or 2 MB, a target-size tool can find the quality, and if necessary the dimensions, for you.
Which way to go: a size limit or a smaller picture?
Start from what you actually need, because it decides which setting you touch.
- “The file must be under X KB or MB” (an upload form, an attachment limit): use a target size and let the tool find the best quality that fits.
- “It just needs to be lighter” (sharing, a website, saving space): set a sensible pixel size and a normal quality, and accept whatever size comes out.
Our image size reducer has a mode for each: Target size in KB or MB, andResolution as a longest side in pixels or a percentage. The rest of this page explains what each lever does, so you know what you are trading.
Lever 1: fewer pixels
A phone photo is usually several thousand pixels wide. Most places you show it, such as a message, a web page or a document, display it far smaller. The extra pixels are carried in the file but never seen.
The width only has to cover the largest size anyone will view it at. If you are unsure, 1920 px on the long side covers a full-HD screen edge to edge. The guide to image resolutionexplains why the pixel count matters so much.
Lever 2: the right format
Formats compress in different ways. MDN describes JPEG as a lossy format that is “particularly useful for photographs”, while PNG “uses lossless compression”, which keeps every pixel and so stays large for photos. Google's WebP page reports lossy WebP images as 25–34% smaller than comparable JPEGs at equivalent quality.
So the usual moves are:
- A photo saved as PNG: convert it to JPG or WebP. This alone can cut it by more than 90%.
- A logo, icon or screenshot: keep PNG, but reduce its colours with the PNG compressor, which keeps edges sharp and transparency intact.
- A JPG that will be used on a website or in an app that accepts WebP: try WebP.
Check where the file is going first: some upload forms accept only JPG or PNG. Thelossy vs lossless guide explains the difference between the two kinds of compression.
Lever 3: lower quality
JPG and WebP have a quality setting. Lower quality means the encoder approximates the picture more coarsely, which shrinks the file. The gains are uneven: the first steps down from very high quality save a lot, and the last steps save little while the damage becomes obvious.
That comparison is the whole argument for the order on this page. Quality alone gets you a smaller file with visible blocks and smudges; fewer pixels gets you a smaller file that looks clean. Use theJPEG compressor when you want to pick the quality yourself.
Small extras
- Crop away what you do not need. Cutting off empty sky or a cluttered edge removes pixels and makes the subject bigger at the same time. The crop tool does this.
- Metadata (camera details, dates, location) is rarely where the size is. Strip it with the EXIF remover for privacy; expect little change in size.
- Many files at once: the bulk image compressor applies one size target or quality to a whole batch and gives you a ZIP.
Doing it with the reducer
- Open the image size reducer and choose your picture.
- For a limit, pick Target size and type it, for example 300 KB. The tool lowers quality first and only cuts the dimensions if quality alone is not enough.
- For a lighter picture without a limit, pick Resolution and set a longest side such as 1920 px.
- Leave Save as on Auto: a PNG without transparency becomes a JPG, which is usually far smaller.
- Check the new size and dimensions, then download.
If the result has to stay sharp for printing or close cropping, seehow to reduce image size without losing qualityfor what you can and cannot get back.