Pixel art converter for game assets
Turn any picture into a pixel art sprite or icon in your browser: pick a palette and a pixel size, then download the PNG.
Next step for a game: describe a character and get its idle, run and attack animations with the sprite sheet generator, or plan a whole game kit of sprites, interface and icons in one style.
The same picture in four palettes
Each picture below is the built-in sample, a gradient with a bright disc and a dark square, drawn by the page itself and converted by the same code that converts yours. Only the palette changes. The table gives the numbers for each one.
| Palette | Colours in the result | Mean colour difference | Pixels wide × high |
|---|---|---|---|
| Original colours | 184 | 9.6 | 16 × 16 |
| NES style | 7 | 66.9 | 16 × 16 |
| Game Boy, 4 colours | 4 | 114.9 | 16 × 16 |
| Your own colour count | 8 | 32.7 | 16 × 16 |
Pixel art converter for game assets: how it works
- Choose a picture. A PNG, JPG, WebP or GIF from your device. Until you choose one, the page shows its own sample.
- Pick a palette. Original colours, an NES style set of 16 colours, the 4 greens of the Game Boy, or a colour count you choose.
- Set the pixel size. The line under the preview shows how many pixels wide and high the result is.
- Download the PNG. At the size of your picture, or at one pixel per block, the small file you place in a game.
Image to pixel art: what happens to each block
The picture is cut into square blocks, every block gets the average colour of the pixels in it, and the palette then snaps that colour to the nearest allowed one. Wikipedia describes pixel art as work that is usually restricted in the number of colours: Pixel art on Wikipedia.
Every setting, with its range
| Setting | Range | Starts at | What it changes |
|---|---|---|---|
| Pixel size | 2 to 32 px | 8 px | How much detail survives: small blocks keep a face, large blocks keep a silhouette |
| Palette | 4 choices | NES style | The mood and the number of colours allowed in the result |
| Colours | 2 to 32 | 8 | Only for your own colour count: the colours are taken from your picture |
| Largest picture | 1024 px on the longest side | Not adjustable | Bigger pictures are scaled down on your device before conversion |
| Transparency | Kept | On | A block that is mostly see-through stays see-through in the PNG |
The palettes, as built into this page
- NES style: 16 colours we picked ourselves, in the spirit of an 8-bit console.
- Game Boy, 4 colours: 4 greens, like the four shades of the original handheld screen (Game Boy on Wikipedia).
What we measured
Our own numbers, from n = 9 size conversions and n = 4 palette conversions run on 2026-11-20 with the same functions that run in your browser.
Method: the sample picture is drawn by the page at 128 by 128 pixels and converted with blocks of 8. The mean colour difference is the average straight-line distance in red, green and blue, on the 0 to 255 scale, between each solid pixel of the sample and the same pixel of the result. In that run the closest result was Original colours at 9.6 and the farthest was Game Boy, 4 colours at 114.9. The full table is above. The sizes below come from the same arithmetic: each row is a square picture cut into blocks, and the last block is kept even when it is only partly inside the picture.
| Your picture | Pixel size | Result at one pixel per block | Blocks in all |
|---|---|---|---|
| 512 × 512 | 4 px | 128 × 128 | 16,384 |
| 512 × 512 | 8 px | 64 × 64 | 4,096 |
| 512 × 512 | 16 px | 32 × 32 | 1,024 |
| 1024 × 1024 | 4 px | 256 × 256 | 65,536 |
| 1024 × 1024 | 8 px | 128 × 128 | 16,384 |
| 1024 × 1024 | 16 px | 64 × 64 | 4,096 |
| 2048 × 2048 | 4 px | 512 × 512 | 262,144 |
| 2048 × 2048 | 8 px | 256 × 256 | 65,536 |
| 2048 × 2048 | 16 px | 128 × 128 | 16,384 |
When the result looks wrong
| Symptom | Likely cause | What to do |
|---|---|---|
| The picture is a muddy blob | The pixel size is too big for the amount of detail in the picture | Lower the pixel size until the main shape is clear again, then check it at the size it will have in your game |
| A photo looks like a mosaic, not pixel art | Soft gradients turn into flat patches when every block gets one colour | Use original colours or your own colour count with more colours, or start from a drawing with clear shapes |
| The colours look washed out or all green | The Game Boy palette has four greens and cannot hold a colour picture | Switch to the NES style palette or choose your own colour count |
| A thin line or small detail has vanished | It is smaller than one block, so its colour is averaged into the blocks around it | Use a smaller pixel size, or thicken the line in the source picture first |
| The result is smaller than the picture you chose | Pictures over 1024 pixels on the longest side are scaled down before conversion | Pick the one pixel per block download, which is the small file a game uses anyway |
| The background is a solid colour you did not want | The source picture has no transparent background, so every block gets a colour | Remove the background in an image editor and convert again; see-through blocks stay see-through |
Using the result as a game asset
- A sprite or a prop. Download the one pixel per block PNG and scale it up in your engine with smoothing turned off, usually called nearest or point filtering. Whole-number scales such as 2, 3 or 4 times keep every pixel the same size on screen.
- A whole character with animation. The sprite sheet generator draws idle, run and attack animations from a description as one transparent sheet. Comparing sprite tools first? Read the Ludo AI sprite generator alternative page.
- A game icon. The Roblox icon maker makes a 512 by 512 picture you can run through this converter for a retro look.
- A matching set. One converted picture is one asset. You can plan a whole game kit from one sentence and get sprites, interface and icons in one style.
How we wrote this page
We built this converter ourselves and wrote this page from how it behaves. Every number above is computed by the converter code when the page is built. On 2026-11-20 we checked the conversion with automated tests, among them one that confirms a Game Boy conversion never contains a fifth colour and one that confirms a custom colour count never goes over the number you ask for. The NES style palette is our own choice of 16 colours, not a copy of a console's hardware list. We have not compared the output with other converters, so we make no claim about being better than them.
Pixel art converter questions
Is my picture uploaded anywhere?
No. The conversion happens inside your browser tab, on your own device. The picture is read, turned into blocks and drawn again on the same page, and nothing is sent to a server, so a private drawing or an unreleased character stays with you. Closing the tab clears it. A picture larger than 1024 pixels on its longest side is scaled down on your device before it is converted, which keeps the page quick on a phone.
How do I turn an image into pixel art?
Choose a picture, pick a palette and move the pixel size slider until the picture still reads at a glance. Each square of the picture becomes one flat colour, and a palette decides which colours are allowed. When it looks right, download the PNG at the same size as your picture, or at one pixel per block if you want the true small sprite. Bigger blocks give a chunkier, more retro look; smaller blocks keep more detail.
What pixel size should I choose?
Pick the size by what the picture has to show. A face or a small character needs small blocks, such as 4 or 6, or the eyes disappear. A landscape or a logo still reads at 16. A useful test is to look at the result at the size it will have in your game and ask whether the main shape is still clear. The table on this page shows how many blocks wide each choice makes a 512, 1024 or 2048 pixel picture.
Which palette is best for a game?
The Game Boy palette has four greens and gives the strongest retro look, but it flattens colour completely. The NES style palette has sixteen colours and keeps a bright subject readable. Your own colour count is best when the picture has its own mood, because the colours come from the picture itself. Original colours keeps the average of every block and only makes the picture chunky. Try the same picture in all four before you commit.
Can I keep a transparent background?
Yes. A block that is mostly see-through stays see-through in the PNG you download, so a character cut out on a transparent background keeps its outline. A block that is only partly see-through takes its colour from the solid pixels inside it, so the edge does not turn grey. If your picture has a solid background, remove it in an image editor first, and the converter will keep it clean.
Does it work for photos and for AI-made pictures?
It works for any picture, but the results differ. A photo with soft gradients turns into flat patches, which can look like a mosaic more than pixel art. A drawing with clear shapes and a limited set of colours converts best. If you need a character drawn as sprite art from a description, with matching animation frames, the sprite sheet generator on this site makes that directly instead of converting a finished picture.
Other tools
- Roblox GUI makerA matching set of panels, buttons and counters, cut into transparent PNGs.
- Roblox thumbnail makerA 1920 by 1080 thumbnail and a 512 pixel icon, judged at card size.
- Roblox shop GUI makerThe shop window, buy button, item slots and currency bar of a Roblox shop.
- Roblox icon makerSquare 512 pixel game icons, checked at the sizes players actually see.
- Roblox UI designHealth bars, buttons, window frames and pop-ups for every screen, in one style.
- Sprite sheet generatorA character with idle, run and attack animations as one transparent sprite sheet with equal cells.
- Low poly 3D modelsWalls, doors, stairs, fences, crates and barrels on a grid, in 3D, as GLB, FBX, OBJ and STL.
- Game idea generatorOne line in, a game spec your coding agent can build from, then a whole matching asset kit.
- Plan a whole gameDescribe the game once and get the checklist of every asset it needs, with prices.
From one picture to a whole game
Describe your game once and get sprites, interface and icons in one style.
Plan my game kit