Resize Image by Pixels
Change image dimensions and keep the original aspect ratio.
Choose a product photo
JPG, PNG and WebP · AVIF where supported · Up to 50 MB · Processed locally
No image selected.
Advanced settings
Choose an exact maximum size. Compression runs in your browser.
Resizing never enlarges the original. With aspect ratio locked, the image fits within both dimensions.
JPEG removes transparency by placing a white background. PNG keeps transparency but may be larger.
How to resize an image by pixels
- Choose a JPG, PNG or WebP image.
- Enter maximum width and height in pixels.
- Keep aspect ratio enabled to prevent stretching.
- Choose an output format.
- Select Resize image and download the result.
About this tool
Resize JPG, PNG or WebP images by setting maximum width and height in pixels. Keep the aspect ratio enabled to avoid stretching, choose an output format and review the resulting dimensions before downloading. The tool does not enlarge an image beyond its original dimensions. Output dimensions can be lower than one or both limits when the original proportions are preserved. Processing takes place in your browser.
Frequently asked questions
Which image formats can I resize?
The resizer accepts JPG, PNG and WebP images.
Can I preserve the image proportions?
Yes. Keep aspect ratio enabled to prevent stretching. Width and height are maximum bounds when proportions are preserved.
Does the resizer enlarge small images?
No. The image is not enlarged beyond its original dimensions.
Are my images uploaded?
No. The browser processes the image on your device.
Why can output dimensions be lower than my limits?
The entered width and height are maximum bounds. Preserving aspect ratio can make one output dimension smaller than its limit.