Compress an image to 50 KB
Shrink JPG, PNG, WebP, AVIF and GIF files in your browser: pick a level that keeps the resolution, or, for all but GIF, a target size in KB or MB.
Drop your files here
.jpg, .jpeg, .png, .webp, .avif, .gif · up to 100 MB
How to Compress Image
- 1
Drop your images
Add up to 100 files at once. The format is read from the file itself, so a mislabelled extension still lands in the right codec.
- 2
Pick a compression level
Max quality, Balanced or Max compression, or To a size with a target in KB or MB. Advanced mode adds a manual oxipng level for PNG once you turn it on.
- 3
Download the smaller file
See the size before and after, plus the percent saved. Several files come back as one ZIP.
Where the 50 KB limit comes from
Application forms, mostly: exam registrations, visa portals, job sites and government services routinely cap photograph uploads at 50 KB, and often at exact dimensions as well. The limit is arbitrary and it is not going away, so the practical answer is a tool that takes the number as the goal. You give it a photo, it finds the quality setting that lands just under the ceiling, and it tells you the size it achieved.
How the target is reached
By searching, not by guessing: the picture is encoded at several quality settings and the best one that fits is kept. Where quality alone cannot get there (a 12-megapixel photograph will not become 50 KB at any sensible quality), the dimensions come down as well, because a smaller picture at decent quality always looks better than a huge one at terrible quality. A passport-style photo at 600 by 800 pixels under 50 KB looks perfectly acceptable; the same photo at 4000 by 3000 would not.
Check the requirements before you upload
Most forms that specify a file size also specify dimensions, and sometimes a format. A 50 KB JPEG at the wrong pixel size will be rejected just as firmly as a 5 MB one, so it is worth reading the small print once: many portals want a specific width and height, some insist on JPEG and refuse PNG, and a few require a white background. Cropping first and compressing second gets there in one pass.
Passport, visa and exam photo requirements
The portals that impose 50 KB almost always impose a shape as well, and the two have to be met together. A standard passport or visa photo is 35 × 45 mm, which online forms translate into roughly 413 × 531 pixels at 300 dpi; the US visa form asks for a square JPEG between 600 × 600 and 1200 × 1200 pixels under 240 KB; exam registrations and job portals commonly cap the photo at 50 KB and a scanned signature at an even lower figure. Read the exact numbers off the form, crop to that aspect ratio first, then come back here with the target already set. JPEG is the safe choice because almost every portal accepts it and few accept PNG. A plain, evenly lit background also survives compression far better than a busy one: at 50 KB, every byte spent on the wallpaper or the bookshelf behind you is a byte taken from the face.
Your file stays on your device
Decoding, recompressing and re-encoding all happen inside your browser tab using WebAssembly codecs. Nothing is uploaded, there is no server queue, and closing the tab clears everything from memory. That makes this safe for photos you would not want sitting on someone else's storage.
Frequently asked questions
What is the difference between the three levels?
They set the quality passed to the JPEG, WebP or AVIF encoder: 85, 70 or 55 out of 100. Higher keeps more detail and shrinks the file less; lower shrinks more and softens fine texture. For PNG the levels instead control how hard the lossless optimiser works, since PNG quality itself cannot be turned down.
Will my image look worse after compressing it?
At Max Quality, differences are essentially invisible. Balanced is the level most people use without noticing anything. Max Compression can show softening on close inspection, particularly on detailed textures like hair or foliage, which is why it suits smaller or less prominent images rather than a photo you are printing.
Why did my file not get any smaller?
Some images, especially ones already compressed by a phone camera or a previous tool, are close to as small as their content allows. If the recompressed version would be the same size or bigger, this tool keeps your original file exactly as it was instead of handing back a pointless "smaller" copy that is not actually smaller.
Does this remove EXIF data and GPS location?
Yes, by default. Camera make, model, timestamp and any embedded GPS coordinates are dropped automatically, which also shaves a little extra size off phone photos. Turn on "Keep metadata" if you need that information to survive. This is currently supported for JPEG input.
How many files can I compress at once?
Up to 100 files in one batch, 500 MB combined. Each file is compressed independently with the same settings, and results come back as a single ZIP. A file that fails does not stop the rest.
Does the file get uploaded to a server?
No. Every step, from reading the bytes through decoding and recompressing to encoding back, runs in your browser using WebAssembly. There is no upload and no copy kept anywhere once you close the tab.
Why does PNG shrink less than JPEG?
JPEG, WebP and AVIF are lossy: they can throw away detail the eye barely notices to save a lot of space. PNG is lossless by design, so this tool can only repack its data more efficiently, not discard information. The ceiling on how much smaller a PNG can get is lower.
Can I target an exact file size instead of a quality level?
Yes, for every format here except GIF. Pick To a size in the level switch and enter a target such as 200 KB. The tool searches for the quality and, if that is not enough, a smaller resolution that gets the file under it, and by default saves the result as a JPEG.
Guides
- WebP vs AVIF vs JPEG, Measured on One Phone PhotoWe ran one 12-megapixel phone photo, a screenshot and a transparent logo through JPEG, WebP and AVIF in the browser. Here are the file sizes at matched quality, the encoding times and the traces each format leaves.
- US Visa Photo 2 × 2 Inches: Making the 600 × 600 File at HomeA US visa photo is a 2 × 2 inch square; online, it is a JPEG of 600 to 1200 pixels a side, no heavier than 240 kB. Here is the path from a phone photo to that file, with numbers from one run.
- An iLoveIMG Alternative for Image Jobs: What Matches, What Is MissingOn October 20, 2026, we matched the 13 tool cards on iLoveIMG's home page against PulsarKit. 11 had a counterpart; Upscale Image had none, and Blur face only came close.
- How to Check That an Online Tool Keeps Your File on Your DeviceOn October 19, 2026, we ran Compress PDF with the Network panel open and then with the connection switched off. Here is what a tool that keeps your file on your device looks like, and what a server tool looks like next to it.
- Why Your Compressed JPEG Still Looks BadA photo that looks soft after compressing usually has nothing to do with the compression setting you picked. It is the resolution doing that.