Compression4 min read·Updated

How to Reduce Image File Size Without Changing Dimensions

You can make an image file smaller without touching its width and height: re-encode it at a lower quality (75–85 for photos), switch to a more efficient format (a photo saved as PNG to JPEG, or JPEG to WebP for 25–35% less), strip the metadata, and reduce PNG graphics to a 256-color palette. On camera photos and PNG screenshots that typically saves 30–80%. It stops working when the target leaves less than about 0.3 bits per pixel; then only resizing helps.

What reduces file size but keeps the same dimensions?

  • Re-encode at a sensible quality. Cameras and editors often save JPEGs at 90 or above. Quality 75–85 looks the same at normal viewing size and is usually much smaller.
  • Switch format. A photo saved as PNG is lossless and heavy; the same photo as JPEG or WebP is a fraction of the size. Going from JPEG to WebP saves another 25–35% at the same visual quality.
  • Reduce PNG colors. Screenshots, logos and diagrams rarely need more than a few hundred colors. A palette of up to 256 colors (the method behind pngquant and TinyPNG) keeps them PNG, keeps transparency, and typically cuts 50–80%.
  • Remove metadata. EXIF camera data, GPS location and embedded preview thumbnails add a few KB to a few tens of KB, and nobody sees them.

How much smaller will the file get?

Typical savings at the same pixel dimensions (results depend on the image)

Starting fileMethodTypical savingVisible change
Phone or camera JPEGRe-encode at quality 75–8040–70%None at normal viewing size
JPEGConvert to WebP at the same quality25–35%None
Photo saved as PNGSave as JPEG or WebP70–90%None for a photo
Screenshot, logo or diagram PNG256-color palette, stays PNG50–80%Usually none; smooth gradients can band
Any camera photoRemove metadataA few KB to tens of KBNone (location and camera data are gone)
JPEG already saved for the webRe-encode again0–15%Can add artifacts

How do I compress an image without resizing it?

Use the Quality mode, not Target size: a target size can scale the image down when quality alone cannot reach it, while the quality slider never changes the dimensions.

  1. Open the compressor, or Compress JPG and Compress PNG for one format.
  2. Leave Limit width off. Resize is off by default on the compress pages, so the width and height stay exactly as they are.
  3. Set Quality: 75–80 for photos, 85–90 for screenshots with small text.
  4. Choose the output: Same as original to keep the format, WebP for the smallest file if the destination accepts it, or JPG for a photo that was saved as PNG.
  5. Compress and compare the sizes. Metadata is removed automatically.
Same width, same height, smaller file. It runs in your browser, nothing is uploaded.

Why did my file not get any smaller?

Two common reasons. The JPEG was already compressed at a moderate quality, as most images downloaded from websites and messaging apps are, so re-encoding gains little and only adds artifacts; when the result would be larger, the tool keeps the original instead. Or the PNG is a photo: a 256-color palette cannot hold a photo's gradients well, so save it as JPG or WebP. Why PNG files get so large explains the difference.

When is it impossible without resizing?

Every format has a floor. Below roughly 0.3 bits per pixel, JPEG turns visibly blocky and smeared. Multiply the target in KB by 8,000 and divide by the pixel count: if the result is under 0.3, the dimensions have to go down.

Largest image that can reach each target without resizing (about 0.3 bits per pixel, where JPEG starts to break down)

TargetLargest imageExample
50 KBabout 1.3 megapixels1,330 × 1,000
100 KBabout 2.7 megapixels1,900 × 1,400
200 KBabout 5.3 megapixels2,660 × 2,000
500 KBabout 13 megapixels4,160 × 3,120

So a 12-megapixel phone photo can reach about 500 KB at full size, already with some softening up close, but not 200 KB. For those targets, follow how to compress an image to a specific size, which resizes first.

Removing metadata is also a privacy fix
Phone photos often carry the GPS location where they were taken. Stripping metadata removes it along with the bytes. More in removing EXIF data from photos.

Put it into practice

Compress your images right now: keep the format or set a target size, free and privately in your browser.

Open the compressor

Frequently asked questions

Yes, by lowering the quality, changing the format or removing metadata. A camera JPEG re-saved at quality 75–80 is typically 40–70% smaller at the same dimensions.

No. Conversion keeps the width and height unless you turn on a resize option; WebP simply stores the same pixels in fewer bytes.

A little: usually a few KB to a few tens of KB per photo, more when an embedded preview thumbnail is present. The big savings come from quality and format.

Rarely for photos. Lossless optimization trims a small share of the file, while a lossy JPEG or WebP at quality 75–85 saves far more and looks the same on screen.

Keep reading

Compression6 min read

Compress to an exact size

To hit an exact KB target, set the pixel dimensions first, then lower JPEG quality. Size tables for 20, 50, 100, 200, 500 KB and 1 MB, plus a free tool.

Read more
Compression6 min read

Remove EXIF data from photos

Remove EXIF data (GPS, camera, date) before sharing: iPhone Options > Location, Windows Remove Properties, Mac Preview, or a browser tool that strips it all.

Read more
Compression5 min read

Why PNG files are so large

PNG is lossless, so photos, 16-bit color, Retina screenshots and soft transparency make it huge. A 256-color palette or JPG/WebP for photos cuts 60–90%.

Read more