Skip to content
FileConvertify
Tools

Compress image

Make a JPG, PNG or WebP image smaller, or fit it under an upload limit such as 50 KB, and see the real size before you download.

  • Free, no sign-up
  • Files stay on your device
  • JPG, PNG or WebP / up to 25 MB

Step by step

How to compress an image

  1. Step 1: Drop a JPG, PNG or WebP image on the box above, or select Choose file.

  2. Step 2: Under Compress by, keep Quality and pick one (75 is a good start), or choose Target size and enter the largest file size allowed.

  3. Step 3: Select Compress image, check the before and after sizes, then select Download image.

Worked example

A web-sized photo at quality 75

We compressed a 1600 × 1200 pixel landscape photo of 501 KB at quality 75. The result was 202.2 KB, 60% smaller, with the same width and height.

For a 100 KB upload limit, a 1200 × 900 pixel photo of oak leaves (193 KB) went to 63.8 KB at quality 70. In both cases resizing came first; compressing a full-size phone photo alone saves much less.

With Target size and a 50 KB limit, a 3882 × 2912 photo of a fjord (2.9 MB) came out at 48.7 KB: the tool chose quality 50 and 971 × 728 pixels. With a 20 KB limit, a 3720 × 2790 photo of oak leaves (5.4 MB) became 19.5 KB at 652 × 489 pixels and quality 60. Each took 5 to 6 seconds on a desktop PC (measured 29 Oct 2026).

Compress image result: 501 KB to 202.2 KB, 60 percent smaller
Quality 75: 501 KB down to 202.2 KB.

We ran this ourselves on 17 October 2026 with public-domain sample files. Your sizes will differ with your own files. The full walk-through is in How to Reduce Image Size for a Website.

What each setting does

Same format keeps a JPG as JPG, a PNG as PNG and a WebP as WebP. For JPG and WebP, the quality slider decides how much detail is traded for size: 75 usually looks close to the original at a much smaller size, 60 is smaller still with visible softening in fine detail.

PNG files stay PNG and are re-saved with OxiPNG, which searches for a more efficient way to store the same picture without adding compression artefacts. The saving is often modest. If a PNG is a photo, choosing JPG or WebP as the output usually shrinks it far more; WebP also keeps transparency.

Fitting an upload limit with Target size

Exam, job and government portals often accept a photo only under a limit such as 20, 50 or 100 KB. With Target size, the tool tries qualities from 92 down to 40 and keeps the highest one whose file fits. Below quality 40, JPG and WebP photos turn blocky, so if even that is too large, the tool reduces the width and height instead and searches again. The result card shows the quality used and the new pixel size, if it changed.

We count 1 KB as 1,000 bytes. Some forms count 1,024, so a file under 50,000 bytes fits either way. The file is never larger than the limit you set.

PNG has no quality setting, so for a PNG only the pixel size can change. If the form accepts JPG, choose JPG as the output: a photo keeps far more pixels at the same limit.

Check the form's other rules too. Many also ask for exact pixel dimensions or a format; resize the image first if they do.

Honest results

With Quality, the tool compresses your image and then shows the real size before and after. The saving depends on the image: a photo straight from a phone may shrink a lot, while an image that was already compressed may barely change.

If the settings you chose do not make the file smaller, the result says so plainly. In that case keep your original, or try a lower quality or a different format.

Also removed: hidden metadata

Photos often carry camera details, thumbnails and colour notes that take space. The compressed image is created from the pixels only, so that data, including GPS location, is left out. Colours are converted to standard sRGB so the image looks the same on other screens.

Frequently asked questions

Can I compress an image to a size such as 50 KB or 100 KB?
Yes. Under Compress by, choose Target size and enter the limit or pick one of the chips. The file will be at most that size, usually a little under, because the tool picks the highest quality that fits rather than an exact byte count.
Why did my photo get smaller in pixels, not just in KB?
A full-size phone photo has millions of pixels. Squeezing all of them into 50 KB would need a quality so low that the picture turns into blocks, so the tool stops at quality 40 and reduces the width and height instead. For most forms a photo about 1,000 pixels wide is more than enough.
Why did my PNG hardly get smaller?
PNG output adds no compression artefacts; the tool only looks for a more efficient way to store the image, so the saving is limited. For photos saved as PNG, choose JPG or WebP as the output to get a much bigger reduction.
Will compression reduce the quality?
For JPG and WebP, yes, by an amount you control with the quality slider. At 75 the difference is hard to see in most photos. PNG output does not add compression artefacts.
What if the compressed file is bigger than the original?
That can happen with images that were already heavily compressed. The result tells you when the file did not get smaller, so you can keep the original instead.
Are my images uploaded to a server?
No. Compression runs inside your browser tab, so your image never leaves your device.
Browse all guides