How to resize pictures
- Add your pictures. Drop one or many anywhere on the page, paste one, or click the box to choose files. Each one is listed with its size and a preview of what it will become.
- Choose the new size. Click a quick size such as 1024 px, or pick Width & height or Percent and type your own.
- Press Resize. Each picture is redrawn at its new size, and the list shows the real size and file size next to the original.
- Download. Use the link on each row, or Download all as ZIP when you have more than one.
If you change a setting after resizing, the finished results are cleared, because they no longer match, and you press Resize again. Your original files are never touched.
Need every picture at one exact size with control over the crop, plus a border, a watermark or numbered file names? Use the bulk image resizer, which shows a preview tile for each picture and lets you set the crop by hand.
Three ways to set the size
| Mode | What you type | What happens |
|---|---|---|
| Longest side (the default) | One number, for example 1024 | The longer side becomes that many pixels and the other follows, so the shape never changes. A 4000 × 3000 picture becomes 1024 × 768, and a 3000 × 4000 one becomes 768 × 1024. This is the quickest way to bring a mixed folder to one working size. |
| Width & height | A width, a height, or both | With Keep proportions on, the picture is fitted inside that box without changing its shape. Fill in only one box and the other side follows. With it off, you get exactly that size, and you choose what happens when the shape differs (see below). |
| Percent | A number, for example 50 | Both sides are multiplied by it. 50 gives half the width and half the height, which is a quarter of the pixels. |
The quick size buttons set the longest side to 512, 768, 1024, 1536 or 2048, and Half size sets 50%.
When you need an exact size
Turn off Keep proportions and enter both a width and a height. If the picture has a different shape from the size you asked for, you pick one of three ways to deal with it:
- Crop to fill (the default) scales the picture until it covers the whole size and trims the overflow equally from both sides. Nothing is empty and nothing is distorted, but the edges are cut off.
- Add padding keeps the whole picture, scaled to fit inside the size, and fills the leftover bands with a color you choose. Nothing is cut and nothing is distorted, but there are bands.
- Stretch forces the picture to the size. Nothing is cut and nothing is empty, but the picture is squashed or stretched.
More options
- Never make a picture bigger than it is is on by default. In Longest side mode, and in Width & height with proportions kept, a picture already smaller than the target is left at its own size, because enlarging adds no detail. It does not apply to an exact size or to a percentage, where you asked for the size directly. Untick it to allow enlarging.
- Make both sides a multiple of 8 or 64. Each side is rounded to the nearest multiple, which changes the shape very slightly. Some training tools need sizes divisible by 8 or 64. Our guide on image size and count for LoRA training explains why bucket sizes move in steps of 64.
- Save as keeps the original type, or switches to PNG, JPEG or WebP. A type the tool cannot save, such as GIF or BMP, becomes a PNG when you leave it on same type. JPEG and WebP show a quality slider from 50 to 100, set to 90 to begin with. PNG is lossless and has no quality setting.
JPEG cannot hold transparency, so see-through areas become white, or the padding color if you chose padding.
How it shrinks a picture
Shrinking a large picture in one step throws pixels away and leaves jagged edges and moiré patterns on fine detail. The tool instead halves the picture repeatedly, blending neighboring pixels at each step, and finishes with one last step to the exact size. Fine detail such as hair, text and textures stays clean. Enlarging is done in a single smooth step, and it cannot invent detail that was never there.
The picture is read with its phone rotation tag applied, so a photo that opens sideways on some programs is resized the way it looks in a normal viewer. Our EXIF guide explains that tag.
What you get back
- File names keep the original name and add the new size, for example
holiday-1024x683.jpg. The ZIP is calledresized-images.zip, and two files with the same name get a number added so one never overwrites the other. - Metadata is not kept. The saved files are fresh drawings, so camera details and GPS location from the originals are left behind. Check a file with the metadata viewer if you need to be sure.
- The size limit is your browser's. Browsers will not draw a picture wider than 16,384 pixels or larger than about 120 megapixels. If a size you ask for would pass that, the tool shrinks it to fit and tells you on the row.
- Animated files such as GIFs use only their first frame.
- HEIC photos cannot be opened by most browsers other than Safari. Pictures the browser cannot open are left out, and the page says how many.
- Large batches work, but every finished picture is held in memory until you download it, so a few hundred large photos at once may be too many for a phone. Do very large folders in groups.
Common reasons to resize
- Training sets. Bring every image to one working size before tagging and training, for example 512 for Stable Diffusion 1.5 or about 1024 for SDXL. Resizing first is also faster for the batch color fixer and the batch tagger. See the dataset workflow guide for where this step goes.
- Faster pages and smaller uploads. A photo straight off a phone is often far larger than a web page ever shows. Shrinking it keeps pages light.
- Email and messaging. A smaller picture is quicker to send and fits within attachment limits.
- Thumbnails and avatars at an exact square size, using crop to fill.
Privacy
Pictures are opened and resized inside this tab, and the files on your disk are never changed or deleted. For what the site collects, see our privacy policy.
Frequently asked questions
Will resizing make my picture blurry?
Making a picture smaller keeps it sharp when done properly, and this tool shrinks in several gentle steps for that reason. Making a picture larger cannot add detail, so it can look soft. That is why the never-enlarge option is on by default.
How do I resize to an exact size like 512 × 512?
Choose Width & height, untick Keep proportions, and enter 512 in both boxes. Then choose how to handle a picture that is not square: crop to fill, add padding, or stretch.
Why did my picture not get bigger?
Under More options, Never make a picture bigger than it is is ticked, so a picture already smaller than the target keeps its size. Untick it to allow enlarging. An exact size or a percentage always does what you asked.
Can I resize many pictures at once?
Yes. Add as many as you like, set the size once, and press Resize. You can download them one at a time or all together as a ZIP. Very large batches of big photos may need to be done in groups, because the results are held in memory.
Does resizing remove location data?
Yes. The saved pictures are redrawn on a canvas, which does not copy the original's metadata, so camera details and GPS location are not carried over. The metadata viewer can confirm it for any file.
What is the difference between resizing and compressing?
Resizing changes how many pixels the picture has. Compressing changes how much detail the file stores for those pixels. Making a picture smaller usually shrinks the file too. For JPEG and WebP you can also lower the quality slider to make files smaller at the same pixel size.