How to Compress an Image Under 20KB, 50KB or 100KB for Upload Forms
Upload forms often cap photos and signatures at a few kilobytes. Here is the honest way to get under the limit: adjust quality, pick a smaller format, resize if needed, and check.
DocsEngine Editorial Team
Example: a quality slider and the right format bring a photo down to a size limit.Key Takeaways & Executive Summary
Compress Image has no target-size box. You reach a KB limit by adjusting Compression Quality, the Output format and, if needed, the pixel size.
Start at the default 75%, check the size the tool reports, and lower the quality in small steps only as far as you need.
If you are far over the limit, resize first. Halving the width and height leaves a quarter of the pixels.
For photos, JPG or WebP (smallest) gives much smaller files than PNG. Check that the form accepts the format you choose.
If an image can’t get smaller in its own format, the tool keeps the original instead of making it worse.
Table of Contents
How to compress an image to a KB limit (quick answer)
Step by step: get under 20KB, 50KB or 100KB
Which setting to change, and when
What Compress Image does with each format
Tips for signatures and ID-style photos
Limitations: what Compress Image can’t do
Privacy: your photos stay on your device
Frequently Asked Questions
Sources
How to compress an image to a KB limit (quick answer)
Step by step: get under 20KB, 50KB or 100KB
Which setting to change, and when
What Compress Image does with each format
Tips for signatures and ID-style photos
Limitations: what Compress Image can’t do
Privacy: your photos stay on your device
Frequently Asked Questions
Sources
How to compress an image to a KB limit (quick answer)
Open Compress Image, add your photo, set Output format to JPG (or WebP (smallest) if the form accepts it) and click Compress Image. The result shows the old and new file size. If it is still over the limit, lower Compression Quality and try again; if it is far over, reduce the pixel size first.
There is no box where you type “50 KB”: the tool compresses once at the quality you choose. The method is a short loop: compress, check the size, adjust.
Step by step: get under 20KB, 50KB or 100KB
Check the form first: note the size limit, the file types it accepts and any pixel dimensions it asks for. Then follow this loop.

