How to turn a video into a sprite sheet

A sprite sheet packs every frame of an animation into one image, so a game loads one texture instead of dozens. Here's how to get from a video clip to a sheet your engine can use, without installing anything.

1. Start with a good clip

The cleaner the source, the cleaner the sprite. Aim for:

2. Trim to the exact loop

Load the video in the tool, play it, and pause where the motion begins. Click Set Start to current position, then find the frame where the motion is about to repeat and click Set End. Setting the end one frame before the pose repeats avoids a visible stutter when the animation loops.

3. Pick a capture frame rate

Frame count is duration × FPS, and every frame adds to the sheet size. For most 2D games, 8 to 12 fps looks deliberate and keeps sheets small. Smooth UI animations may want 24 fps. The estimate box shows frame count and approximate size before you commit.

4. Remove the background

Tick Remove Background, then click the backdrop in the live preview to sample its exact colour. Raise tolerance until the background disappears but your subject stays solid. Our green-screen guide covers feathering and spill in detail.

5. Trim transparent padding

Most clips have a lot of empty space around the subject. Trim transparent padding crops every frame to one shared bounding box, which is often the biggest single size saving. Because all frames share the same box, the animation won't jitter, and the offsets are written into the JSON so the engine can place the sprite exactly.

6. Choose the layout and format

7. Export and iterate

Click Process File. Scrub the preview to check individual frames, then download the sheet and the .json atlas. Want a smaller file? Use Rebuild to try different scale, quality and column settings instantly without decoding the video again.

Clean up in the editor

Click Open in Sprite Editor under the results to send the sheet straight to the Sprite Sheet Editor. Step through frame by frame, delete the frame that repeats frame 1 (the usual cause of a loop hitch), reorder or duplicate frames, then export a new sheet and JSON.

Next step

Load your new sheet in an engine: see Phaser and PixiJS loading examples.

Make a sprite sheet now →