Free online tool

Upload a file

Drop your file hereTap to choose a file

or click to browse, or paste from the clipboard

← Back to Blog

How to Create Thumbnails From an Image in Multiple Sizes

To create thumbnails from an image, make scaled-down copies at each size your page needs, keeping the original proportions and never enlarging the picture. Save photos as JPG and logos or transparent graphics as PNG. Thumbnail Generator makes the set in one pass: upload one picture, choose a preset and download a ZIP with up to four sizes from 64 to 512 pixels. This guide also covers which sizes websites, shops and galleries need, how to list them in srcset, and how to name and check the files.

How to create thumbnails from an image with Zutilium

  1. Open Thumbnail Generator and drop one JPG, PNG, WebP or GIF on the upload area, paste it, or click Choose file. The limit is 30 MiB by default.
  2. Open the Thumbnail Sizes menu and pick Small (64, 128, 256px) (the default), Medium (128, 256, 512px), All (64, 128, 256, 512px) or Single 256px.
  3. Under Output Format, choose JPG for photos or PNG for logos, icons and transparent graphics.
  4. Pick a Quality: Optimized (70), Standard (80) (the default) or High (90).
  5. Press Convert to JPG (it reads Convert to PNG if you chose PNG).
  6. When "Your ZIP is ready" appears, click Download and extract the ZIP.

You always get a ZIP, even with Single 256px, holding one file per size named like thumb-256_<random ID>_photo.jpg. The number is the box size, not always the width: for a portrait 3024 × 4032 photo, thumb-256 is 192 pixels wide. The four presets are the only sizes on offer; for 150, 300 or any other size, use Image Resizer.

Thumbnail Generator runs on Zutilium's server, so your image is uploaded when you convert. After a successful conversion, the upload is scheduled for deletion after about one minute and the ZIP after about ten minutes. Cleanup runs periodically, so save the ZIP promptly. Phone photos come out upright, and the thumbnails carry no camera or location metadata.

Make a thumbnail without cropping: how the fit works

Each number in a preset is a square box. The picture shrinks until its longer side fits, the shorter side keeps the original proportions, and nothing is cropped, stretched or padded. An image already smaller than a box keeps its size, because the tool never enlarges.

Source (width × height) 64 box 128 box 256 box 512 box
4032 × 3024 phone photo 64 × 48 128 × 96 256 × 192 512 × 384
Same photo held upright 48 × 64 96 × 128 192 × 256 384 × 512
6000 × 4000 camera photo 64 × 43 128 × 85 256 × 171 512 × 341
1920 × 1080 video frame 64 × 36 128 × 72 256 × 144 512 × 288
2048 × 2048 square 64 × 64 128 × 128 256 × 256 512 × 512
300 × 200 small image 64 × 43 128 × 85 256 × 171 300 × 200

The math is one ratio: in the 256 box, a 4032 × 3024 photo's height becomes 3024 × 256 ÷ 4032 = 192. In the last row, the "512" file has the same 300 × 200 size as the source, so you can delete it. Because every file keeps one shape, the set is ready for srcset. Because nothing is enlarged, no file can be bigger than your source, so a sharp 2x thumbnail needs an original at least twice its displayed width.

For identical squares, crop the source square first. In Image Resizer, enter the same Width (px) and Height (px), no larger than the photo's short side, and choose Exact size: crop to fill, which keeps the center. Run that square through Thumbnail Generator and every size comes out square. The guide to resizing without losing quality shows what each resize mode cuts or adds.

Thumbnail sizes for websites, shops and galleries

There is no single standard thumbnail size. Take the width the image is shown at in CSS pixels and double it, because high-density screens on most phones and many laptops use two or more device pixels per CSS pixel. More than that wastes data: a full 4032 × 3024 photo has 12,192,768 pixels, about 62 times the 196,608 in a 512 × 384 thumbnail.

Where the image appears Shown at Files to make Preset
Avatar or comment photo 32 to 64 px 64 and 128 Small
Gallery grid tile 128 px 128 and 256 Small or Medium
Product or blog card 256 px 256 and 512 Medium
Card that grows from 128 to 256 px 128 to 256 px 128, 256 and 512 Medium
Anything shown wider Over 256 px Twice the shown width Image Resizer

