Compress to a target size
Compress image to 30KB
Compress image files to 30KB or under. Set the size, and the encoder searches for the highest quality that fits. Runs entirely in your browser.
Drop images here
or · drop a folder · paste from clipboard
Upload forms are the usual reason people need a specific file size. Job portals, exam registrations, government forms, and CMS uploaders all tend to reject anything over a fixed limit, and they rarely tell you how to get under it. This tool takes the limit as the input: you say 30KB, and it finds the highest quality that still fits.
Rather than making you guess at a quality slider and re-export repeatedly, the encoder runs a search — it encodes, measures the result, and narrows in on the best quality that stays under 30KB. It normally settles within four to six attempts, and the result is always at or below your limit, never over it.
30KB is a demanding target. If the image cannot reach it at acceptable quality, the tool reduces the dimensions as well, because a smaller sharp image looks considerably better than a full-size smeared one. The final dimensions are always shown next to the result.
How to compress image to 30kb
- Drop your image files onto the box above.
- The target is already set to 30KB — change it if you need a different limit.
- Wait for the search to finish, then download the result.
Frequently asked questions
Are my images uploaded to a server?
No. The conversion runs inside your browser using WebAssembly, so the image data never leaves your device. That also means there is no queue, no account, and no file size cap imposed by a server.
Will the file be exactly 30KB?
It will be at or just under 30KB — never over. Compression cannot hit an exact byte count without padding the file, so the tool targets the largest size that still respects your limit. In practice results land within a few percent of the target.
Why did the dimensions change?
When a size limit cannot be met by compression alone, the tool reduces the resolution too. Below roughly 0.35 bits per pixel an image starts to look smeared, so past that point shedding resolution gives a visibly better result than pushing quality lower.
Can I convert several images at once?
Yes. Drop in as many files as you like — or a whole folder — and they are processed in parallel across your CPU cores. When they finish you can download them individually or grab everything as a single ZIP.