Pixelandia

Pixel Art Resizer

Before: loading
After: loading

Free. No watermark. No sign-up.

Or drop a picture on the preview, or paste one.

8x

How to resize pixel art

  1. Open the art

    Press Choose picture, drop a file on the previews, or paste a copied image. Before shows it at actual size with its width and height. PNG, GIF, JPG, WebP and SVG files open, up to 16 megapixels.

  2. To enlarge it, stay on Scale up

    Drag Scale from 2x toward 32x and read the new size beside the slider. Or type a target into Or width in pixels, and the nearest whole scale is used. After shows the result with its size and its number of colors.

  3. To get the original back, switch to Scale down

    Use this for art that was already enlarged. The tool reports a Detected pixel size and lays its grid over Before in green. If the lines miss the edges, move Pixel size. Download PNG saves whichever result is on screen.

Pixel art resizer features

Whole scales only, 2x to 32x

Each pixel of the art is repeated as a block: 3 x 3 at 3x, 32 x 32 at 32x. All blocks are the same size, so no column of the art comes out fatter than the one next to it.

A width box that says what you will get

Ask for 500 pixels from a 16-pixel sprite and the scale goes to 31x, with a note under the box: Pixels stay square only at whole scales, so the width is 496 px.

It measures art that was enlarged

Scale down tries block sizes from 2 to 64 pixels and keeps the one where color changes only on block borders. It also finds where the grid begins, so a screenshot cropped partway through a block still lines up.

One color per block, by majority

Shrinking gives each block the color most of its pixels have. An average would pull in the colors next door. From 4 pixels a block upward, a quarter of the block is skipped along each side, because blur collects there.

Merge near-identical colors

A JPEG turns one flat red into dozens of close reds. This switch folds them back into the most common one, and it turns itself on for noisy pictures. In a test, the sample strawberry saved as a cropped JPEG at 8x came back with its 9 colors.

A warning before you enlarge twice

Open art that is already scaled up and the Scale up panel says so: This picture looks scaled up 8x already. Its Scale it down first link changes mode, so you enlarge from the real pixels.

What is nearest-neighbor scaling?

To make a picture bigger, a program has to decide the color of every new pixel, and the usual methods mix. Bilinear filtering blends the four source pixels closest to each new one. Bicubic blends sixteen. On a photo that hides the enlargement. On pixel art it lays a band of in-between colors along every edge, and the eye reads that band as blur.

Nearest neighbor doesn't mix. Each new pixel copies the one source pixel it falls on, so the result has only the colors the art began with. At a whole scale every source pixel is copied the same number of times. At 2.5x that is impossible: pixels come out 2 and 3 wide by turns, and the art looks uneven.

Nearest neighbor keeps a stair step as a stair step. Rounding diagonals off while the palette stays intact is a separate job, done by Scale2x and Eagle. This tool has neither; the pixel art upscaler has both.

Where other programs keep nearest neighbor

Most programs can scale this way, but it is rarely the default, since most pictures are photos. These are the settings to look for when you resize somewhere else.

The nearest-neighbor setting in five other programs
ProgramWhere to lookSetting to choose
PhotoshopImage, Image Size, ResampleNearest Neighbor (hard edges)
GIMPImage, Scale Image, InterpolationNone
A web page (CSS)The image-rendering propertypixelated
UnityThe texture's Filter ModePoint
GodotDefault Texture FilterNearest

More pattern tools

Pixel art resizer questions

What size should I scale pixel art to before I post it online?

Big enough that the site never has to enlarge it. Sites and chat apps stretch a small image with smoothing, and some save uploads again as JPEG, so a 32 x 32 file can arrive as a smudge. Scale it to at least the size it will be shown at. A 32-pixel sprite at 32x is 1,024 pixels wide.

Can I scale pixel art by 1.5x or 2.5x?

Not here, on purpose. A pixel can't be one and a half pixels wide, so a fractional scale has to alternate. At 1.5x the columns come out 2 and 1 pixels wide in turn, and a thin outline changes thickness along its length. For a size between two whole scales, take the lower scale and add an empty border around the picture in an editor.

How do I find out how much a sprite was scaled up?

Open it and choose Scale down. The line above the slider gives the Detected pixel size, such as 8 px, and says where the grid starts if the picture was cropped. Check the green lines on Before: each should run along the border between two pixels of the art. If a multiple of the real size was picked, halve Pixel size.

Why does it say no whole-number pixel size was found?

There are four usual reasons. The art is already one pixel per pixel, so there is nothing to undo. It was enlarged by a fraction, which leaves blocks of uneven width that no grid fits. It was enlarged with smoothing, and the blocks have no flat middle left. Or the blocks are large for the picture: a size counts only when it fits at least three times across the shorter side. Pixel size still works by hand.

Can it clean up a JPEG or a screenshot of pixel art?

Often, when the art was enlarged before it was saved. JPEG compresses in blocks of 8 x 8 pixels and usually stores color at half the resolution, which leaves specks and soft halos around hard edges. In blocks of 4 pixels or more the middle survives, and Scale down with Merge near-identical colors gets flat colors back. At 2x or 3x little clean middle is left, so expect to repair some pixels by hand.

If I scale up and later scale back down, do I lose anything?

Not with a clean PNG. The sample strawberry scaled 6x and opened again is detected as 6 px and returns at 16 x 16 with its 9 colors, because every block holds one exact color. Transparent pixels stay transparent in both directions. It stops being exact when something in between changes the pixels: a JPEG save, a resize with smoothing, or a crop that leaves under half a block at an edge.

How do I keep pixel art sharp on a web page without resizing the file?

Leave the file at 1x and set the CSS property image-rendering to pixelated on the image. The browser then enlarges it with nearest neighbor. At a whole multiple of the original size the pixels come out even; at other sizes the browser finishes with a little smoothing. Where you can't set CSS, such as a forum post, upload a PNG that is already scaled up.

How large should pixel art be for printing?

Work back from the paper. At 300 dots per inch, a 4 inch print needs 1,200 pixels. Divide by the width of the art and round up to a whole scale: a 64-pixel picture needs 19x, which gives 1,216 pixels. Printing software usually enlarges with smoothing as well, so send it the big PNG and not the 1x file.

Can I resize a sprite sheet or an animated GIF?

A sprite sheet, yes. It is one picture, and each frame grows by the same whole scale, so multiply the frame size you give your game engine by that number too. An animated GIF, no: only its first frame is read, and the download is a still PNG.

Can I fix single pixels after scaling down?

Yes. In Scale down mode, Edit in Pixel Art Maker sits under Download PNG. It opens the shrunken art in the pixel art maker with one cell for each pixel, where you can repaint what the cleanup missed. The button works for results up to 256 x 256 pixels, and pixels that are less than half opaque arrive as empty cells.