Image & Web Tools Live Auto-Calculate

Image Compressor (Target KB)

Compress JPG, PNG, and WebP images right in your browser to reduce file size or hit an exact target KB for forms and websites.

Target Max Size (KB):

Step-by-Step Breakdown

Standard Scenario:
Upload a 1.2 MB photo, set target to 100 KB (or 75% quality), and download a crisp ~95 KB JPG/WebP without uploading to any server.
  1. 1 Applied formula: Client-side HTML5 Canvas re-encoding with adjustable quality (10%–100%) and optional target KB binary search
  2. 2 Reference example: Upload a 1.2 MB photo, set target to 100 KB (or 75% quality), and download a crisp ~95 KB JPG/WebP without uploading to any server.

Frequently Asked Questions

No. All image compression runs 100% locally inside your browser using HTML5 Canvas, keeping your photos private.
Enter your desired Target KB (e.g. 50 or 100) and click Compress to Target KB. The tool automatically finds the highest quality that fits under your limit.
Disclaimer
This calculator is provided for educational and estimation purposes. It should not be used as official financial, medical, tax, or legal advice.