Why compress your images?
Large image files slow down your website, eat into email attachment limits, and take longer to share. Compressing reduces the file size while keeping the image visually sharp, which is especially useful before uploading to a website, CMS, or social media.
This tool uses your browser's built-in Canvas engine to re-encode the image at a lower quality setting, your photo is never sent to a server, so it stays completely private.
Compress an image to a target size (KB or MB)
Many forms and portals require a maximum file size, a government form might cap photos at 100KB, a job application at 200KB, an email attachment at 1MB. Switch to "By Target Size" above, pick your limit, and the tool automatically finds the highest quality that fits under it. No manual slider guessing, just pick 20KB, 50KB, 100KB, 200KB, 500KB, or 1MB and download.
How to compress an image to 100KB
100KB is one of the most common upload limits, used by passport and visa photo portals, many government forms, and some university application systems. Select "By Target Size" and choose 100 KB; the tool re-encodes your photo at the highest quality that stays under that limit, so it still looks sharp rather than blocky. If your original photo is very high resolution, getting under 100KB may need noticeably lower quality, in that case, resizing the image smaller first (fewer pixels) preserves more visible detail than compressing alone.
Frequently asked questions
Is my image uploaded to a server?+
No. Compression happens locally in your browser using the Canvas API. Your image never leaves your device.
Will compressing reduce the image quality?+
Some quality is traded for a smaller file size, but at 70-80% quality most photos look nearly identical to the original while being significantly smaller.
What file formats are supported?+
JPG, PNG, and WebP images can be uploaded, and the compressed result is downloaded as a JPG for the smallest file size.
Can I compress an image to an exact file size?+
Yes, switch to "By Target Size" and pick a limit like 100KB or 1MB. The tool tests different quality levels and picks the highest one that fits under your target. Very small targets on large, detailed photos may not be reachable without visible quality loss, in that case, try resizing the image to fewer pixels first.
Is there a file size limit?+
No fixed limit, though very large images may take a few extra seconds to process depending on your device.