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.

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:

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

Doing it with the reducer

  1. Open the image size reducer and choose your picture.
  2. 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.
  3. For a lighter picture without a limit, pick Resolution and set a longest side such as 1920 px.
  4. Leave Save as on Auto: a PNG without transparency becomes a JPG, which is usually far smaller.
  5. 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.

Sources

  1. Image file type and format guide, MDN Web Docs. Checked December 2026.
  2. An image format for the Web (WebP), Google for Developers. Checked December 2026.

Browse all image guides