How to use this tool
- Choose a JPEG, PNG, or WebP file up to 20 MB and 24 megapixels.
- Enter width or height in pixels, with aspect ratio locked to avoid stretching.
- Process, preview, and download the resized image.
How it works
With aspect ratio locked, height = new width × original height ÷ original width, rounded to a whole pixel. Unlocked dimensions stretch pixels into the requested rectangle.
A practical example
A 2400 × 1600 image becomes 1200 × 800 when resized to 1200 pixels wide with the aspect ratio locked.
Frequently asked questions
Can I enlarge an image?
Yes, within 8192 pixels per side and 24 megapixels total, but enlargement cannot restore missing detail.
Which format should I choose?
PNG preserves transparency with lossless encoding. JPEG is suitable for photos and fills transparency white. WebP supports transparency and a quality setting.