Image Resizer
Resize JPEG, PNG, and WebP images to any dimensions in your browser. Lock the aspect ratio to avoid distortion, choose quality for JPEG/WebP, and download instantly.
Drop an image here or click to browse
Supports JPEG, PNG, WebP
How resizing works
The image is drawn onto an HTML5 canvas at the target dimensions using the browser's built-in scaling algorithm, then exported in the original format. For JPEG and WebP, the quality slider controls the compression applied after resizing — higher quality means a larger file but sharper output.
Aspect ratio
With the aspect ratio lock enabled, entering a new width automatically calculates the correct height to preserve the original proportions. Unlock it to enter any width and height independently — useful for fitting images into a specific layout at the cost of potential distortion.
How to use
- Drop an image onto the upload area, or click to browse.
- Enter a target width or height — the other dimension updates automatically if the aspect ratio is locked.
- Or click a size preset (1920×1080, 512×512, etc.).
- For JPEG and WebP, adjust the quality slider if needed.
- Click Resize. The result shows the new dimensions and file size.
- Click Download to save the resized image.
Examples
- Simple: A product photo is 4000×3000 px. Resize to 800×600 to use as a web thumbnail — same aspect ratio, much smaller file.
- Developer workflow: An app requires avatar images at exactly 256×256 px. Upload any portrait photo, unlock the aspect ratio, enter 256×256, resize, and download the square crop.
- Edge case: Enlarging a small image (e.g. a 64×64 icon to 512×512) will produce a blurry result — the canvas scaler interpolates pixels but cannot invent detail. Use a dedicated upscaling tool for that use case.
All resizing happens in your browser using the HTML5 Canvas API — no image is uploaded to any server.
Frequently Asked Questions
- Does resizing preserve image quality?
- Scaling down generally produces a good-quality result. Scaling up beyond the original size will cause the image to appear blurry. For JPEG and WebP, the quality slider controls compression after resizing.
- What does locking the aspect ratio do?
- When locked, changing the width automatically updates the height to keep the same proportions. Unlock it to enter arbitrary dimensions, which may stretch or squash the image.
- Is my image uploaded to a server?
- No. Resizing is done entirely in your browser using the HTML5 Canvas API. Your image is never uploaded to any server.
- What is the maximum output size?
- The tool limits output dimensions to 8000 × 8000 px to avoid browser memory issues.