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
- Pick a preset (Gov 300KB, Resume 500KB, Generic 2MB, LinkedIn 8MB) or switch to Custom and type a KB number.
- Choose an output format: JPEG (most compatible) or WebP (smaller at same quality, occasionally rejected by older systems).
- Drop your image and hit Start compressing. We binary-search quality until we land within ~6% of the target — usually 5-7 attempts.
- 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
- Image ↔ Base64Drop images → data URI / raw base64 / HTML / CSS one-click copy; paste base64 → preview + download
- HEIC → JPG / PNG / WebPConvert iPhone .heic photos to common formats, batch processing + ZIP download, all in your browser
- Image Crop (free / aspect / circular)Visual drag-to-crop with locked aspect ratios (1:1 / 16:9 / 3:2…), circular mask for avatars, export PNG / JPG / WebP with custom output width
- Image Resize (fit / longest-edge / scale)Four modes: fit-inside box, cap longest edge, percentage scale, force exact size. Outputs JPG / PNG / WebP, never enlarges by default