My image must be under an exact size (100KB, 50KB, 2MB)
Upload forms often set a hard cap, 100KB, 50KB, sometimes 2MB. How to do it to hit an exact size without endless trial and error.
When a form demands a specific limit (under 100KB, 50KB or 2MB) use the compressor's Target size mode: enter the limit and it binary-searches the highest quality that fits, so you don't guess with a slider. Our Image Compressor does this in your browser. For very small targets on a large photo, also resize the pixels down.
4 tools for this
Each one is free, private and runs in your browser. No sign-up, no watermark.
Image Compressor
Shrink JPG, PNG and WebP images without a visible quality drop. Set the quality yourself, or compress to an exact target size like 100 KB. Free, entirely in your browser.
Image Resizer
Resize any image to exact pixel dimensions with an optional aspect-ratio lock and ready-made social presets, free and fully in your browser.
WebP Converter
Convert PNG and JPG images to WebP for smaller, faster-loading files, and turn WebP back into PNG or JPG when you need wider compatibility. Free and in-browser.
Crop Image
Cut an image down to the exact part you want. Drag a crop box, snap to a ratio like 1:1 or 16:9, and export the trimmed area: free, private, in your browser.
How to fix it
Follow these steps and you'll have it sorted in a couple of minutes.
- 1
Open the Image Compressor
Drop your image in, it's processed in your browser, never uploaded.
- 2
Switch to Target size mode
Pick a preset (50 KB, 100 KB, 200 KB, 500 KB, 1 MB) or type your exact limit in KB.
- 3
Compress to the target
The tool finds the highest quality that lands under your limit and reports the actual size.
- 4
Resize if the target is tiny
Aiming for 20KB on a big photo? Also reduce the pixel dimensions, or switch to WebP, to get there cleanly.
- Guessing with a quality slider when a target-size mode hits the exact limit for you.
- Trying to force a huge, high-resolution photo under 20KB by quality alone: resize the dimensions down too.
- Compressing to 50KB when the limit is 2MB, throwing away quality you didn't need to lose.
Frequently asked questions
More problems we solve
Ran into one of these too? Here's the fix.
- My image file is too largePhone photos are often 3–8MB. Compress (and if needed resize) to hit a 100KB or 50KB upload limit while still looking clean.
- My email attachment is too largeGmail, Outlook and most providers reject attachments over ~25MB. Compress the file to the right type and send it normally. No cloud links needed.
- A WebP image won't open. I need a JPGSaved a WebP from a website and your editor won't open it? Convert it to a universal JPG or PNG in seconds.
Keep exploring
Problems we solve
Definitions
From the blog
Compare formats
Common tasks
Ready? Start with Image Compressor
Free, private and instant: everything runs in your browser.