Compress a photo to the size you were asked for
Set the limit - 100 KB for a form, 500 KB for a shop, 2 MB for a print order - and drop your photos. The compressor lowers quality step by step and shrinks the long edge only when it has to, then shows what each file became.
The Image Compressor reduces a photo to a file size you name, such as 200 KB for a form or 1 MB for an email, or to a set maximum side length. It lowers the quality until the file fits, and the compression runs in your browser.
A photo is mostly information you do not need
A 12 megapixel phone photo carries about 12 million colour points, and a shop thumbnail will show it at 600 pixels wide. The camera keeps detail for a print; the screen throws most of it away. That is why the same photo can drop from 4 MB to 180 KB and still look identical where it is actually used.
A compressor has two levers, and they are not equal. Quality throws away fine detail that the eye barely registers - hair, fabric texture, the noise in a shadow. Dimensions throw away pixels, which is cheaper per byte but visible: text on a screenshot turns blurry, a product label becomes unreadable. This tool pulls the quality lever first and only shortens the long edge when quality alone cannot reach the target, so a 600 KB request does not return a 400 pixel photo.
The third lever is the format. WebP stores the same picture in fewer bytes than JPG at the same visual quality, and it keeps transparency, which JPG cannot: a transparent PNG saved as JPG gets a white box behind the subject. If a form accepts WebP, take it; if it does not, JPG at quality 80 and a sensible width is still far smaller than the original.
- check_circleCheck the limit you were given - forms often say it in KB, shops in MB
- check_circleKnow whether transparency matters (PNG, WebP) or not (JPG)
- check_circleKeep the originals: compression is one-way
- check_circleFor screenshots with text, try WebP before dropping the resolution
- check_circleFor print orders, ask for the pixel size, not the file size
Typical ceilings you will run into
| Where | Typical limit | What happens at the limit | Better target |
|---|---|---|---|
| Job application forms | 100-500 KB per photo | upload rejected after the form is filled | 150-300 KB, 1000 px wide |
| Email attachment | 20-25 MB per message | the whole message bounces | 5 MB in total is safe |
| Marketplace and shop listings | 2-20 MB per image | the listing editor refuses the file | 300-800 KB, 1600 px |
| Print orders | pixel size, not file size | a warning that the photo is too small | keep the original |
| Web pages | no hard limit, but speed matters | slow pages lose visitors | under 250 KB per hero image |
If the target is a range rather than a number, aim for the middle: a 300 KB photo passes a 500 KB form and still looks sharp on a retina screen. Uploading exactly at the ceiling leaves no room for the service re-encoding your file, which can push it over.
Three choices, then the batch runs
Set the target
Pick 100 KB, 500 KB, 1 MB or 2 MB. The number comes from the form or the shop, not from a guess.
Pick the long edge
1920 px is a good default for web photos. Keep the original only when the file goes to print.
Check and download
Each row shows the new size, dimensions and quality. Drop several files and take them all as one ZIP.
Compression questions, answered plainly
Does compressing a photo reduce its quality?expand_more
Are my photos uploaded to your server?expand_more
Why is my file still above the target?expand_more
Should I use JPG or WebP?expand_more
Does this remove EXIF data such as GPS location?expand_more
How many photos can I compress at once?expand_more
The form has a limit. The photo does not have to lose.
Drop the file, set the number the form asked for, and download the version that fits.
fact_checkQuick facts
- Halving the longest side cuts the pixel count fourfold, which usually shrinks a photo more than dropping the quality slider does.
- Compressing an already compressed JPEG again loses more than compressing the original once at the target size.
- JPEG splits the picture into 8×8 pixel blocks and stores a discrete cosine transform of each block, which is where its block-shaped artefacts come from.menu_bookITU-T
- JPEG has no alpha channel, so transparency always becomes white or black when a picture is saved as JPG.menu_bookITU-T
- Google reports that WebP files are 25% to 34% smaller than JPEG files at the same visual quality.menu_bookGoogle Developers
helpQuestions people ask
How do I compress a photo to a specific file size?expand_more
Does compressing a photo reduce its quality?expand_more
Which format compresses photos the smallest?expand_more
hubWhat this page is about
- JPEGopen_in_new
A lossy still-image format standardised as ITU-T T.81 in 1992 and still the default format of most cameras and phones.
- WebPopen_in_new
An image format published by Google in 2010 that stores lossy and lossless pictures, transparency and animation in one file type.
- PNGopen_in_new
A lossless image format defined by the W3C with an 8-bit alpha channel and gamma information, designed for the web in 1996.
- Canvasopen_in_new
The HTML element that gives a page a pixel buffer to draw on and export as PNG, JPEG or WebP.
library_booksOfficial sources cited on this page
Continue with the same file
Each of these opens what the tool above produces. Use “Use in another tool” under the result to carry the file over — it moves from tab to tab inside your browser, never to a server.
Switched-off tools are not listed here: only what works right now.