- Open Compress Image and click Choose Files, or drop your image onto the page.
- Choose the Output format. Same as original is the default; pick JPG for photos if the form asks for JPG, or WebP (smallest) if WebP is allowed.
- Leave Compression Quality at 75% for the first try and click Compress Image.
- Read the result line, which shows the original size, the new size and how much was saved. If you are under the limit with a little margin, click Download File.
- Still a little over? Click Process Another File, add the same image and lower the quality by 5 to 15 points.
- Far over the limit, or the picture already looks rough? Shrink the pixel size with Resize Image (for example to 1200 px wide, or smaller for tight limits), then compress the resized file.
Which setting to change, and when
The quality slider runs from 10 to 100 in steps of 5. The tool’s own hint is that 70–80% gives a good balance of size and quality. File size depends on the pixel count, the format and how much detail the picture has, so a busy landscape needs more kilobytes than a plain portrait of the same size.
| Lever | Effect on file size | Trade-off | Use it when |
|---|---|---|---|
| Lower Compression Quality (e.g. 75% to 60%) | Smaller JPG and WebP files | Blur and blocky artifacts at low settings | You are slightly over the limit |
| Output format: WebP (smallest) | Usually smaller than JPG at similar quality | Some upload forms do not accept WebP | The form allows WebP |
| Output format: JPG | Far smaller than PNG for photos | Transparent areas become white | Photos, or forms that ask for JPG |
| Fewer pixels (Resize Image) | Large drop: half the width and height is a quarter of the pixels | Less detail when zoomed in | You are far over the limit |
| PNG below 90% quality | Also tries a version with fewer colors | Banding in gradients and photos | Logos, screenshots or signatures that must stay PNG |
What Compress Image does with each format
JPG and WebP are lossy formats: the encoder throws away detail you are unlikely to notice, and the quality setting controls how much. Google reports that lossy WebP images are 25–34% smaller than comparable JPEGs at equivalent quality, which is why WebP is labelled the smallest option here.
PNG is lossless, so quality works differently. The tool always tries a lossless re-compression of the PNG. Below 90% it also tries a reduced-color, dithered version: 256 colors at 70–85%, 128 at 50–65%, 64 at 30–45% and 32 below that. Whichever file is smaller wins. Transparency is kept in both.
Static GIFs are re-palettized, while animated GIFs are left unchanged so the animation survives. BMP, TIFF, HEIC and AVIF can’t be compressed usefully in their own format, so they become JPG, or PNG if they have transparency.
Why the original sometimes comes back
When you keep the same format and the new file would be less than 1% smaller, the tool returns your original image instead of a worse copy, with hidden JPG or PNG metadata removed. Converting to another format is different: a JPG saved as PNG can end up bigger.
Tips for signatures and ID-style photos
If a form gives you a very small limit for a signature or photo, such as 20 KB, these habits help you get there without making the image unreadable.
- Crop away blank paper and background with Crop Image first. Every pixel you remove is a pixel you don’t pay for.
- Scan or photograph signatures on plain white paper in good light, so the background is close to white rather than gray and noisy.
- For a signature that must be PNG, set quality below 90% so the reduced-color version is tried; dark ink on white paper needs few colors.
- For a face photo, resize to the pixel size the form asks for before compressing; a full-size phone photo usually has far more pixels than a form asks for.
- Aim a few KB below the limit. The tool shows sizes in KB of 1,024 bytes, and some forms count a KB as 1,000 bytes.
Limitations: what Compress Image can’t do
It has no target-size field and no automatic search for a size: each run is one encode at the quality you set. Very small limits can force a choice between a smaller picture and visible artifacts, and a detailed photo squeezed to 20 KB at full size will look poor.
It does not change pixel dimensions; use Resize Image for that. If your browser can’t create WebP files, choosing WebP shows an error, so pick JPG instead. It can’t check a file against a portal’s rules, and it does not compress PDFs; for those, use Compress PDF. The file limit is 500 MB on desktop and 150 MB on mobile.
Privacy: your photos stay on your device
Compression runs in your browser, so ID photos and signatures never leave your device. Compressed files are re-encoded, which drops EXIF, GPS and XMP metadata.
No upload unless you agree
If a file is too large for your device, the page can offer to process it on our server and uploads only if you agree. Then the file is sent over HTTPS and deleted as soon as processing finishes, and the result is deleted right after you download it, or 10 minutes after processing if you never download it.
Get your image under the size limit
Adjust quality and format, check the size, repeat. Everything runs in your browser.
Frequently Asked Questions
If re-compressing in the same format would save less than 1%, the tool keeps your original. Lower the quality, switch to JPG or WebP, or reduce the pixel size.
Start at 75%, the default. The tool suggests 70–80% as a good balance; go lower in steps of 5 or 10 only as far as the limit requires.
Yes, you can add up to 50 files. They are processed one by one with the same settings and offered as a ZIP plus individual downloads.
Yes for every re-encoded file. When the original is returned because it could not get smaller, JPG and PNG metadata is still stripped.
Sources
- WebP (Google for Developers)
- MDN: Image file type and format guide (MDN Web Docs)
- PNG Specification (Third Edition) (W3C)
Table of Contents
How to compress an image to a KB limit (quick answer)
Step by step: get under 20KB, 50KB or 100KB
Which setting to change, and when
What Compress Image does with each format
Tips for signatures and ID-style photos
Limitations: what Compress Image can’t do
Privacy: your photos stay on your device
Frequently Asked Questions
Sources
How to compress an image to a KB limit (quick answer)
Step by step: get under 20KB, 50KB or 100KB
Which setting to change, and when
What Compress Image does with each format
Tips for signatures and ID-style photos
Limitations: what Compress Image can’t do
Privacy: your photos stay on your device
Frequently Asked Questions
Sources
Compress Image
Free, no sign-up. Runs in your browser, so your files never leave your device.
Share this guide


