I once had to bring 78 logos for a game to the same size and format. They came from different sources, so sizes and formats varied, and the wide logos had to keep their proportions and sit in the center. Instead of opening each file to match the canvas size, I built this converter to handle them in one pass, and I used it for that job. This guide lays out what that job needed.
Images pulled from several places into one project rarely match. A 512×512 PNG sits next to a wide JPG, and a WebP is mixed in somewhere. The engine wants a single size and format, and fixing files one at a time in an image editor takes a while.
Decide the spec first
Settle three things before converting and the rest is easier.
- Format: Use PNG (or WebP) for characters, icons and UI images that need transparency. Use JPG for backgrounds and photos that don't need it and where file size matters.
- Size: Pick by purpose, such as 256×256 for icons and 64×64 for tiles. The Unity and Godot manuals recommend power-of-two sizes (64, 128, 256, 512, 1024) but don't require them, and block-compressed textures need dimensions that are multiples of 4. The sources and a hands-on check are in Do Game Textures Have to Be a Power of Two?
- Originals with a different ratio: Choose one of the fit methods below. This choice does the most to decide how the result looks.
Steps
- Drag all the images in at once. You can also click to choose several, or paste an image from the clipboard with Ctrl+V. Mixed formats are fine, and each file's real format is detected automatically.
- Choose the output format (for example PNG).
- In the options, set Size to Set exact size (width × height) and enter the width and height in px. Common sizes are available as buttons.
- Choose How to fit and Image position. The same settings apply to every file.
- Convert, then download everything with Download all as ZIP. Files keep their original names; only the extension changes.
The screen below shows the options for steps 3 and 4, with an exact size of 256×256 entered.

Four ways to fit
Take a 256×128 image that needs to become 256×256.
| Method | Result | Use it when |
|---|---|---|
| Keep ratio + fill the margins | Image unchanged, 64px of empty space above and below | Sprites, icons and logos whose shape must not change |
| Stretch or squash to fit | Stretched to twice the height, so it looks distorted | The original already has that ratio, or distortion doesn't matter (such as some textures) |
| Keep ratio + fill the frame | Sides are cropped and the square is completely filled | Backgrounds, thumbnails and card art that must have no gaps |
| Keep original size + center | No scaling; placed in the middle (cropped if the canvas is smaller) | You only want to widen the canvas of an image that is already the right size |
Converting a 256×128 image to 256×256 with "Keep ratio + fill the margins" and checking the output showed the image untouched from the 64th row to the 191st, with transparency above and below.
Transparent margins or a color
PNG, WebP, GIF and ICO leave the margins transparent. JPG and BMP can't represent transparency, so the margins are filled with the background color (white by default). To get colored margins in PNG as well, turn on "Fill transparent areas and margins with the background color" and pick a color. If a game image needs transparency, save it as PNG, not JPG.
Image position
The default is the center, and you can change it on a 3×3 grid. Setting character sprites to bottom alignment puts the feet of differently sized characters on the same line. When filling the frame, the side opposite your alignment is the one that gets cropped, so aligning a portrait to the top helps keep faces from being cut off.
Four sample logos, run through the converter
Descriptions only go so far, so four logos of different sizes and formats were made and converted together with this site's converter. They are made-up samples created for this guide, not images from a real game. The settings are the ones in the screen above: PNG, 256×256, "Keep ratio + fill the margins", centered.

This is the result screen the converter showed.

