Compress an image

Make a photo web-sized — in your browser, never uploaded.

How it works

Three steps, and nothing leaves your device.

  1. 1

    Drop in the image

    JPG, PNG, WebP or an iPhone HEIC. Large camera files are fine — there is no upload to wait for.

  2. 2

    Set quality, and optionally a size cap

    75% quality is a good starting point. Capping the longest side is usually the bigger win — see below.

  3. 3

    Download and compare

    The result shows the before and after size, so you can decide whether to push the quality lower.

Getting a small file without a visibly worse photo

  • Resolution saves more than quality does. A 12-megapixel phone photo is around 4000 pixels wide. Displayed in a blog post at 800 pixels, three quarters of that data is thrown away by the browser anyway. Capping the longest side at 1600–2000px typically cuts the file by 80–90% before quality compression does anything at all — and nobody can see the difference at normal viewing sizes.
  • Quality below about 60% starts to show. JPEG artefacts appear first around hard edges: text, logos, the boundary between a subject and a bright sky. Photographs of foliage or fabric hide compression well; screenshots and graphics do not. If your image contains text, stay above 80% or use PNG instead.
  • Do not compress an already-compressed image twice. Each JPEG save re-quantises the image and discards a little more. Compressing a file that was already compressed hard produces a noticeably muddier result for very little extra saving. Always start from the largest original you have.
  • For screenshots and graphics, compression is the wrong tool. Flat colour and sharp text compress badly as JPEG and look grainy. A PNG, or a WebP in lossless mode, will usually be both smaller and cleaner. Use this tool's resolution cap on them instead of the quality slider.

Frequently asked questions

How much can I compress without visible loss?

For a typical photograph, capping the long edge at 2000px and setting quality to 75–80% is invisible at normal viewing sizes and often reduces the file by more than 90%.

Is there an upload limit?

There is no upload at all, so no limit. The only ceiling is your device's available memory on extremely large images.

Why did my PNG get bigger?

The output is a JPG. A PNG containing flat colour or transparency can be smaller than the equivalent JPG — for those images use the converter and keep PNG, or cap the resolution instead.