Image Resizer Online
Resize a JPG, PNG or WebP by pixel dimensions or percentage. Lock the source ratio, or choose an exact width and height, then export JPG, PNG or WebP.
Your image is processed locally in this browser.
Before you start
- Choose one valid JPG, PNG or WebP up to 20 MiB (20 × 1024 × 1024 bytes). Header checks identify the format; the browser must also decode it.
- Keep Lock aspect ratio enabled and change width or height. Percentage buttons use the original dimensions; Reset restores source dimensions and the original format.
How to use the Image Resizer Online
- Choose one valid JPG, PNG or WebP up to 20 MiB (20 × 1024 × 1024 bytes). Header checks identify the format; the browser must also decode it.
- Keep Lock aspect ratio enabled and change width or height. Percentage buttons use the original dimensions; Reset restores source dimensions and the original format.
- Common dimension presets turn the ratio lock off. They stretch the whole picture to fit; they do not crop. Use a separate editor when a subject must stay centered inside a crop.
- Choose output format and quality (20–100), press Resize image, inspect the preview and use Download. PNG ignores the lossy quality setting. JPG uses a white background for transparent areas. The filename follows the actual returned format, including a browser PNG fallback.
File handling and privacy
The inspected processing code reads selected files in browser memory and has no file-upload request. The page and decoder assets still load over the network. This does not guarantee what third-party scripts, browser extensions or a compromised device can access. Canvas output does not intentionally copy source EXIF, GPS, camera tags or color profiles; do not rely on this as certified metadata sanitization. Check orientation, colors and the downloaded file before sharing.
Browser and memory limits
One file at a time, using the file picker; no dedicated drag-and-drop, batch export, crop, positioning, rotation or clipboard controls. Browser image decoding and canvas encoding must be available. Decoded images and canvases use much more memory than compressed input bytes. A 4000 × 3000 RGBA buffer alone is about 48 million bytes, before extra copies. The dimension guard is 8192 pixels per side and 24 million pixels, checked after decoding; it cannot prevent every decode-time memory failure.
Examples
A 3:2 photo for a page
A 2400 × 1600 photo at 50% becomes 1200 × 800. Changing its width to 900 with the ratio locked gives 900 × 600.
Square upload warning
Applying 1080 × 1080 to a 3:2 image stretches it. Prepare a square crop elsewhere if distortion is unacceptable.
Frequently asked questions
Does enlarging add detail?
No. The browser interpolates existing pixels. A 200% export is larger but cannot restore detail absent from the source.
Why does PNG quality not change its size?
Canvas PNG export does not use the JPEG/WebP quality parameter. Choose smaller dimensions or a lossy format to reduce bytes.
Does Same as original preserve the original file?
No. It selects the detected file format and re-encodes pixels. Metadata and compression can change.
What happens to animation and orientation?
This is a still-image workflow. Animated GIF and AVIF are unsupported; animated WebP is not preserved. Orientation follows the browser decoder, with no manual EXIF rotation correction. Check portrait photos before downloading.
More image tools
Image Compressor
Re-encode JPG, PNG or WebP at original dimensions with a WebP quality setting. Compare measured file sizes and download the actual browser output.
Open tool →Compress Image to Target KB
Try a JPEG quality and dimension search for a target KB limit. Accepts JPG and PNG; reports missed targets and fills transparency white.
Open tool →WebP to PNG
Convert one still WebP image to PNG with alpha support. Retain decoded dimensions and understand why output size may increase.
Open tool →HEIC to JPG
Try HEIC/HEIF to JPEG conversion with heic2any in the browser. Review codec limits, quality, metadata and single-image output.
Open tool →WebP to JPG
Convert one still WebP image to JPEG with adjustable quality and a white background. Check dimensions, byte size and browser support.
Open tool →Aspect Ratio Calculator
Simplify a pixel width-to-height ratio and calculate the rounded height for a new width. Includes portrait and landscape examples.
Open tool →