Image Compressor
Compress JPG, PNG and WebP images right in your browser to shrink file size while keeping good quality — your images are never uploaded.
Resize JPG, PNG and WebP images in your browser — by exact size, by percentage, or to fit a box, with the aspect ratio locked by default. Your images are never uploaded.
Runs entirely in your browser — nothing you type is uploaded.
Note: the resizing runs in your browser with JavaScript. With JavaScript off you can read this guide, but the tool controls will not appear.
This tool changes an image's pixel dimensions entirely in your browser, using the browser's own canvas support — no upload, no network request. Resize by exact width and height, by a percentage, or to fit within a box, with the aspect ratio locked by default so your image is never stretched. You can also change the output format and quality while you resize.
When you add an image, its dimensions and size are read and the width and height fields are filled in. With aspect ratio locked, editing one dimension recalculates the other so proportions are preserved. "Exact dimensions" produces exactly the size you enter; "fit within a box" scales the image down to fit inside the width and height you give while keeping its shape. On resize, the image is drawn onto an off-screen canvas at the target size with high-quality smoothing and encoded to your chosen format — filling a background colour first if you output JPG, which has no transparency. Temporary object URLs are released when you resize again or clear.
Supported formats are JPG, PNG and WebP. Enlarging an image beyond its original size cannot add detail and will look softer, so resizing down gives the best results; the tool warns before large enlargements and prevents unreasonable dimensions that could crash the browser. When outputting JPG from a transparent source, transparent areas are filled with a background colour because JPG has no transparency.
Everything runs locally in your browser. Your images are never uploaded, stored or shared, and the tool makes no network requests.
Compress JPG, PNG and WebP images right in your browser to shrink file size while keeping good quality — your images are never uploaded.
Convert images between JPG, PNG and WebP right in your browser — with quality control and a background colour for transparent images. Your images are never uploaded.
Remove a solid or near-uniform background from an image in your browser and get a transparent PNG. It uses a local colour-based edge algorithm — not an AI model — and works best on product shots, logos and graphics. Your image is never uploaded.