Compress Image to KB
Set a file size limit and download a JPG that fits.
How to use
Choose one static JPG, PNG or WebP, enter the maximum size in KB and compress. If the original dimensions are too large for the limit, you can allow resizing. Preview the result and download the JPG once it fits.
Example
For a form that accepts files up to 200 KB, enter 200. The downloaded JPG will contain at most 200,000 bytes.
Good to know
Where is my data processed?
Your browser performs the operation. Input stays in page memory. Markdown draft saving is available when you explicitly enable it on this device.
Will my image be resized?
Compression first tries the original dimensions. When it cannot meet the limit at those dimensions, you can allow proportional resizing and preview the result.
What happens to transparency and photo metadata?
New JPGs have a white background and keep the visible orientation, with EXIF removed. If a JPG already fits the limit, its original bytes and metadata are kept.