Check first whether your platform makes thumbnails for you. As of November 2026:

  • WordPress makes a 150 × 150 thumbnail (cropped by default), copies that fit within 300 × 300, 1024 × 1024, 1536 × 1536 and 2048 × 2048, and one 768 pixels wide, skipping sizes larger than the upload, then adds srcset to post images itself. Its default image sizes can be changed under Settings > Media.
  • WooCommerce defaults to a 300-pixel-wide square catalog image, a 600-pixel-wide product image and a 100 × 100 gallery thumbnail. Regenerate thumbnails after changing them.
  • Shopify creates its own sizes from your upload and suggests 2048 × 2048 for square product photos, so upload one large image.
  • Hand-coded sites, static site generators and email newsletters resize nothing, which is where a ready-made set helps.

A YouTube thumbnail is a different job. YouTube's custom thumbnail guidelines recommend 3840 × 2160 at 16:9 and at least 640 pixels wide, so make it with Image Resizer's Exact size: crop to fill. For site icons, Favicon Package builds the full set.

Responsive image sizes with srcset

The srcset attribute lists the same picture at several sizes so the browser can download the smallest one that still looks sharp. MDN's responsive images guide covers the syntax; thumbnails need one of two patterns.

Fixed-size thumbnails: 1x and 2x

For a card image always shown at 256 × 192, list density descriptors:

<img src="trail-shoe-256.jpg"
     srcset="trail-shoe-256.jpg 1x, trail-shoe-512.jpg 2x"
     width="256" height="192"
     alt="Red trail running shoe, side view">

Standard screens load the 256 file, high-density screens load the 512 one, and no sizes attribute is needed.

Thumbnails that change width: w descriptors and sizes

In a fluid grid, list each file with its width and describe the slot in sizes:

<img src="trail-shoe-256.jpg"
     srcset="trail-shoe-128.jpg 128w, trail-shoe-256.jpg 256w, trail-shoe-512.jpg 512w"
     sizes="(min-width: 1024px) 256px, 45vw"
     width="256" height="192" loading="lazy"
     alt="Red trail running shoe, side view">

Here the card is 256 CSS pixels wide on screens 1024 pixels and wider, and 45% of the viewport below that. The browser works out how many device pixels the slot needs and loads the matching file or the next larger one.

The rules that trip people up:

  • The w number is the file's real width, as MDN's img element reference requires. For the upright photo in the table above, write 96w, 192w and 384w, not the box sizes.
  • Don't mix w and x descriptors in one srcset.
  • Don't skip sizes with w descriptors. The browser then assumes the image spans the whole viewport and can fetch a far larger file than a small card needs.
  • Keep src as a fallback. Google's image guidelines recommend it because some browsers and crawlers ignore srcset.
  • Use one shape per srcset. WordPress, for example, lists only sizes with matching proportions, up to 2048 pixels wide by default. Use <picture> when a layout needs a different crop.
  • Set width and height so the grid doesn't jump while images load; with height: auto in your CSS, the image still scales with the grid. Lazy-load thumbnails further down the page, but not the main image at the top.

For widths above 512, such as a hero image, use Image Resizer's Width (px) box once per size. To serve WebP instead of JPG, convert the finished set with Bulk Image Compressor and see how to serve WebP with a fallback.

JPG or PNG for thumbnails

What matters JPG PNG
Best for Photos and product shots Logos, icons, flat graphics
Transparency Filled with white Kept
Colors Full color, lossy Palette of up to 256 colors
Photo file size Small Much larger

This tool saves PNG thumbnails with a palette of at most 256 colors. Logos stay crisp and tiny, but photos pick up fine dither grain and come out much larger than JPG. The Quality buttons only change PNGs of simple graphics, where the setting changes how many colors are kept; a detailed photo needs all 256 colors at every setting, so its PNGs come out the same.

For JPG, Standard (80) is a sound default. Use High (90) when fine texture sells the product, such as fabric or jewelry, and Optimized (70) for avatars and dense grids. Size matters more than quality: doubling the box quadruples the pixels, from 49,152 at 256 × 192 to 196,608 at 512 × 384.

Name and check your thumbnails before publishing

The files arrive with a random ID in their names. Rename each one to a short, descriptive name plus its real width: Google recommends descriptive file names, and the width in the name makes the srcset easy to check.

