toolsconvertor

Compress image to a target size

Choose the size your form allows and this tool finds the highest quality that fits. It lowers the quality first and shrinks the picture only if that is not enough. A photo that is already under the limit is returned unchanged. Your photos are processed on your device and are never uploaded.

LiveStays on your device · nothing uploadedFree · no limitsJPG, JPEG → JPG, WEBPImages

Choose your file

Drop your files here

or

JPG, JPEG, PNG, WEBP files. Nothing is uploaded — your files stay on this device.

Settings

Add a file to continue.

How was this tool?

How to use Compress image to a target size

  1. 1

    Add your file

    Drop it on the box above, or tap to choose. On a phone you can pick from your camera roll.

  2. 2

    Check the settings

    Sensible defaults are already set. Change them only if you need to, then run the tool.

  3. 3

    Preview and download

    Look at the result, then download it. Closing the tab discards it, because nothing was saved anywhere.

Want more detail? How to compress a photo to 50 KB or 100 KB for online forms.

Supported formats

InputOutputLimits
JPG, JPEG, PNG, WEBPJPG, WEBPLimited only by your device memory.

About Compress image to a target size

What does Compress image to a target size do?
Get a photo under 20 KB, 50 KB, 100 KB or any size an upload form asks for. Works with JPG, JPEG, PNG, WEBP and gives you JPG, WEBP.
Who is it for?
Creators and sellers preparing product photos, job applicants sizing a profile picture, anyone posting to a platform with strict image requirements, and people who want to strip location data before sharing a photo.
Is it free?
Yes. Compress image to a target size is free with no account, no watermark on your output, no daily cap and no trial period. Because it runs on your own device it costs us nothing to run, which is why there is no catch.
Is it safe to use with confidential files?
Yes, and not because we promise to behave. Compress image to a target size never sends your file anywhere — the work happens in your browser. There is no upload, so there is no copy of your document in our systems at any point.
What file formats are supported?
Input: JPG, JPEG, PNG, WEBP. Output: JPG, WEBP.
Are there any limits?
Output is JPG or WebP. Transparent areas of a PNG become white in a JPG.
Will the photo still look good?
For most limits from 50 KB upwards, yes. The tool keeps the highest quality that fits. For very small limits such as 20 KB the picture is also made smaller, so it is fine for a form but not for printing.
What if my form also needs exact dimensions?
Set the dimensions first with Resize image, then compress the result to the size you need.
Can I do several photos at once?
Yes. Add as many as you like. Each photo is brought under the limit on its own.
Are my photos uploaded?
No. They are processed in your browser and never leave your device.