2D Pixel Art Animation Tool: Animate Pixel Art Online
Animate pixel art online: plan the frames, draw with onion skin, set fps and holds, fix loops that hitch, and export a sprite sheet or GIF for your engine.

Your character looks right standing still. Then you try to make it walk. You draw the second frame from scratch and the head comes out a pixel wider. Played in a row, the legs skate, the loop hitches every time it starts over, and in the game the sprite jumps a pixel sideways once per step. No single frame looked wrong, and that is the problem: animation mistakes only show when the frames move.
Animating pixel art needs five things: frames drawn over each other, an onion skin, playback at a set speed, a loop you can judge, and an export your engine reads. This guide goes through the work in the order animators do it, from planning the frames to a sheet in Godot or Unity. Then it shows the Pixel Art Editor and the Sprite Animation Previewer doing it in your browser. If the sprite isn't drawn yet, start with drawing a game sprite and come back.
Step 1: Plan the frame count
Small sprites need few frames. At 16x16 or 32x32 every frame is a whole new drawing, and one pixel of movement is a big move. Rough counts that work for most games:

- Idle: 2 to 4 frames, a breath or a blink.
- Walk: 4 to 8 frames. Four is enough at 16x16.
- Attack: 3 to 6 frames: wind-up, strike, recovery.
- Hit and death: 2 to 6 frames, usually played once.
Name the key poses before you draw. A walk has two contact poses, one foot forward and then the other, and two passing poses where the legs cross under the body. The key poses carry the motion; the frames between them only connect them.
Step 2: Draw the key poses, then the frames between
Draw the key poses first, each on its own frame, then fill the gaps. Never start a frame on an empty canvas: copy the nearest frame and change only what moves. A copied head stays the same size. A head redrawn by hand grows and shrinks by a pixel, and in motion it looks like it is breathing.

Put parts that move on their own, like hair, a cape or a weapon, on their own layer. Then you can shift one a pixel on one frame without touching the body.
At small sizes the motion lives in a few pixels: the body drops 1 pixel on the contact frames, the arms swing 1 or 2, and the hair follows one frame later. That one-frame lag on hair, capes and tails makes a short loop feel loose instead of stiff.
Step 3: Use onion skin to keep the shape
Onion skin shows the previous and next frames faintly under the one you are drawing. Use it to check three things:
- Volume. The body covers the same area on every frame, unless it squashes on purpose.
- Planted feet. A foot on the ground stays on the same pixel until it lifts. If it slides back a pixel, the character skates.
- Arcs. A hand or a sword tip moves along a curve. If one frame sits off the curve, it pops.
Turn the onion skin off now and then. A frame that only looks right with ghosts under it can still be wrong.
Step 4: Set the timing
Games set animation speed in frames per second, and every frame lasts the same time unless you change it. 8 fps is 125 ms per frame, 10 fps is 100 ms, 12 fps about 83 ms. 8 to 12 fps suits most pixel art walks.
Actions often look better with uneven timing: a short wind-up, a strike that holds two or three times longer than the frames around it, then a quick recovery. That hold is where the player reads the hit.
You don't need to copy a frame to hold it. In Godot 4, each frame in a SpriteFrames animation has a relative duration: at 1.0 it lasts one frame at the animation's speed, at 2.0 twice as long. In Unity's Animation window, the gap between two sprite keys on the timeline sets how long the first one shows.
Match the speed to the movement too. If the character crosses the screen faster than its feet move, it skates. If the feet are faster, it scrambles in place.
Step 5: Make the loop seamless
Most loops break at the join. The usual cause is a last frame that repeats the first: that pose then shows twice in a row every loop and the walk hitches. The last frame should lead into the first, not match it. Look at frame 1 with onion skin on: the ghost of the last frame should sit one step behind it, like any other pair.
Ping-pong plays the frames forward, then back (1, 2, 3, 4, 3, 2). It suits idles, floating items and flames, and doubles a short loop with no new art. Walks loop forward only: ping-pong one and the legs reverse in mid-step.
Step 6: Check it the way the engine plays it
The engine draws every cell at the same spot. A frame drawn two pixels to the right in its cell doesn't look wrong in the sheet, but in the game the character jumps sideways once per loop. Before you export:
- Play it at your game's speed, at 1x and zoomed in, on a background like your level's.
- Flip it if your game mirrors the sprite for the other direction.
- Step through the frames one by one and watch the feet. They should land on the same row every time.
Step 7: Export for your engine
Engines want a sprite sheet: every frame in a cell of the same size, in order, with frame data next to it. Keep the art at 1x and let the engine scale it by whole numbers.
- Godot 4: an AnimatedSprite2D plays a SpriteFrames resource with named animations, each with its own speed and loop setting. Set Default Texture Filter to Nearest under Project Settings > Rendering > Textures. Full steps: Godot Sprite Sheet Animation.
- Unity: set the texture's Sprite Mode to Multiple, Filter Mode to Point and Compression to None, then slice it by grid in the Sprite Editor. Full steps: Unity Slice Sprite Sheet.
- For people: a GIF scaled by a whole number for your devlog or store page. See Sprite Sheet to GIF.
The fast way: draw in one tool, check in the other
The Pixel Art Editor is where the frames get drawn. It runs in your browser and works well with a mouse:

- Canvases from 8x8 to 256x256, or open a PNG of a sprite you already have.
- Layers for details, a frame for each step, onion skin showing the frames before and after, and a preview that plays at the speed you set.
- A pencil with pixel-perfect lines, shapes, fill, an eyedropper and mirror drawing.
- Saves a frame as a PNG at 1x to 8x, every frame as a sprite sheet with a JSON atlas and a Godot SpriteFrames file, or an animated GIF.
The Sprite Animation Previewer is where you check it. Drop the sheet and it finds the grid, or drop loose frames and it orders them by name:
- Play any row at the speed you set, ping-pong it, flip it, step frame by frame and zoom, on a dark, light, green or own-colour background.
- The onion skin shows the frame before in red and the one after in blue.
- Frames drawn off-centre are counted and marked. One tick lines them up on their feet or their middle.
- Save the sheet as a PNG, a GIF, and a Godot 4 SpriteFrames, or all three in one ZIP.
Draw in the editor, save the sheet, then drop it in the previewer for the last check. A sheet from a pack or an artist goes straight into the previewer. Neither tool uploads your art.
Every Gridwright asset pack, made to fit together, and all 44 tools for the fiddly work, with every new release, for $17 a month. Try it in your own game first: 3 days for $1 with every tool and up to 10 packs. Cancel any time.
Start: 3 days for $1 See everything it includesCommon problems and their fixes
The walk skates. A planted foot moves between frames, or the sprite moves faster than its feet. Pin the foot with onion skin and match the movement speed to the fps.
The loop hitches. The last frame repeats the first. Delete it, or redraw it as the step before frame 1.
The sprite jumps sideways once per loop. One frame sits off-centre in its cell. Line it up on its feet before you export.
The attack has no weight. Every frame has the same length. Hold the strike frame two or three times longer.
The Pixel Art Editor and the Sprite Animation Previewer are two of 44 tools in Gridwright, next to 150 asset packs whose characters already come as animated sheets on one grid.
Every Gridwright asset pack, made to fit together, and all 44 tools for the fiddly work, with every new release, for $17 a month. Try it in your own game first: 3 days for $1 with every tool and up to 10 packs. Cancel any time.
Start: 3 days for $1 See everything it includes