Compress images without uploading them
Shrink JPG, PNG, WebP, AVIF and iPhone HEIC photos right here. Set an exact size limit if a website is rejecting your file. Everything runs on your own device.
Files never leave your browser
Straight to a specific limit
If a form gave you an exact number, these pages open with the tool already set to it.
- Compress an image to 20 KB
Twenty kilobytes is a hard limit, and it is small. Drop your file in and it comes out under the line — with an honest note about what had to give.
- Compress an image to 50 KB
Fifty kilobytes is the usual cap for application photographs on exam and job portals. It is tight, but a portrait still survives it.
- Compress an image to 100 KB
A hundred kilobytes is the point where compression stops being painful. Most photographs keep their full look and simply weigh less.
- Compress an image to 200 KB
Two hundred kilobytes is the single most common upload limit on the web. It is also generous enough that a good photo stays a good photo.
- Compress an image to 500 KB
At 500 kilobytes you are not really trading quality any more — you are just removing waste. Most photos meet this limit with room to spare.
- Compress an image to 1 MB
One megabyte keeps a full-resolution phone photo intact. This is the limit where you lose nothing you would ever notice.
- Compress an image to 2 MB
Two megabytes is the standard ceiling on job application portals. Almost every photo fits with quality to spare.
How this works
Most compressors send your photo to a server, squeeze it there, then send it back. This one does the work inside your browser using your own device's processor, so your files are never uploaded, never stored, and never seen by anyone — including us.
That also means there is no file limit and no daily quota to enforce, because we are not paying for the processing. You are.
Choosing a setting
Quality is the simple option: 80% is usually indistinguishable from the original at roughly a quarter of the size. Below 60% you will start to see blocky patches in skies and smooth gradients.
Target size is for when something else sets the rule — a job portal that rejects anything over 2 MB, a forum with a 500 KB avatar cap. Enter the limit and the compressor searches for the highest quality that still fits underneath it.
PNG files with transparency are converted onto a white background when saved as JPG, since JPG cannot store transparency. Keep the format as PNG if you need the transparent areas.
PNG is compressed properly here
Every browser can write a PNG, and every browser writes a bad one. It does not choose a filter for each row of pixels and it always writes four full channels, even for a logo with twelve colours in it. The result is a file two to six times larger than the one you started with — from a tool with the word compress on it.
This page does not use the browser's PNG writer. It picks the filter for every row, drops channels the image does not use, and packs the palette down to one, two or four bits per pixel when it fits. Measured on the same files, going in and out with no pixel changed at all:
| File | Original | Browser's PNG writer | Here |
|---|---|---|---|
| Phone screenshot | 16.8 KB | 104.9 KB | 16.9 KB |
| Interface screenshot | 19.7 KB | 46.5 KB | 10.0 KB |
| Logo with transparency | 4.0 KB | 10.0 KB | 2.4 KB |
| Photograph saved as PNG | 5.76 MB | 6.54 MB | 5.70 MB |
Those results are lossless: the file that comes out decodes to exactly the same pixels as the one that went in, verified byte for byte. If you also allow fewer colours, a photograph saved as PNG drops from 5.76 MB to about 1.9 MB — though for a photograph, JPG or WebP is still the right answer, and the tool will say so.
Common questions
Can this make my file bigger? No. If re-saving would produce a larger file than the one you gave it — which happens when your original was already compressed harder than your setting — you get your original file back instead, with its metadata stripped out. You will see already efficient next to the result when that happens.
How do I know the result still looks right? Press Compare on any result. Your original and the compressed version are stacked exactly on top of each other with a divider you can drag, and View 1:1 shows real pixels rather than a version shrunk to fit the screen — which is the only size where compression damage is actually visible.
Can it open iPhone HEIC photos? Yes. The decoder loads automatically the first time it sees one, which adds a short delay on that first file only. It is served from this site rather than an outside network, so nothing about your file leaves your device.
Does it work offline? Yes, completely. Your first visit installs the whole site on your device — every tool, the iPhone HEIC decoder, the PDF engine. After that it works with no connection at all.
Related guides
- How to Compress an Image to an Exact File Size
Upload forms rarely explain their limits. Here is how the 200 KB and 2 MB caps actually work, and how to land under one.
- Why Is My Image File So Large? Six Causes and Six Fixes
A screenshot of text has no business being 8 MB. Usually one of six specific things is to blame.
- Passport Photo Size Requirements: Pixels, Format and 240 KB
600×600 to 1200×1200 pixels, square, JPEG, 240 KB or less. What each rule means and how to meet all four at once.