toolImage editingfree
Change Image Pixel Size
Set exact pixel dimensions, with or without locking the ratio.
Drop an image here, or
Nothing is uploaded — the file stays in your browser.
Runs entirely in your browser. Nothing you paste is uploaded, logged, or stored.
How to use it
- Drop a JPG, PNG, or WebP image onto the picker.
- Type the width and height you need, or pick one of the presets.
- Leave the aspect ratio locked to avoid distortion, or unlock it to stretch.
- Choose the output format and quality, then download.
What it does
Resizes an image to an exact pixel size using the browser's own canvas scaler with high-quality smoothing. You can lock the aspect ratio so typing one dimension fills in the other, or unlock it when a layout demands specific numbers and you accept the distortion.
Choosing a format
- JPEG for photographs — smallest files, no transparency, adjustable quality.
- PNG when you need transparency or crisp flat colour, at the cost of size.
- WebP when you want JPEG-like size with transparency support.
FAQ
- Are my images uploaded to a server?
- No. Every tool here decodes and re-encodes your file using your browser's own Canvas APIs. The image never leaves your device, which is also why it works offline once the page is loaded.
- Will enlarging an image make it sharper?
- No. Scaling up interpolates pixels that were never captured, so the result looks soft. Resizing down is lossless in perception; resizing up is a compromise.
- Why did my PNG get bigger after resizing?
- PNG uses lossless compression that works best on flat colour. Re-encoding a photo as PNG, or resizing to dimensions that break up runs of identical pixels, can grow the file. Try WebP or JPEG for photos.