Compress an image to an exact size
Set a target in kilobytes and get the smallest possible quality loss to hit it. Runs entirely in your browser: no upload, no account, no waiting.
Your images stay on your device. Compression happens in your browser and files are never uploaded to our servers.
How it works
Upload your image
Drop a JPG, PNG, or WebP file, paste one from your clipboard, or pick one from your phone's camera roll. Nothing leaves your device.
Choose a target size
Pick a common size like 200 KB, or type your own. Compression starts the moment you choose, no extra button to press.
Download the result
We show you the exact file size, resolution, and quality we landed on, then you download it straight to your device.
Why use this tool
- Hits your exact target
- We search for the highest quality that still fits under the size you set, instead of guessing a quality percentage.
- Nothing is uploaded
- Compression runs in your browser using the Canvas API. Your image never touches our servers.
- No account needed
- Open the page, drop an image, download the result. No sign-up, no email, no limits.
- Free, with no catch
- The tool is funded by a small ad below the results, not by your data or a subscription.
Frequently asked questions
Does this upload my photos anywhere?+
No. The compression runs in your browser using the Canvas API and a Web Worker. Your original file never leaves your device, and we never see it.
How do you hit an exact file size?+
We binary-search the encoder's quality setting to find the highest quality that still fits under your target, then reduce the image's resolution if quality alone can't get there without looking bad.
Which format should I pick?+
Automatic is right for almost everyone. It uses WebP, which typically produces a smaller file than JPG or PNG at the same visual quality. Switch to JPG under Advanced options if you need a file that older software can open.
What happens if my target is too small for the image?+
We tell you. If we can't reach your target without the image looking noticeably worse, we show the smallest size we could produce and label it as a best-effort result rather than pretending we hit your number.
Is there a file size limit?+
Images up to 60 MB and roughly 80 megapixels are supported, which covers virtually any photo from a phone or camera.