TabGarden

Resize Image

Change image width and height in pixels or percent.

🔒 Processed on your device. Nothing is uploaded.

or drop them here

How to use

  1. 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.
  2. In the first menu, choose px to set an exact size in pixels, or Percent to scale by a percentage.
  3. 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.
  4. Click Start. The status line shows "Working…" and then "Done."
  5. 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

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

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

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.