Compress Image to 20 KB
Fit a small JPG, PNG or WebP under a 20,000-byte upload limit.
✓ Files stay on your device · Free to useor drag and drop JPG, PNG or WebP images here
Up to 10 images, 20 MiB per file, 60 MiB per batch and 40 megapixels per image. Static output only.Images are processed on your device, one at a time. No image is uploaded to a server. Keep your originals and check the downloaded result.
How to use this tool
- Choose a JPG, PNG or WebP file.
- Keep this page’s preset or choose the exact limit your form gives.
- Compress and verify the downloaded file’s bytes and dimensions.
Before you start
Fit a small JPG, PNG or WebP under a 20,000-byte upload limit.
A strict limit for small portraits and signatures
At this limit, detail is especially scarce. Crop excess space only if the form permits it. If a signature becomes unreadable, compare a cleaner capture with the old one. A smaller byte count is useful only while the image still shows what the form asks the reviewer to see.
This page starts at 20 KB. If the form gives another maximum, change the preset in the same tool. Divide a limit expressed in bytes by 1,000 to express it in KB here. Check the portal’s own definition when its validation appears to disagree with the output size.
Requirements and limits
Read the whole upload requirement before exporting. Some forms give a maximum and a minimum size, specify JPEG, or require a photo with a particular background. The KB preset checks the maximum only. DuoTools uses 1,000 bytes per KB and verifies that an output is strictly below the selected limit. If the form also specifies a minimum number of bytes, check that separately in the result. The tool does not add padding to meet a minimum.
The target mode tries changing encoding quality and can reduce dimensions when you allow it. The output may therefore have fewer pixels than your original. If the portal has a minimum width, compare the result with that requirement. You can disable further dimension reduction and make another attempt, but the tool may then be unable to meet the byte limit. A cleaner original or a crop allowed by the form can make it easier to preserve important detail.
How to check the result
Choose JPG for a portal that requires JPEG. When a source contains transparent areas, JPG fills them with the selected background color. PNG or WebP can preserve transparency if the destination accepts the format. PNG can be harder to fit at small limits because it does not have a lossy quality control in this tool. Keep the source file so you can make a different export if the requirements change.
Review both the on-screen result and the downloaded file. Expand the area with the smallest required text, a signature stroke, or an important feature of the photo. Preview scaling can hide compression artifacts. If the result looks soft, avoid compressing it again. Start with the original and try another permitted format or pixel size. Use the browser’s downloaded file size to cross-check the encoder’s reported result.
If the form still refuses an apparently valid image, compare the file extension, dimensions, background and size range with the form instructions. Use a clear filename for the version that meets the requirements. If the portal gives an error code, keep that message so you can distinguish a size problem from a format or upload issue.
Review checklist
| What to check | How to check it |
|---|---|
| Format | Check the downloaded file extension. |
| Detail | Zoom into the most important area before sending. |
| Size | Compare the download size with the recipient’s requirements. |
A few things you might wonder
Does the output need to match the preset exactly?
The preset is a strict upper limit. Check any minimum separately.
Is the file uploaded for processing?
The tool processes your selection in the browser. The download stays wherever your browser saves it. If you attach it to a message or form, that separate service receives the copy you chose.
Before you use the result
The tool processes your selection in the browser. The download stays wherever your browser saves it. If you attach it to a message or form, that separate service receives the copy you chose.