Skip to content

Image Compressor / Resizer

Resize images to target dimensions and adjust JPEG/WebP quality entirely in the browser, then download the result.

Runs locally in your browser

Drop an image to compress and resize

Processed entirely in your browser — nothing is uploaded.

Upload an image to see compression results.

Discuss a result

Write a short summary and review it before posting. Your tool inputs are never copied automatically.

What is the Image Compressor / Resizer?

This tool resizes and re-compresses images locally using an HTML canvas. Nothing is uploaded — the original file stays on your device.

How to use it

  1. 1Choose an image.
  2. 2Set a maximum width or height and a quality level.
  3. 3Preview the new size and download the result.

How it works

The image is drawn onto a canvas at the requested dimensions, then exported via canvas.toBlob at your chosen quality and format. All processing happens on your machine.

Limitations & notes

  • Canvas export strips EXIF/orientation metadata.
  • Very large images may be limited by browser canvas size.

Frequently asked questions

Should I choose WebP, JPEG or PNG?

WebP is usually the smallest for photos at the same visual quality and is supported by all current major browsers. JPEG is the safest choice for email or older software. PNG is lossless and suits screenshots, logos and text, but photos saved as PNG are often several times larger than the JPEG. In this tool the quality slider affects only WebP and JPEG; PNG ignores it.

What quality setting should I use for a website?

For photos, 70 to 85 percent usually looks identical to the original at normal viewing size while cutting file size substantially. Below about 60 percent you start to see blockiness around edges and in skies. Resizing matters even more: a 4000 pixel wide phone photo shown in an 800 pixel wide column wastes most of its bytes, so set a sensible max width first, then adjust quality.

Why did the compressed file come out larger than the original?

Re-encoding cannot always beat an already optimized file. Converting a JPEG to PNG almost always grows it, and saving an already heavily compressed JPEG at 95 percent quality can add bytes. The tool then shows a reduction of 0 percent. Lower the quality, pick WebP, or reduce the max width or scale, and press Process image again to compare.

Why did the transparent background turn black?

JPEG has no transparency channel. When a transparent PNG is drawn on the canvas and exported as JPEG, transparent pixels are filled with black. Choose WebP or PNG to keep transparency. Animated GIFs also lose their animation, because only the first frame is drawn to the canvas, so the output is a single still image.

Can this tool make an image bigger, and what limits apply?

No. Width, height and scale are caps: the tool shrinks images to fit the max width and height (1920 by 1080 by default) but never enlarges them past their original pixels. Files must be under 25 MB. The download is named compressed.webp, .jpeg or .png; if a browser cannot encode the chosen format it may fall back to PNG data, so check the result if you use an older browser.

No directly related discussion yet.

Start a focused thread and share the question this tool helped you explore.

Ask the community about Image Compressor / Resizer

You might also like