Compress image to KB — hit the exact size a form asks for
Upload forms reject photos that are even one kilobyte over the limit. Choose your image, type the limit and download a JPG that is guaranteed to be at or under it, with the best quality that fits.
- No upload
- Exact size limit
- No watermark
- Choose your image
- Set the limit
- Download the JPG
Compress an image to a target size
We keep the full pixel size and lower the JPG quality first. Only if that is not enough do we make the image smaller.
Related tools
See all in Image tools- Photo & Signature ResizerExact pixels and KB range for application forms.
- Image CompressorShrink JPG, PNG and WebP photos to a target size in KB.
- Passport Photo MakerCrop to 35×45 mm, 2×2 in and more. Get a 4×6 print sheet.
- Compress PDFShrink a PDF to meet upload limits. Set a target size in KB.
- Resize ImageResize by pixels, percent or cm, with a target size in KB.
- Convert Image (JPG, PNG, WebP)Convert photos between JPG, PNG and WebP, in batches.
How to use Compress Image to KB
- Choose your image
A JPG, PNG or WebP from your phone or computer.
- Set the limit
Type the maximum size in KB or tap a common one.
- Download the JPG
The file is at or under your limit.
Why forms ask for a size in KB
Government portals, job applications, college admissions, bank KYC and visa forms all limit the size of the photo you can upload, often to 20 KB, 50 KB or 100 KB. A photo straight from a phone camera is usually 2 to 6 MB, which is 2,000 to 6,000 KB. It has to shrink a great deal, and the portal will not do it for you.
How this tool reaches the target
- It re-saves your image as a JPG and searches for the highest quality setting whose file is still under your limit.
- If even low quality is too big, which is common when a large photo must fit into 20 KB, it reduces the pixel dimensions step by step and tries again.
- It stops at the first result that fits, so you get the best-looking image possible for that size.
The result panel shows the final file size and pixel dimensions before you download.
Getting a sharper result
- Crop first. Background you do not need wastes kilobytes. Use the crop tool, then compress.
- Plain backgrounds compress better than busy ones, which is one reason forms ask for a white or light background.
- Do not go lower than required. If the limit is 50 KB, target 50, not 20.
- Check for a minimum. Some forms also set a minimum size, such as “between 20 KB and 50 KB”, and exact pixel dimensions. For those, use the photo and signature resizer.
What happens to PNG and WebP files
The output is always a JPG, because JPG is what nearly every upload form accepts and it is the format that can be tuned to a size. Transparent areas of a PNG become white.
Your photo stays on your device
The compression runs in your browser. The image is not sent to our servers, which matters for ID photos and documents. To shrink several pictures without a fixed target, use the image compressor. For documents, Compress PDF does the same job for PDF files, and the passport photo maker sizes photos for passports and visas.
Why use this tool
- Guaranteed under the limitThe tool keeps trying until the file fits, so the upload will not be rejected for size.
- Best quality that fitsIt searches for the highest quality at your target instead of using one fixed setting.
- Keeps dimensions when it canPixels are reduced only when quality alone cannot reach the target.
- PrivateThe image is processed on your device and never uploaded.
Frequently asked questions
Something else on your mind? Talk to us — we reply within one working day.
More free tools you might need
Browse all free toolsNeed a website, tool or calculator for your business?
We design and build fast websites and custom web tools for businesses across India.