# Image to Pixel Art Converter

> Turn a photo, PNG, or concept into pixel art on a real grid and a palette you name, then export a transparent sprite for Aseprite, Unity, or Godot.

---

## Messages to send, and what they made

### “Recompose this image as an NES sprite.”

With your image: ![A stylized fantasy creature illustration, the source image before it is turned into pixel art](https://media.app.layer.ai/workspaces/eaa1d118-365f-4960-97ac-99f4e86a860e/files/2242be56-c9d2-4d82-8f9b-0dd3eff1b3ea/a_highquality_stylised_fantasy_creature_designed_for_a_premium_rpg-2026-04-10-140321-20260410T140431Z.png)

- ![The same fantasy creature recomposed as an NES sprite and snapped onto the NES grid and palette](https://media.app.layer.ai/workspaces/eaa1d118-365f-4960-97ac-99f4e86a860e/files/87884731-6aba-5273-9637-5f553e9dfa2f/NES-recomposed-fantasy-creature_snapped.png)

The silhouette survives. The palette and the block size are the NES register, not a shrink of the painting.

### “Turn this render into a SNES sprite.”

With your image: ![A 3D render of a furry purple mascot in a white cape, the source image](https://media.app.layer.ai/workspaces/9602107e-865b-47e5-b66e-87b1bec5e3d5/files/168f0192-44a6-45b4-b449-fce735be9786/image-generation-2026-04-23-174412-20260423T174437Z.png)

- ![The same mascot recomposed as a SNES sprite and snapped to a uniform pixel grid](https://media.app.layer.ai/workspaces/9602107e-865b-47e5-b66e-87b1bec5e3d5/files/ad440449-6366-5855-9706-900b03fb5b61/snes-sprite_snapped.png)

A render with smooth shading becomes flat cells. The cape, the face, and the pose stay readable.

---

Attach the picture and name the palette. That is how you turn an image into pixel art on Layer: the subject is redrawn for the grid you asked for, then a snap pass puts every block on that grid and every color in the palette, so the PNG opens as pixel art rather than a blurry shrink of the original.

A nearest-neighbor resize cannot do that job. It keeps the painting's anti-aliasing, its uneven blocks, and thousands of colors that only look similar. The pages below are the settings that make a conversion usable as a game sprite.

## Turn Any Image into Pixel Art

**Attach the image**
A photo, a PNG, a concept illustration, or a 3D render all work. A single subject with a clear silhouette converts best. A busy scene leaves more decisions about what to keep.

**Name the palette and the machine**
Say "turn this into pixel art" and name NES, Game Boy, SNES, Mega Drive, Commodore 64, or another machine Layer has on file. Or paste your game's colors as hex. The pixel-art skill recomposes the subject for that constraint instead of filtering the original. The same request is what the [image to sprite tool](/tools/layer--image-to-sprite) runs.

**Snap and export**
The snap finds the grid, sets every block to one flat color from the declared palette, and reports the cell size. It spends no Creative Units. Export the PNG, or ask for a transparent background before you import it.

## Why a Resize Is Not Pixel Art

Downscaling and a color cut copy the source into fewer pixels. Edges stay soft, neighboring blocks disagree about the grid, and a brown that should be one hardware color arrives as a dozen near-browns. You still have to redraw it before it can ship.

Layer treats the machine, or your hex list, as a constraint. The palette, the block rule, and the pixel shape go in as values. The snap then certifies the grid and the colors, and it tells you what it could not force rather than quietly leaving stray shades in the file. That is the same pass described on [pixel art for real hardware](/use-cases/pixel-art).

## Palette, Grid, and Resolution

**Your colors, or a console's**
On a machine with a fixed palette, the values are the hardware's own. On a machine without one, Layer states a working set in hex. Your own hex list replaces either. Nine machines are documented in full, and eleven more carry palette, block rule, and pixel shape. Start from the machine pages for [NES](/use-cases/nes-pixel-art), [SNES](/use-cases/snes-pixel-art), [Mega Drive](/use-cases/mega-drive-pixel-art), and [Game Boy Advance](/use-cases/gba-pixel-art).

**The grid the art was drawn on**
Block size follows the machine: coarser cells for 8-bit, finer ones for 16-bit, and non-square pixels where the hardware used them. You can also name a block size. The snap reports the cell size it landed on, which is the number you scale by in Aseprite for a true 1:1 canvas.

**When the image should only be snapped**
If the picture is already pixel art and you want it cleaned rather than redrawn, ask Layer to snap it without redrawing. The snap finds the grid the image was drawn on, sets every block to one flat color from the palette you name, and reports the cell size. It spends no Creative Units. A painting or a photo has no grid to find, so it needs the redraw above first.

## From a Converted Image to a Game Sprite

A converted character still needs a clean edge and, often, more than one frame.

**Transparent background**
Ask for one. A flat matte plus [background removal](/features/background-removal) leaves the subject on transparency, which is what a 2D importer expects.

**Frames and sheets**
Generate a cycle as one sheet so every frame shares scale, ground line, and anchor, then split it into frame files or pack approved frames into one uniform sheet. Both are file operations and cost nothing. The [sprite sheet tool](/tools/layer--generate-a-sprite-sheet) lays the frames out, and [what a sprite sheet is](/glossary/sprite-sheet) covers the grid and the metadata.

**A cast, not one sprite**
Once the palette is declared, the same colors hold across the rest of the set. [Sprite generation](/use-cases/sprite-generation) is the broader workflow for characters, items, and sheets. [Concept art to sprite](/use-cases/concept-art-to-sprite) is the same redraw when the source is a finished character painting.

## Export to Aseprite, Unity, Unreal, and Godot

The file is a PNG with flat cells and only the colors you declared. Open it in Aseprite or any pixel editor and scale down by the reported cell size when you want one pixel per block.

Unity, Godot, GameMaker, and Unreal's Paper2D read that PNG as a sprite. A uniform grid is what their importers slice. Ask for transparency before export when the sprite should composite over a level instead of bringing its own backdrop.

The same session can be driven from the [REST API](/docs) or an [MCP](/mcp) client when the conversion sits inside a pipeline you already run. The conversion is not a batch node, so a whole item set is a series of requests, not one bulk button.

## Convert an Image, or Generate New Pixel Art

Use this page when the subject already exists and has to survive as a sprite. Use [pixel art for real hardware](/use-cases/pixel-art) when you are generating a new sprite from a description and the machine's rules. Generating first and converting a painting are different jobs: one invents the character, the other decides which details of a picture you already approved can live on the grid.

If you are comparing a dedicated pixel-art tool with a workspace that also covers the rest of production, see [Layer vs PixelLab](/vs/pixellab).

## Frequently Asked Questions

### How do I turn an image into pixel art?

Attach the image in Layer and ask to turn it into pixel art. Name a machine, such as NES or Game Boy, or paste your colors as hex values. Layer recomposes the subject for that constraint, then snaps every block onto one grid and every color into the palette you declared. Export the PNG.

### How is this different from a pixel-art filter?

A filter shrinks the original and cuts colors, so you keep anti-aliased edges, uneven blocks, and hundreds of near-duplicate shades. Layer redraws the subject at sprite size first, then a snap pass forces one flat color per cell from the declared palette. The result is editable pixel art, not a blurred thumbnail.

### Can I use my own palette instead of a console palette?

Yes. Give the colors as hex values and the conversion snaps to those values, the same way it snaps to a hardware palette. That keeps a custom game palette consistent across a set of sprites, icons, and tiles.

### Can I convert an image to pixel art with a transparent background?

Yes. Ask for a transparent background. Layer draws the sprite on a flat matte and runs background removal, so the PNG imports with nothing behind the subject.

### Which machines can I convert to?

Nine machines are documented in full, including Commodore 64, NES, Game Boy, SNES, Mega Drive, and Game Boy Advance, plus eleven more with palette, block rule, and pixel shape. If a machine is not on file, Layer says so and proposes a working palette in hex instead of inventing one.

### What size will the sprite be?

The register sets how coarse the blocks are, so the art reads as 8-bit or 16-bit at the output size. The snap reports the cell size it found. Scale the PNG down by that number in Aseprite for a 1:1 canvas, up to 64 by 64 on an 8-bit machine or 128 by 128 on a 16-bit one from a 1024-pixel image.

### Does converting an image cost Creative Units?

Signing up is free, and the account includes Creative Units. Recomposing the image spends Creative Units. The snap afterward, and splitting or packing a sprite sheet, are file operations and cost nothing.

---

Attach an image, name the palette, and export a sprite you can open in Aseprite.

---

[View original](https://layer.ai/use-cases/image-to-pixel-art) | [All Use Cases](https://layer.ai/use-cases)
