Image Compressor (Compress to Target KB)
Compress JPG, PNG, and WebP images to your exact target file size in KB. Ideal for government portals, job applications, resumes, and websites with strict file size limits. 100% private in-browser compression.
Compress to exact size limit for government forms, job portals, or email.
Large images are the single biggest cause of slow pages and rejected uploads. Compressing an image trades a small amount of visual fidelity for a large reduction in file size, and for photographs the trade is usually invisible — a 4 MB phone photo commonly drops below 400 KB with no difference you can see at normal viewing size. This compressor uses the browser's own canvas encoder, so your images are never uploaded anywhere.
How to compress an image
- Select or drag in your image. JPEG, PNG, and WebP inputs are all supported.
- Set a target — either a quality level or a maximum file size such as 50 KB, 100 KB, or 200 KB.
- Optionally reduce the pixel dimensions. This is usually the largest single saving, since a 4000px-wide photo displayed at 800px is carrying 25 times the pixels it needs.
- Compare the preview against the original at full size, then download the result.
The Image Compressor (Compress to Target KB) runs entirely in your browser — nothing you enter is uploaded, stored, or logged.
When to use this tool
Meeting a strict upload limit
Application portals, exam registrations, and government forms frequently cap photographs at 50 KB or 100 KB. Targeting the size directly gets you under the limit without repeated trial and error.
Speeding up a website
Images typically account for most of a page's transferred bytes. Compressing them is the highest-leverage change available for Largest Contentful Paint, which is a direct Google ranking signal.
Attaching photos to email
Most mail servers reject attachments over 20–25 MB. Compressing a set of photos usually brings a whole batch comfortably under the limit in one pass.
Things worth knowing
- Resize before you compress. Cutting dimensions in half removes three-quarters of the pixels and dwarfs anything quality settings alone will achieve.
- JPEG quality 80 is the usual sweet spot for photographs — below about 60, blocking artefacts become visible around edges.
- PNG is lossless and suits screenshots, logos, and line art. Photographs saved as PNG are typically several times larger than they need to be.
- Compression is not reversible. Keep your originals, and never re-compress an already-compressed file repeatedly.
Guides that use this tool
Step-by-step walkthroughs for the situations this tool is usually reached for.
Frequently Asked Questions
Can I compress an image to under 50 KB or 100 KB?
How do I compress an image to exactly 50 KB?
Will compressing reduce the visible quality?
Are my images uploaded to a server?
Why is my PNG barely getting smaller?
Does compressing strip EXIF metadata?
Related Tools
PNG to JPG Converter
Convert PNG images to JPG with custom background fill for transparent areas and adjustable compression quality.
Crop Image & Aspect Ratio Tool
Crop photos to custom dimensions or standard aspect ratios (1:1, 16:9, 4:3, 9:16 Story) with live preview.
Image to PDF & PDF to Image Converter
Convert JPG, PNG, and WebP images into PDF documents, or extract PDF pages as high-resolution images.