Skip to main content
ToolstikToolstik
Images

How to Resize Images Online

ToolstikUpdated 5 min read
Illustration of a photo being scaled down to new pixel dimensions with its aspect ratio kept

To resize an image online, set the largest width or height you need and let the tool calculate the other side so the photo doesn't stretch. With the free Image Resizer, drop in JPG, PNG, or WebP files, enter a value in Max width (px, 0 = ignore) (the default is 1200), and click Resize images. Everything runs in your browser, and multiple files download as a single ZIP.

Try it now

Image Resizer

Open full tool

Loading tool…

How to resize images with Toolstik

  1. Open the Image Resizer and drop files onto Drop images to resize. It accepts JPG, PNG, WebP, up to 25 MB each.
  2. Enter a Max width (px, 0 = ignore). The default is 1200.
  3. Optionally enter a Max height (px, 0 = ignore). The default is 0, which means height is calculated from the width.
  4. Click Resize images.
  5. Click Download for a single file, or Download ZIP for several (resized-images.zip). Click Reset to clear everything.

Output files are named like photo-resized.jpg.

How width and height interact

The two boxes behave differently depending on which ones you fill in. This is the part people get wrong most often:

You enterWhat happensCan it enlarge?
Width onlyWidth becomes exactly that value; height follows the aspect ratioYes
Height onlyHeight becomes exactly that value; width follows the aspect ratioYes
BothImage is scaled to fit inside that box, aspect ratio keptNo, it only shrinks
Neither (both 0)Original dimensionsNo

The tool never stretches or crops. If you want an exact size like 1200×628 from a photo with a different shape, crop it to the right ratio first in a photo editor, then resize.

Worked examples

Camera photo for a blog. beach.jpg is 4032×3024 (4:3). Enter width 1600 and leave height at 0. The result is 1600×1200, because 3024 × 1600 ÷ 4032 = 1200.

Square box for social media. The same 4032×3024 photo with width 1080 and height 1080 fits inside the box as 1080×810. A portrait photo at 3024×4032 comes out 810×1080. Neither becomes a true square, because the tool doesn't crop.

Fixed-height thumbnails. For a gallery row with uniform height, set width to 0 and height to 400. A 1920×1080 screenshot becomes 711×400 (1920 × 400 ÷ 1080 ≈ 711.1, rounded to 711).

The upscaling trap. The default width is 1200. If you drop in an 800×600 image without changing it, you'll get a 1200×900 upscaled copy that looks softer than the original. Check your source size first, or fill in both boxes, since that mode never enlarges.

What happens to formats and quality

  • PNG in, PNG out. Transparency is kept.
  • JPG in, JPG out, re-saved at a high fixed quality (92%).
  • WebP in, JPG out. The resizer doesn't write WebP. If your WebP had transparent areas, they won't survive. Use the Image Converter afterward if you need WebP again.

Because JPGs are saved at high quality, resized files are smaller than the originals mostly thanks to the pixel reduction. To squeeze them further, run them through the Image Compressor. Our guide on compressing images without losing quality covers good settings. If all you need is "no wider than X," the compressor's own Max width (px) setting resizes and compresses in one step.

Tips for choosing dimensions

  • Match the display size, then double it for high-density (Retina) screens. A content column 800 px wide looks crisp with a 1600 px image.
  • Full-width hero images: 1600-2400 px wide is a common starting point. Test on a large monitor.
  • Marketplaces and social platforms publish their own recommended sizes and change them over time, so check their help pages instead of relying on old cheat sheets.
  • For print, keep the full resolution. Resizing down for print throws away detail you may need.
  • Keep your originals. Resize copies, not your only version.

Troubleshooting

My iPhone photo won't load. HEIC files aren't accepted here. Convert them first with HEIC to JPG, then resize the JPG.

A file was skipped when I dropped it. It's either over 25 MB or not a JPG, PNG, or WebP.

The result looks soft. You probably enlarged it. Compare the source dimensions with what you entered.

The image isn't the exact size I typed. You filled in both boxes, so the image was fitted inside them. Use one box for exact control over that side.

Other ways to resize

  • macOS Preview: Tools > Adjust Size lets you enter dimensions and resample. Apple's guide explains how to resize an image in Preview. You can also select several images in the sidebar and adjust them together.
  • Windows Photos or Paint both have a resize option for single images.
  • Squoosh (squoosh.app) resizes and compresses one image with a live preview and can output AVIF.

These are better if you also need to crop or if you're already working in that app. Toolstik is faster for a batch of mixed files that all need the same width.

Privacy

Resizing uses your browser's canvas, so images never leave your device. For the full image workflow, from HEIC conversion to compression, see the best free image tools, or read JPG vs PNG vs WebP vs AVIF to pick an output format.

Frequently asked questions