Sprite generator
This sprite generator draws a robot, mage or slime from your body, palette, size and seed settings and exports a transparent PNG.
32 × 32 PNG · seed 2026 · 416 colored pixels · background stays transparent
Make a character you can keep
Start with Robot for a square head, chest and separate feet. Mage has a pointed hat and a widening coat. Slime uses a low, rounded body. All three keep a dark outline and two bright eyes. Switch the palette to recolor the whole character together, instead of changing individual pixels across several unrelated colors.
New seed changes the proportions and the placement of shaded pixels. When a version works, save its recipe and PNG together. A recipe records the four controls; it is useful for reproducing the character here. A PNG is what your game loads. Keep both if you plan to make a set of enemies with the same colors and different seeds.
Size, transparency and the seed
The default robot uses seed 2026, the Ember palette and a 32 × 32 export. It contains 416 colored pixels out of 1024; the rest are transparent. The character starts on a 16 × 16 design grid. The 32 px image repeats each design pixel in a 2 × 2 block, while 64 px repeats it in a 4 × 4 block. That keeps edges sharp.
The checkerboard behind the preview shows transparency and is never painted into your PNG. Seed is an unsigned whole number; the same four settings produce the same pixels. A different palette changes colors while preserving the body mask. You can compare shapes using one palette, then choose the colors after the silhouette reads well against your level.
Edit pixels and make a sheet
Press Edit pixels to open the pixel art maker with this drawing already loaded. Use the pencil to change the face, fill to recolor a region, and duplicate a frame before moving a foot for a second pose. Undo and redo work on your changes. Export the frame when it reads clearly at the size your player will see.
Press Pack a sheet to open the sprite sheet maker with this PNG as its first frame. Add the other poses, set the columns and padding, and export the sheet with its frame JSON. Several different seeds are character variations; animation frames should keep the same character and move its limbs. The editor is the next step for making those deliberate changes.
Draw the PNG in your game
Save the image beside your game and load it once. Draw at a whole-number scale, turn smoothing off, and keep the drawing coordinates on whole pixels. MDN's drawImage reference describes the source and destination sizes. This example displays a 32 px export at twice its size:
const hero = new Image();
hero.src = "./sprite-robot-2026.png";
await hero.decode();
ctx.imageSmoothingEnabled = false;
ctx.drawImage(hero, 24, 32, hero.width * 2, hero.height * 2);For procedural trees, potions and chests alongside characters, pixel.ignlab offers a broader category list. Here, the small character recipe and direct editor transfers keep the next step close. Use the tileset generator for a matching kind of low-resolution terrain, then put both into a game from the starter collection.
Questions
How do I generate a sprite?
Pick a body, palette, size and seed. The character updates as you change a setting. Press New seed for another variation, then Export PNG to save the exact transparent image you see.
Is this an AI sprite generator?
This generator draws characters from geometric rules and a seeded random sequence in your browser. The seed controls body proportions and shading. Use Claude Code to build game behavior around the exported sprite; the generator itself makes no model request.
What size should a pixel art sprite be?
Choose 16 by 16 for a small game character, or 32 and 64 for a larger exported image. This tool draws its design on a 16 by 16 grid and enlarges it in whole pixels. Increasing size preserves the silhouette and shading rather than adding new detail.
Can I edit the generated sprite?
Yes. Edit pixels opens this exact drawing in the pixel art maker at its original size. Pack a sheet sends the PNG to the sprite sheet maker. Transfers use storage in this browser; exporting the PNG also gives you a file you can keep.
Put your assets into a playable game. Try the ten game templates or get the kit.