How this works
This tool resizes and re-encodes images entirely on your device using the browser's native canvas encoder. Nothing is uploaded to a server. The preview you see is the exact bitmap that will be written into the downloaded file.
What it does
- Decodes PNG, JPEG, or WebP images with
createImageBitmap. - Scales to your chosen width, preserving aspect ratio.
- Re-encodes to WebP, JPEG, or PNG at your chosen quality.
- Shows the real encoded size in kilobytes before you download.
Limitations
- Width is capped at 8,192 px to keep browser memory manageable.
- JPEG has no alpha channel, so transparent areas are filled with white.
- Quality only affects WebP and JPEG; PNG is lossless.
- Animated GIFs and SVG are not supported here.
- Output format support depends on your browser. If a format is unavailable, the tool tells you and suggests PNG.
Frequently asked questions
Are my images uploaded anywhere?
No. All decoding, scaling, and encoding happens in your browser using the Canvas API. No network request carries your image bytes.
Which format should I pick?
WebP is usually the smallest for photos and screenshots on the modern web. JPEG is a safe fallback for older software. PNG is best when you need transparency or lossless output.
Why is my PNG larger than the original?
PNG is lossless, so re-encoding at a different size can produce a larger file than a compressed JPEG or WebP. Try WebP or JPEG for smaller output.
Does it crop?
No. This tool scales the whole image to the width you set and preserves aspect ratio. Cropping is not part of this workflow.