How to use
- Click Choose files, or drag images onto the box that says "or drop them here". JPG, PNG and WebP are accepted, and you can add several at once. Use Remove to take a file off the list.
- In the first menu, choose px to set an exact size in pixels, or Percent to scale by a percentage.
- If you chose px, type a Width. Leave Height empty (it shows "auto"), or uncheck Keep aspect ratio and type a height as well. If you chose Percent, type a number in the Percent field.
- Click Start. The status line shows "Working…" and then "Done."
- Download each result from its link. With more than one image, a Download all (ZIP) link saves them all as
resized-images.zip.
All four fields are shown at the same time, but only the ones that belong to the selected mode are used: in px mode the Percent field is ignored, and in Percent mode Width, Height and Keep aspect ratio are ignored.
What happens to your files
Resizing happens inside your browser tab. TabGarden reads each image with the browser's File API, draws it onto an HTML canvas at the new size with the browser's high-quality smoothing, and saves the canvas as a new file. For several files, the ZIP archive is created in the same tab with fflate, an open-source JavaScript library. The tool's code makes no network requests with your images: nothing is uploaded, so there is nothing on a server to delete afterwards.
Results are held in your browser's memory as temporary download links. They are released when you close or reload the tab, so download what you need first. Your original files are never modified.
Because the image is redrawn on a canvas, metadata embedded in the original, such as EXIF camera details, capture date and GPS location, is not copied into the resized file.
Options explained
px or Percent
- px sets the result's width in pixels. Use it when a website, form or template asks for a specific size, such as "at least 1080 pixels wide" or "1200 × 630".
- Percent scales both sides by the same factor. 50 halves the width and height (leaving a quarter of the pixels); 200 doubles them. The field accepts 1 to 400. Use it when you just want "smaller" or "half size" and do not care about an exact number.
Width and Height
Width starts at 1200 and must be filled in when px is selected. Height is optional. When it is empty, or when Keep aspect ratio is checked, the height is calculated from the width so the picture keeps its shape. For example, a 4000 × 3000 photo resized to a width of 1200 becomes 1200 × 900.
Keep aspect ratio
Checked by default. While it is checked, any value in the Height field is ignored and the height always follows the width. Uncheck it only when you need an exact width and height and accept that the image may be stretched or squashed. Resizing a 4000 × 3000 photo to 1000 × 1000 with the box unchecked makes everything look narrower, because a 4:3 picture is being forced into a square. If you need a square without distortion, crop the image first in a photo editor.
Output format and quality
The format stays the same: JPG stays JPG, PNG stays PNG, WebP stays WebP. The one exception is a browser that cannot write WebP; it hands back a PNG, and the file is then named .png so the name matches its content. JPG and WebP results are saved at a fixed quality of 92 out of 100, which keeps them close to the original in appearance. PNG is lossless, so it has no quality setting. If you also want a smaller file size, run the result through Compress Image afterwards.
Examples and use cases
- Website or blog images. A phone photo is often thousands of pixels wide, far more than a typical article column needs. Resizing to 1200 or 1600 pixels wide usually reduces the file size a lot while still looking sharp.
- Profile photos and avatars. Many services crop to a square and display a small version. Resize to the width they recommend so the upload is quick and not rescaled unpredictably on their side.
- A batch of product photos with the same width. Add them all in px mode with width 1000. Every image comes out 1000 pixels wide; each height follows its own proportions.
- Shrinking screenshots for documents. Screenshots on high-density displays are often twice the size they appear on screen. Percent 50 brings them back to a normal size for pasting into a report or slide.
- Social media headers or banners. Uncheck Keep aspect ratio and enter both values only when your image already has nearly the right proportions, so the stretch is not noticeable.
- Enlarging a small image. Width values bigger than the original, or Percent above 100, enlarge the picture. This makes it bigger on screen but cannot add detail that was not there, so the result will look soft.
Output file names
Each result is named after the original with the final size appended: photo.jpg resized to 1200 × 900 becomes photo-1200x900.jpg. This makes it easy to keep several sizes of the same picture in one folder. A batch download is always resized-images.zip, and the images inside it are stored as they are.
Limits and troubleshooting
- Unsupported files. Only JPG, PNG and WebP are added to the list; GIF, HEIC, BMP, TIFF and other files are left out without a message.
- Empty or zero width in px mode. A width is required. Without it the canvas has no size and you will see "Something went wrong".
- The resized file is larger than the original. This can happen when you enlarge an image, or when the original JPG was saved at a low quality: re-saving at quality 92 can take more bytes even with fewer pixels. Use Compress Image on the result if size matters.
- The picture looks stretched. Keep aspect ratio was unchecked and the width and height you typed do not match the original proportions. Check the box again, or calculate a matching height.
- Blurry after enlarging. Expected. Resizing up spreads the existing pixels over more space; it cannot recover detail.
- Animated WebP files are reduced to their first frame.
- Very large images or big batches are limited by your device's memory and by the browser's maximum canvas size. If a run fails on a phone, try fewer files at a time.
- "cannot read image" means the file is damaged or not really the format its extension claims. Processing stops at that file; results listed before it can still be downloaded.
Pixels, aspect ratio and DPI
A digital image is a grid of pixels, and its "size" in this tool is that grid: width × height. Aspect ratio is the relation between the two sides; 4000 × 3000 and 1200 × 900 are both 4:3. DPI (dots per inch) only matters when printing: it says how many pixels go into one inch of paper. A picture 3000 pixels wide printed at 300 DPI comes out 10 inches (25.4 cm) wide. If a print shop asks for a certain size at 300 DPI, multiply the inches by 300 to get the pixel width you need, then enter that number here.
Frequently asked questions
Are my images uploaded to a server?
No. Each image is resized by your browser on your own device, and the tool's code does not send the files anywhere. The results vanish from memory when the tab is closed.
How do I resize without distorting the picture?
Leave Keep aspect ratio checked and enter only the width. The height is calculated for you. Percent mode always keeps the proportions too.
Can I set the height and let the width follow?
Not directly: the automatic side is always the height. To target a specific height, divide the height you want by the original height, multiply by 100, and use that number in Percent mode. For a 4000 × 3000 photo and a target height of 600, that is 20 percent.
Does resizing also compress the file?
Fewer pixels usually means a smaller file, but the tool does not lower the quality: JPG and WebP are saved at 92. For the smallest result, resize first and then use Compress Image.
Can I resize many images to the same size at once?
Yes. Add them all; the same settings apply to every file. In px mode they all get the same width. If Keep aspect ratio is unchecked and a height is set, they all get exactly the same width and height.
Will the format of my image change?
Normally no: each output keeps the format of its input. The exception is a WebP input in a browser that cannot write WebP, which produces a PNG named .png. To convert on purpose, use Compress Image, which can save as JPG or WebP.
Can I make an image larger?
Yes. Enter a width bigger than the original, or a percentage over 100 (up to 400). The image will be bigger but not sharper.
Why is the location data gone from my photo?
The resized image is a new file drawn from the pixels only, so EXIF metadata, including GPS position, is not copied over. Your original file still has it.