Compress image to any KB size
Enter the size your form allows, choose a photo, and download a JPG that fits. Free, instant and private.
- Free, no sign-up
- Files never uploaded
- No watermark
- No limits
Your photo is processed in your browser and is never uploaded.
How to compress an image to your size
- Tap Choose a photo and pick an image from your phone or computer.
- Check the target size. Change it if your form needs something different.
- Tap Download JPG and upload the file to your form.
Compress a photo to an exact KB limit
Online forms often reject photos for being too large. Type the maximum size your form allows in the Target size box, choose your photo, and DocSlim produces the best-looking JPG under that limit.
How it works
The tool searches for the highest JPEG quality that fits your limit. If the photo still doesn't fit, it reduces the resolution step by step. That way faces and text stay clear instead of turning blocky.
All of this happens in your browser. Your photo is never uploaded, which matters when it's a personal document or signature.
Frequently asked questions
What sizes can I compress to?
Any size. Common limits are 10 KB, 20 KB, 50 KB, 100 KB and 200 KB, but you can enter any number.
Which image formats are supported?
JPG, PNG and WebP work in every modern browser. HEIC photos from an iPhone open in Safari. The result is always a JPG, which every form accepts.
Is my photo uploaded to a server?
No. The compression runs inside your browser on your own device. Your photo is never uploaded, stored or seen by anyone.
Is this tool free?
Yes. It's completely free, with no sign-up, no watermark and no limit on how many images you compress.
Why is the result a little under the limit instead of exactly the limit?
Forms reject files that are even one byte over. DocSlim counts 1 KB as 1,000 bytes and aims just below your limit, so the file passes whether the website counts 1 KB as 1,000 or 1,024 bytes.