How to use this tool
- Drop a JPG, PNG or WebP, or use the file picker.
- Tap 20 KB, 50 KB, 100 KB or 200 KB, or type a custom limit from your form.
- Read the reported width, height and file size. If the picture had to be scaled down, that is stated plainly.
- Download the JPG and upload that file to the form — not a screenshot of the preview.
Worked example
A 12-megapixel phone photo is often two to four megabytes. For a job portal that accepts “JPG up to 50 KB”, pick the photo, leave the target on 50 KB and compress. You should see a file of 50,000 bytes or less. If the face looks too soft, crop closer to the subject in your gallery first and run the tool again — less background means more of the 50 KB budget can go to the face.
Limitations
- Output is always JPEG. A PNG with transparency is flattened onto white.
- HEIC from some iPhones opens only if the browser can decode it. If it fails, convert to JPG in your photos app first.
- We cannot write progressive JPEG or keep a wide-gamut colour profile; the canvas works in sRGB.
- Animation is not preserved (only the first frame of an animated image is read).
Frequently asked questions
Will the file be exactly 20 KB?
It will be at or under the limit you set, never over it when the tool reports success. Upload forms reject a file that is even one byte too large, so the encoder stops just below the cap rather than padding bytes to hit an exact size.
How does the compressor choose quality?
It binary-searches JPEG quality for the highest setting whose file still fits. If the lowest sensible quality is still too big, it reduces the width and height (keeping the aspect ratio) and searches again. The result line shows the final pixel size.
Can every photo reach 20 KB?
Almost always, after enough downscaling. A failure message appears if even a very small copy at low quality stays over the limit — unusual, but possible in a browser that writes large JPEGs. We will not pretend a file is under the cap when it is not.
Should I use this for a signature?
You can, if the form only names a kilobyte limit. If it also names width and height, the signature resizer is the better fit because it will not change those pixel dimensions just to save bytes.
What does “1 KB” mean here?
1 KB is treated as 1,000 bytes. A 50 KB target means 50,000 bytes or fewer. That file also passes software that counts a kilobyte as 1,024 bytes.
Is EXIF data kept?
Drawing through a canvas drops camera metadata, including GPS. That usually helps a tight size limit and avoids sending location data inside an application photo.
Does it work on an Android phone?
Yes. Use “Choose image”, pick a photo from your gallery, wait for the size line to appear, then download. The layout is designed for a 360-pixel-wide screen.