GIF to Sprite Sheet Converter
Drop an animated GIF and the converter reads every frame, builds each one the way a GIF player shows it, and packs them row by row into a single sheet that is about as wide as it is tall. Beside the PNG you can save an atlas JSON naming each frame's box and how long it stays on screen, so the animation keeps its rhythm in your game.
The file is read in your browser and never sent anywhere. It is free and asks for no account.
Runs in your browser: nothing is uploaded.
How to use it
- Drop the GIF. Pick or drop an animated GIF; the page reports how many frames it holds, their size and the total running time.
- Name the sheet. The sheet name is used for the PNG, the JSON and every frame key inside the atlas.
- Check the preview. The packed sheet appears under the controls, frames laid out left to right and top to bottom in playing order.
- Download both files. Save the sheet PNG and the atlas JSON and keep them together, since the atlas points at the PNG by name.
Why frames are composited first
Inside a GIF, many frames are only the pixels that changed, placed on top of what came before. Cutting those raw pieces out gives a sheet of fragments that flicker when played. This converter draws each frame onto the previous result, the way a player does, so every cell on the sheet is a whole picture at the GIF's full size.
The cost is that unchanged pixels repeat across cells. For small game sprites that is rarely a concern, and a whole frame per cell is what engines expect.
Keeping the frame timing
GIFs store a delay for each frame, and artists often hold a key pose longer than the in betweens. A sprite sheet alone loses that, which is why the atlas JSON adds a duration in milliseconds to every frame entry. A frame with no delay set gets 100 ms.
How to use it depends on the engine. Some read a per frame duration from the atlas directly; others take one frame rate for the whole animation, and there you can repeat a held frame or set a per frame speed multiplier. If every duration is the same, a single frame rate of 1000 divided by that duration matches the GIF exactly.
Layout and the reverse trip
Columns are the square root of the frame count rounded up, and rows are whatever that leaves, so 10 frames become a 4 by 3 grid with two empty cells at the end. Square sheets stay well inside the texture size limits phones have.
To go the other way, sprite sheet to GIF plays a sheet back as a looping GIF, which is handy for sharing a preview. To recut an existing sheet with a different grid, use the sprite sheet slicer. If you want original animated characters to start from, the asset generator draws sprite sheets for you.
Questions people ask
Does the sheet lose colours or quality?
No. A GIF already holds at most 256 colours a frame, and the sheet is saved as PNG, which stores those pixels exactly as they were drawn, transparency included.
How many frames can it handle?
It reads up to 1000 frames. Large GIFs at full size can make a very big sheet, so for long clips consider trimming the GIF first.
What format is the atlas?
A JSON hash atlas: frames keyed by name, each with its x, y, w and h, plus a duration in milliseconds, and a meta block naming the image and its size.
Can I convert a video?
Only GIF files are read. Export the clip from a video editor as a GIF first, then drop it here.