thumb-128_<random ID>_IMG_4127.jpg  ->  trail-shoe-128.jpg
thumb-256_<random ID>_IMG_4127.jpg  ->  trail-shoe-256.jpg
thumb-512_<random ID>_IMG_4127.jpg  ->  trail-shoe-512.jpg

Then check the set:

  • Dimensions. Uneven widths are rounded and can be a pixel off your own calculation: a 1080 × 1350 JPG gives 103 × 128 in the 128 box, while the same picture as a PNG gives 102 × 128. Read widths from the files.
  • Duplicates. Every box larger than the picture returns it at its own size, so a small source can give two files of identical size. Keep one.
  • Sharpness. View each file at 100%. A soft thumbnail points to a soft original, so start from the sharpest version you have.
  • Edges. PNG logos should keep their transparency, and JPGs shouldn't show an unexpected white box.
  • Weight. Thumbnails should be a small fraction of the original's size. Chrome's Lighthouse audit flags images that are larger than their displayed size, allowing for screen density.

Other ways to generate multiple image sizes

  • Many images at one size: Bulk Image Compressor takes up to 200 images and fits each inside Max width (px) and Max height (px) without cropping or enlarging. It works in your browser; only WebP output in browsers that can't write WebP, such as Safari, is uploaded, as soon as each image is added.
  • Windows: PowerToys Image Resizer adds Resize with Image Resizer to File Explorer's right-click menu and resizes every selected image to one preset per run. Its Fit mode doesn't crop, and %6 in the file name format inserts the actual width.
  • Mac: Preview's Tools > Adjust Size resizes one image, or several selected in the sidebar, to one size at a time.
  • Command line: ImageMagick fits images inside a box with their proportions kept, and the > flag prevents enlarging.
for size in 128 256 512; do
  magick photo.jpg -auto-orient -resize "${size}x${size}>" -quality 80 "photo-$size.jpg"
done

Keep the quotes, or the shell treats > as a redirect.

Troubleshooting

The thumbnails aren't square or are smaller than the preset

Each size is a box: the picture keeps its shape inside it and is never enlarged, so the short side of a photo, or a whole small source, comes out below the preset number. For square files, crop the source square first with Image Resizer, or crop the display with the CSS object-fit: cover property.

A logo came out on a white background

JPG can't store transparency, so transparent areas are filled with white. Choose PNG under Output Format and convert again. Keep JPG for photos, though, because the PNG palette shows as grain in them.

The file is refused or the conversion fails

Thumbnail Generator accepts JPG, JPEG, PNG, WebP and GIF, so iPhone HEIC photos need converting to JPG first. The default upload limit is 30 MiB, and images over 100 megapixels fail with "Conversion failed: Input image exceeds pixel limit", so shrink those on your computer first. A 24-megapixel iPhone photo (5712 × 4284) is well within the cap. Animated GIFs work, but only the first frame is used.

The download no longer works

Results are removed after about ten minutes. Convert the image again and save the ZIP straight away.

Frequently asked questions

What size should a thumbnail image be?

Make it twice the width it is shown at, so it stays sharp on high-density screens: 128 and 256 pixel files for a 128-pixel gallery tile, 256 and 512 for a 256-pixel card. Platforms that resize uploads, such as WordPress (150 × 150 by default) and Shopify, set their own sizes, so give them one large original.

How do I create thumbnails for multiple images at once?

Thumbnail Generator makes several sizes from one image per run. For many images at one size, use Bulk Image Compressor with Max width (px) and Max height (px) set to the box, and repeat for each size you need. PowerToys Image Resizer on Windows and ImageMagick do the same on your own computer.

Does making a thumbnail reduce image quality?

A thumbnail has fewer pixels than the original, but it looks sharp at the size it was made for. Quality suffers when a thumbnail is shown larger than its pixel size or saved at a low JPG quality. Make new thumbnails from the original, not from older thumbnails.

What is the difference between srcset and sizes?

srcset lists the files and their widths, such as trail-shoe-256.jpg 256w. sizes tells the browser how wide the image will be shown, because it chooses a file before the page layout is known. Fixed-size thumbnails can skip sizes and use 1x and 2x descriptors instead.

Should thumbnails be JPG, PNG or WebP?

JPG suits photos, and PNG suits logos, icons and transparent graphics. WebP is usually smaller than both at similar quality and works in current browsers. Thumbnail Generator saves JPG or PNG, so convert the set afterwards if you want WebP.