Category: Image tools
compress image to KB
Try a target KB locally for one image
Enter a target KB, max dimension and JPEG/WebP output. LocalTools tries compression in your browser, shows hit or closest result, and never uploads.
Compression is checked against the real output size from your browser. Exact byte-for-byte targets are not guaranteed.
Everything on this page is processed in your browser. Nothing is uploaded.
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
Use LocalTools to choose one still JPG, PNG, WebP or AVIF image, enter a target size in KB, set a maximum dimension and choose JPEG or WebP output. The browser tries quality and dimension rounds, then shows whether the target was hit; if not, it returns the closest result instead of promising an exact size. No upload, batch, folders, animation or metadata preservation.
How to use it
- Choose a still image and target KB
- Set maximum dimension and output format
- Review hit or closest result and download
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- How do I get an image under a KB upload limit?
- Choose one still JPG, PNG, WebP or AVIF image, enter the target KB, set the maximum dimension and output format, then let the browser try the compression locally.
- Is the target KB guaranteed?
- No. The tool checks the real byte size produced by your browser; if the tried quality and dimension rounds cannot reach the target, it shows the closest result above it.
- Can I choose JPEG or WebP output?
- Yes. The current tool offers JPEG and WebP output; if the browser cannot export the chosen format, it shows an error instead of a download.
- Does this image compressor store my image?
- No. Decoding, canvas redraw, export, preview and the download link happen in the current browser session; LocalTools does not store the image or result.
- What batch, animation or metadata features are not supported?
- It does not support batch or folder compression, animation preservation, EXIF/ICC preservation, crop, rotate, watermark, cloud storage or byte-perfect target guarantees.