- Home
- Image Utilities
- Compress Image to Target Size (KB/MB)
Features
Measured, not estimated
Every result is encoded and weighed before you get it. If it reaches your limit, it is at or under it; if it can't, the result card says so.
Common limits one click away
Buttons for 5 KB up to 2 MB, plus a 20 to 50 KB range that many application forms use.
Quality mode
Prefer a quality number instead of a size? Switch the mode and pick a JPG/WebP quality from 10 to 95.
Told when it can't
Some limits are too small for a big photo. Then you get the smallest file we could make and a note saying so.
Many files
Up to 20 images per run when signed in (5 without an account), downloaded as a ZIP.
Close to your number
The result is never above your limit and usually lands between 90% and 100% of it. The card shows the percentage.
How to use Compress Image to Target Size (KB/MB)
- Choose your image (JPG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF).
- Pick a size button or type your own limit in KB or MB.
- Leave "Reduce dimensions when needed" on unless the pixel size must stay the same.
- Press Process, check the final size on the result card and download.
Example result
Supported formats
Input: JPG/JPEG/JFIF, PNG, WebP, HEIC, AVIF, GIF (first frame), BMP and TIFF, up to 25 MB and 60 megapixels per file, with or without an account. Output: JPG, PNG or WebP. Automatic keeps JPG, PNG and WebP as they are and turns other formats into JPG (PNG if the image has transparency).
Good for
Limitations
- Why 25 MB: memory grows with the number of pixels, and a 60 megapixel photo (about 25 MB as JPG) already needs about 3 GB of server memory. A bigger file of the same photo would only be a less compressed copy, so 25 MB and 60 megapixels cover every real photo.
- 1 KB is counted as 1000 bytes here. So a file under 50 KB here is also under 50 KB on portals that count 1024 bytes per KB.
- To protect readability the tool never goes below JPG/WebP quality 20, 16 PNG colors or 160 pixels on the longer side. If a limit needs more than that, you get the smallest file inside those floors and a note.
- Camera details (EXIF, GPS) and color profiles are removed to save space. Colors are converted to sRGB first, so they look the same. A file that is already under the limit is returned unchanged, metadata included.
- PNG stays lossless only while it fits. To reach a limit it is reduced to 256 colors or fewer, which can add grain to photos. JPG is usually the better choice for photos.
- Only the first frame of an animated GIF or WebP is kept.
- Files are processed on Nimclip's servers and deleted automatically 30 minutes after the result is ready.
Compress Image to Target Size (KB/MB) FAQ
Will the file really be under my limit?
Why did my image get smaller in pixels?
My image is already under the limit. What happens?
Is KB 1000 or 1024 bytes here?
How long are my images kept?
User ratings
No ratings yet
Be the first to rate the Compress Image to Target Size (KB/MB). We show an average once 5 people have rated it.
Ratings come only from visitors who used the tool on this site. Nothing is imported from other sites, and nobody is paid or rewarded for a rating. How we handle reviews
Rate this tool
You can rate the Compress Image to Target Size (KB/MB) once you've used it: the stars unlock here when your result is ready.
Related tools
Increase Image Size in KB
Make a JPG or PNG file bigger to an exact size in KB or MB; the picture stays the same.
OpenResize Image in cm, mm or inches
Resize to an exact size in cm, mm, inches, pixels or percent at a chosen DPI.
OpenImage to JPG
Convert PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF images to JPG.
OpenImage to PDF (JPG to PDF)
Convert JPG, PNG and other images into one PDF, optionally under a size in KB.
OpenReady to try the Compress Image to Target Size (KB/MB)?
It's free and works without an account.
Choose a file