Dev Tools
Client-sidefiles never upload

Image compress to size (KB / MB)

Binary-search JPEG / WebP quality until the output stays under your chosen size. Built-in presets for Taiwan government forms and Taiwan / international job sites. Runs entirely in your browser.

Target size
Output ≤ 300.0 KB
Output format
How to use
  1. Pick a preset (Gov 300KB, Resume 500KB, Generic 2MB, LinkedIn 8MB) or switch to Custom and type a KB number.
  2. Choose an output format: JPEG (most compatible) or WebP (smaller at same quality, occasionally rejected by older systems).
  3. Drop your image and hit Start compressing. We binary-search quality until we land within ~6% of the target — usually 5-7 attempts.
  4. Check Achieved / Quality / Dimensions / Attempts; download when happy.
Tips
  • If quality alone isn't enough, we automatically downscale the canvas by 25% and search again — down to a 32×32 floor.
  • If we still can't hit the target, you'll get a warning. Usually means the target is too tight; try WebP (~30% smaller at same quality) or pre-crop.
  • The filename auto-includes the target size (e.g. photo-300kb.jpg) so you can sanity-check before uploading.
  • All maths runs in the browser via Canvas API — nothing leaves your machine.

Related tools