Resize and convert images without uploading them
This page is a small, honest image utility. You pick a PNG, JPEG, WebP, GIF or AVIF file, choose a target width and output format, and the browser decodes the image, redraws it at the new size on a canvas, and re-encodes it. The result is a real file you can download. Nothing is sent to a server, and no account is required.
It is useful when you need a quick resize for a blog header, a social post, a thumbnail, or a product photo that is too heavy for the web. It is not a full photo editor: there is no crop tool, no layer system, no RAW support, and no batch queue. If you need those, use a dedicated editor.
What the tool actually does
- Decodes the selected file with the browser's built-in image decoder (
createImageBitmap). - Redraws it onto a canvas at the width you enter. Height is computed from the original aspect ratio, so the image is never stretched.
- Applies optional rotation and horizontal flip before encoding.
- Encodes to WebP, JPEG or PNG using
canvas.toBlobwith the quality value you set. - Downloads the encoded bytes as a file named after the output width and format.
Choosing a format
| Format | Best for | Notes |
|---|---|---|
| WebP | Web pages, smaller files | Good compression, supports transparency. Widely supported in modern browsers. |
| JPEG | Photographs | No transparency. Transparent pixels are filled with the chosen background color. |
| PNG | Logos, screenshots, transparency | Lossless, larger files. Quality slider has no effect on PNG. |
Practical limits
- Width is capped at 8,192 pixels to keep browser memory manageable. Very large images may still fail on low-memory devices.
- Animated GIFs are decoded as a single frame; animation is not preserved.
- EXIF orientation is applied by the browser's decoder in most modern browsers, but not guaranteed across every device.
- Color profiles are not preserved. The output uses the browser's default sRGB interpretation.
- Quality values below about 40 produce visible artifacts on photographs.
Privacy
Your file is read with the browser's File API and processed in memory. It is never uploaded, logged, or stored. Closing the tab discards everything.
Frequently asked questions
Does this upload my image anywhere?
No. All decoding, resizing and encoding happen in your browser using the Canvas API. The only network requests are for the page itself and the font.
Why is my PNG larger than the original?
PNG is lossless. If the original was a compressed JPEG, re-encoding to PNG will usually produce a larger file. Use WebP or JPEG for photographs.
Can I resize several images at once?
Not on this page. It handles one image at a time. For batches, use a desktop tool or a script.
What happens to transparent areas when I choose JPEG?
They are filled with the background color you pick in the "Background for JPEG" section, which defaults to white.
Why does the quality slider not change my PNG?
PNG is lossless, so the quality parameter is ignored by the encoder. The slider only affects WebP and JPEG.