Image Resizer
Resize a PNG/JPG image by exact pixels or by percentage. Nothing is sent to a server — everything runs in your browser.
Presets always produce that exact square size. A non-square source is scaled to fit, kept centered, and the rest is filled transparent (PNG) or white (JPG).
How to use
- Pick an image: choose or drag-and-drop a PNG/JPG.
- Resize: click a preset (16×16, 32×32, 48×48, 500×500, 1000×1000), type a width/height, or drag the scale (%) slider. With "Lock ratio" on, editing the width updates the height automatically to keep the original proportions.
- Pick a format: PNG keeps transparency; JPG is smaller and lets you adjust quality.
- Download: click "Download" to save the result.
Everything runs inside your browser (Canvas API) — nothing you upload is sent to a server or stored.
When to use each preset
16×16 / 32×32 / 48×48 are common favicon/icon sizes. 500×500 / 1000×1000 suit profile pictures, thumbnails, social posts, and product images that need a square format. If you don't need an exact pixel value, the scale (%) slider is the quickest way to shrink or enlarge relative to the original.
Frequently Asked Questions
Is my image sent anywhere?
No. All processing happens via the Canvas API inside your browser and is never sent to a server.
Can I set width and height independently?
Yes — turn off "🔗 Lock ratio" and each field becomes free to edit. If the values don't match the original aspect ratio, the image will look stretched or squeezed.
Does enlarging a small image hurt quality?
Yes — scaling above the original size means the browser has to interpolate new pixels, which can look soft. This tool works best for shrinking images down.
Why does a transparent background turn white in JPG?
JPG doesn't support transparency (an alpha channel). Download as PNG to keep the transparent background.
A preset added padding instead of cropping to fill the square.
That's intentional: for a non-square source, presets keep the original aspect ratio and center the image instead of stretching it, filling the rest transparent (PNG) or white (JPG). To fill the square exactly, use "Custom size" with "Lock ratio" off and type your own values.
Can I resize multiple images at once?
This tool handles one image at a time. To compose or edit several images together, try the Layer Image Editor.