| Sample | Original | After (256×256 PNG) | Worth noticing |
|---|---|---|---|
| NOVA | 640×240 PNG, 13.7KB | 9.7KB | The wide shape is unchanged and transparent space fills top and bottom. |
| EMBER | 200×420 PNG, 6.6KB | 9.2KB | The tall shape is unchanged and transparent space fills left and right. |
| TIDE | 512×512 JPG, 13.6KB | 21.4KB | The white background stayed. |
| VOLT | 96×96 WebP, 1.4KB | 43.8KB | The edges turned blurry because it was enlarged. |
- A JPG's white background doesn't become transparent. The converter only keeps already-transparent areas transparent. A JPG has no transparency to begin with; its background is solid white, so the white stays part of the image after conversion to PNG. If you need a transparent background, find a transparent PNG original or run the image through a background-removal tool. Why simply erasing the white leaves a fringe is measured in Why a JPG's White Background Stays White in PNG.
- Enlarging a small original blurs it. Taking 96×96 up to 256×256 doesn't create detail that wasn't there.
- File size doesn't always drop. In this sample only NOVA got smaller and the rest grew. Enlarging a small image and saving it as PNG makes the file especially large. The size of each file is shown on the result screen.
These numbers come from these four samples and the settings above. Your own images will differ.
Converting many files at once
Mixed formats are fine
A folder with PNG, JPG, WebP, HEIC, TIFF and SVG files can go in as it is. Each file's format is detected separately. If a file has the wrong extension, it is processed by its real format and the list tells you which file it was. An unsupported file is marked as an error in the list, and the rest convert normally.
When you download a ZIP
- Result files keep their original names, and only the extension changes (for example
photo.heic→photo.jpg). - If files from different folders share a name, numbers are added inside the ZIP, as in
photo (2).jpg. - Each file shows its size before and after and the percentage change, so you can see where the savings are largest.
- You can also download files one at a time with each file's Download button.
Batch speed, measured
For the test, 100 photos were created (27.9MB in total, 286KB each on average, about 950×1270) and converted together from JPG to WebP at quality 80. The site was served locally and timed in Chromium on the PC used to write this guide, a development desktop.
| Files | Time to convert | Time to build the ZIP | ZIP size |
|---|---|---|---|
| 10 | 2.8 s | 0.1 s | 1.3MB |
| 50 | 4.4 s | 1.9 s | 6.6MB |
| 100 | 6.4 s | 1.8 s | 13.1MB |
All 100 files converted, the downloaded ZIP held every one of them, and the archive passed an integrity check. The 27.9MB shrank to 13.1MB. The time for 10 files includes first-run setup. Below is the result screen for the 10-file run.

Speed varies a lot with the PC and browser. Batches larger than 100 were not measured.
Pixel art
Ordinary scaling interpolates smoothly between pixels. That suits photos, but enlarging pixel art this way smears the edges and the pixel look disappears. Turn on "Pixel art: scale without smoothing" instead. It enlarges the pixels as they are, with no interpolation, so edges stay sharp. It looks cleanest at a whole-number scale, such as 16×16 to 64×64. At other scales, some pixels can end up wider than others. For whole-number scaling only (2×, 4×, 8×) with a list of the colors used, there's a separate pixel art upscaler.
Making icons (ICO)
An ICO can be at most 256px on a side. If you ask for something larger, such as 512×512, it is still saved at 256×256 or smaller with the aspect ratio kept. For a Windows game icon or a web favicon, the simplest route is to make a 256×256 square PNG first and then convert that to ICO.
Your settings are remembered
The format, size, fit method, position and other options you used last are remembered in this browser, so you don't need to pick them again when working to the same spec. To restore the defaults, press "Reset settings" at the top of the options. Settings are stored only in this device's browser and are never sent to a server.
Limits to know
- Sizes are set in px only. There is no resolution setting in inches or DPI.
- Cropping only lets you choose the alignment position (nine cells). You can't pick an arbitrary region of the image to crop.
- Each file can be up to 50MB. There is no limit on the number of files, but browser memory is finite, so a very large batch can run slower than the measurements above. For sizes that weren't measured (several hundred files or more), splitting the batch is safer.
- If HEIC files are in the batch, the first one takes a few extra seconds while the decoder downloads. Large TIFFs and very large images can fail for lack of memory. A failed file is flagged in the list and the others are unaffected.
- Animated GIF and WebP files convert only their first frame. This converter treats a sprite sheet (many frames in one image) as a single image, so choose the size with the frame scale in mind. To cut a sheet into frames or pack several images into one sheet, use the sprite sheet splitter and packer.