How to reduce an image’s file size
Three things shrink an image: fewer pixels (resizing), stronger compression (a lower JPG quality) and a more efficient format such as WebP. Resize first: a phone photo has far more pixels than a form or web page needs, and halving its width and height leaves a quarter of the pixels.
By Toolgu · Last updated
What makes an image file big
File size depends on three things: how many pixels the image has, how strongly it’s compressed, and the format. A modern phone camera captures about 12 megapixels, around 4,000 × 3,000 pixels, which is far more than a passport form, a job application or a web page shows. Cutting the pixels is the step that saves the most, so do it first.
Step 1: resize to the size you need
File size grows with the area of the image, not its width. Halve the width and height and you keep a quarter of the pixels, so the file shrinks to roughly a quarter. Rough targets:
- Profile picture or ID photo for a form: 600 to 1,000 pixels on the longest side.
- Images in a document or email: about 1,200 to 1,600 pixels.
- Full-width website image: the width it’s displayed at, about twice that for sharp results on high-density screens.
The image resizer does this for one photo or a batch, keeping the proportions.
Step 2: lower the quality (JPG and WebP)
Lossy formats let you trade quality for size. Between about 70% and 85% quality most photos look the same as the original at normal viewing size, at a fraction of the bytes; below about 50% blocky artefacts start to show around edges and in skies. The image compressor shows a before-and-after preview so you can pick the setting by eye.
Step 3: hit an exact limit
Forms often say “under 100 KB” or “maximum 1 MB”. Instead of guessing a quality, let the tool search for it: compress image to size takes any target, and there are one-click versions for the most common limits:
For very small targets such as 20 KB, the tool also reduces the dimensions, because squeezing a full-size photo that far makes it unrecognisable. Sites count a kilobyte as either 1,000 or 1,024 bytes, so leave a little room under the limit.
Step 4: change the format if you can
For your own website, WebP is usually 25–34% smaller than a JPG of similar quality; convert with JPG to WebP. A photo saved as PNG is often several times bigger than it needs to be, so convert photos to JPG unless you need transparency. JPG vs PNG vs WebP vs HEIC explains which format suits what.
Extra savings
- Crop away background you don’t need before resizing.
- Strip metadata: camera details and GPS location add a few kilobytes and can reveal where a photo was taken. Re-encoding in the tools above leaves them out.
- Compress once from the original. Re-saving an already compressed JPG adds artefacts each time.
Shrink your image
- Reduce Image Size in KBCompress a photo to any size: 20KB, 50KB, 100KB…
- Image CompressorShrink JPG, PNG and WebP locally
- Image ResizerResize and crop to exact pixels or social sizes
- Compress Image to 10KBReduce photo size to 10KB or less
- Compress Image to 20KBReduce photo size to 20KB or less
- Compress Image to 30KBReduce photo size to 30KB or less
- Compress Image to 50KBReduce photo size to 50KB or less
- Compress Image to 100KBReduce photo size to 100KB or less
- Compress Image to 200KBReduce photo size to 200KB or less
- Compress Image to 500KBReduce photo size to 500KB or less
- Compress Image to 1MBReduce photo size to 1MB or less
- JPG to WebP ConverterConvert JPG images to WebP, in bulk
Frequently asked questions
Why is my photo so big?
A 12-megapixel phone camera saves about 4,000 × 3,000 pixels, usually a few megabytes per photo. Most forms and websites show images far smaller than that, so the extra pixels only add file size.
How do I get a photo under 100 KB without it looking bad?
Resize it first, to around 1,000 to 1,200 pixels on the longest side for a document photo, then lower the JPG quality until it fits. Compressing a full-size photo all the way down to 100 KB makes it blurry and blocky.
Is 1 KB 1,000 or 1,024 bytes?
It depends on the site: some count 1 KB as 1,000 bytes, others as 1,024. If a form says “under 100 KB”, aim for about 95 KB to be safe.
Sources
- web.dev: Serve responsive images
- web.dev: Choose the right image format
- MDN: Image file type and format guide
This guide explains how the rules work in general. It isn’t financial advice; check the figures for your own agreement with your lender.