Image Resizer
Resize JPG, PNG or WebP images to an exact size or percentage — processed entirely on your device, never uploaded.
- Free — No signup required
- Instant — Results update as you type
- Private — Processed in your browser
Resizing an image is the most effective way to reduce its weight and the only way to meet an exact pixel requirement: a 1200 × 630 social preview, a 512 × 512 icon, a 1920-pixel banner. This tool resizes up to 20 images at once, in your browser, to a precise size or a percentage of the original.
How it works
Drop JPG, PNG or WebP files. Each is decoded with createImageBitmap with the EXIF orientation flag applied, so a portrait phone photo is resized as it appears, not as it was stored. Choose one of two modes:
- Exact size takes a width, a height, or both, in pixels. With the aspect ratio locked, entering just one dimension derives the other from each image's own proportions, and if you enter both, the width wins. Unlocking lets you set both independently, which stretches or squashes the image; that is occasionally what you want and usually not.
- Percentage scales every image by the same factor, from 1% to 400%.
When shrinking by more than half, the image is halved in steps before the final resample; a single large reduction skips too many source pixels and leaves jagged edges. The result is encoded in the source format by default, or in JPEG, PNG or WebP if you choose. JPEG output uses a fixed 92% quality and flattens transparency onto white. Files download as name-resized.jpg, .png or .webp.
Images are processed one after another rather than in parallel, because several large photos decoded at once can exhaust memory on a phone. Metadata is not preserved; the output is fresh pixels with no EXIF, GPS data or colour profile. SVG is not accepted, since a vector image has no fixed pixel size to change.
Enlarging
Scaling above 100% does not add detail. The browser interpolates between existing pixels, so a 400 × 300 photo enlarged to 1600 × 1200 is a soft, slightly blurry version of the small one. Enlarging is useful for meeting a minimum-dimension rule or for pixel art (which needs a nearest-neighbour filter this tool does not offer), but a print or hero image should come from a larger original. If none exists, keep the enlargement modest; 150% is usually tolerable, 400% rarely is.
Choosing dimensions
Match the largest size the image will be displayed at, allowing for high-density screens. A 600-pixel-wide column on a 2× display needs a 1200-pixel image to look crisp, and no more. Common targets:
| Use | Size |
|---|---|
| Open Graph / link preview | 1200 × 630 |
| Full-width hero on a 1080p screen | 1920 wide |
| Blog content column at 2× | 1400–1600 wide |
| Avatar or app icon | 512 × 512 |
| Email attachment | 1024–1600 wide |
For a fixed-ratio slot such as 1200 × 630, resizing alone will not fit an image of a different ratio; unlock the aspect ratio only if slight distortion is acceptable, and otherwise crop first in an editor.
Command-line equivalent
ImageMagick's -resize accepts the same kinds of specification, and the > suffix only shrinks images that are larger than the target:
convert photo.jpg -auto-orient -resize 1600x photo-resized.jpg # width, keep ratio
convert photo.jpg -auto-orient -resize '1200x630!' preview.jpg # exact, ignore ratio
mogrify -auto-orient -resize '50%' *.png # in place, by percent
Learn more
Serving different sizes to different screens with srcset and <picture>, and drawing scaled images on a canvas, are covered in HTML5 essentials. Once the dimensions are right, the image compressor controls the file size with a quality slider or a target in KB, and the image to PDF converter turns a set of resized pages into a single document.
FAQ
- Does resizing reduce file size too?
- Usually, yes — smaller dimensions mean fewer pixels to encode. For control over file size specifically, use the Image Compressor's target-size mode after resizing.
- What does locking the aspect ratio do?
- With it locked, entering just a width or just a height derives the other dimension automatically from each image's original proportions, so nothing looks stretched.
- Are my images uploaded anywhere?
- No. Resizing happens entirely in your browser using the Canvas API.