Image Resizer
Set exact pixel dimensions for JPG, PNG, WebP, BMP, TIFF or AVIF images in your browser, keep the proportions with the aspect ratio lock, and download one file or a whole batch without any upload.
What it does
- Exact width and height in pixels
- Aspect ratio lock, on by default
- High-quality Lanczos resampling
- Batch resize into one ZIP, named with the new size
- Runs locally, files never leave your browser
This image resizer changes the pixel dimensions of JPG, PNG, WebP, BMP, TIFF and AVIF images to the exact width and height you type. Resizing is usually a finishing step, as our guide to resizing images without uploading explains: you are preparing a photo for a form, a website or a marketplace listing that expects specific dimensions. The scaling runs in your browser tab with Rust compiled to WebAssembly, and the image is never sent anywhere.
How to resize an image
- Drop an image on the drop zone or click to choose one. Its format, current dimensions and file size appear next to the thumbnail, and the width and height fields are filled with the original values.
- Type the new width or height in pixels. With the lock active (the default), the other value is calculated from the original proportions as you type.
- For JPG files, adjust the quality slider if needed (default 85).
- Click Resize. The result shows the new dimensions and file size next to the old ones, with a preview.
- Click Download. The file is named after the original plus its new size, for example
photo-1200x800.jpg.
The aspect ratio lock
The lock button between the two fields decides whether the image may be distorted.
- Lock on: changing the width updates the height (and the reverse) using the original ratio, so nothing is stretched. Internally the image is scaled to fit inside the width and height you set, keeping its proportions.
- Lock off: the image is scaled to exactly the width and height entered, even if that squeezes or stretches it. Useful when a platform demands fixed dimensions and slight distortion is acceptable, or for textures and icons where you know the target ratio.
If you need a different ratio without distortion, for example a square profile picture from a landscape photo, crop first with the image transform tool, then resize the cropped result here.
Resizing a batch of images
Select several files at once and they are all resized with the same width, height and lock setting, then downloaded together as resized-images.zip. Each file keeps its own format (AVIF files come out as PNG) and gets its final size in its name. With the lock on, every image is fitted inside the box you defined while keeping its own proportions, so a portrait and a landscape photo will not end up with identical dimensions. With the lock off, every file gets exactly the dimensions you typed.
Output format and quality
The resized image keeps the format of the original: a PNG stays a PNG, a JPG stays a JPG. AVIF is the exception: your browser decodes it into a lossless PNG before resizing, so an AVIF file comes out as PNG. Scaling uses Lanczos resampling, a high-quality filter that keeps edges crisp when reducing large photos. The quality slider applies to JPG output. PNG, BMP and TIFF are lossless, and WebP files are written as lossless WebP, so a resized WebP photo can be larger in bytes than you expect. If file size is the goal, run the result through the image compressor, or change format with the image converter.
When to resize an image
- Upload limits: application portals, job sites and administrative forms often reject images above a given width or height.
- Web pages: a 4000 pixel camera photo displayed in a 1200 pixel column wastes bandwidth. Scaling it to the displayed size is the single biggest saving.
- Email and messaging: smaller dimensions keep attachments light and quick to open on phones.
- Product and catalog photos: batch resizing gives a series of pictures consistent dimensions before publishing.
Limits and edge cases
- Width and height must both be at least 1 pixel.
- Enlarging is possible but cannot invent detail: an upscaled image looks softer, not sharper.
- Phone photos stored sideways with an EXIF orientation flag are turned upright first, and the dimensions shown already account for the rotation.
- The output is re-encoded from pixels, so metadata such as EXIF GPS position is not carried over.
- AVIF files are decoded by your browser before resizing, so they need a browser that can display AVIF (all current major browsers do). The result is saved as PNG.
- Very large images are limited only by your device's memory, since processing happens in the tab.
Compared with desktop software
Most systems include a basic resizer: Preview on macOS has an Adjust Size dialog, and on the command line ImageMagick does it with magick photo.jpg -resize 1200x photo-small.jpg. Those are fine when you are at your own machine. The browser resizer helps when you are on a work or shared computer where you cannot install software, when you want a batch processed with identical settings without writing a command, or when you simply want the result immediately from the page where you need it.
Why resize in your browser
The images people resize are often the sensitive ones: passport photos and ID scans for an online application, pictures of a home for a rental listing, screenshots that will go into a support ticket. An online resizer that uploads the file creates a copy on someone else's server just to change two numbers. Here the file is read into memory, scaled and offered as a download from the same tab, with no network request for your image. You can confirm it in your browser's Network tab, or go offline after the page loads and keep working.
Frequently asked questions
- How do I resize an image without stretching it?
- Keep the aspect ratio lock on and type only the width or only the height. The other value follows the original proportions, so the image is scaled evenly.
- Can I resize several images to the same size at once?
- Yes. Select multiple files, set the dimensions once and click Resize. All results are packed in one ZIP. Turn the lock off if every file must have exactly the same width and height.
- Does resizing reduce the file size?
- Making an image smaller in pixels usually reduces its file size a lot, because there are fewer pixels to store. For further savings at the same dimensions, use the image compressor afterwards.
- Can I resize by percentage?
- The tool works with pixel values. To scale to 50 percent, halve the width shown in the field and let the lock calculate the height.
- Will resizing change the format of my image?
- No. The output has the same format as the input, except AVIF, which is saved as PNG. Use the image converter if you also need a different format.
- Is my image uploaded?
- No. Resizing runs entirely in your browser with WebAssembly. The image never leaves your device and nothing is stored on a server.