Convert GIF to spritesheet PNG and XML in your browser.
Choose a GIF and a column count, then download one PNG sprite sheet and an XML file with frame rectangles and timing.
1 GIF up to 20 MB, 400 frames, 4,096 px per side and 40 million decoded pixels. Nothing is uploaded.
Choose a GIF and run the tool to preview the actual output.
What GIF to spritesheet conversion does
This sprite sheet maker places every composited GIF frame into one PNG grid, left to right and then onto the next row. All cells have the GIF canvas width and height. Transparent pixels stay transparent, and unused cells in the final row are clear.
Photo to GIF includes a spritesheet and XML generator on this page. The XML uses TexturePacker / Sparrow-style TextureAtlas and SubTexture elements, with a stable frame name and its x, y, width, and height. A duration attribute records playback delay in milliseconds. Importers that ignore this extra attribute need timing entered separately.
Examples


How to convert GIF to spritesheet in 3 steps
Use 1 GIF up to 20 MB (20 MiB), 400 frames, 4,096 px per side, and 40 million decoded pixels across all frames.
Choose 1–400 columns, without exceeding the input frame count. The PNG is columns × frame width by rows × frame height, with rows rounded up from frame count ÷ columns. Use a layout at most 8,192 px per side and 40 million sheet pixels.
Run the converter, inspect the PNG preview, and download 2 files: the PNG sheet and matching XML. Keep them together when importing into a game project.
Frame rectangles and XML timing
An 8-frame GIF with 128 × 128 px frames and 4 columns becomes a 512 × 256 px PNG. Frame 1 starts at x=0, y=0; frame 4 at x=384, y=0; frame 5 at x=0, y=128. No trimming, padding, rotation, or rescaling is applied.
Each frame gets its own XML entry in playback order. Timing is useful for FNF and other game-mod workflows, but engine support varies: Sparrow geometry is widely used while duration is an extension. Stored GIF delays of 0 or 10 ms are recorded as 100 ms. The export does not create engine animation code or guarantee an importer will read timing automatically.
Local processing, sheet limits, and rights
The GIF is decoded and processed entirely in your browser. It is not uploaded to PhotoToGIF or a processing server. No account is needed, no credits are charged, and no watermark is added. Download your result before closing the tab.
Use 1 GIF up to 20 MB (20 MiB), 400 frames, 4,096 px per side, and 40 million decoded pixels across all frames.
The output sheet is limited to 8,192 px per side and 40 million pixels, including empty cells. Choose fewer columns for a sheet that is too wide, or more columns for a sheet that is too tall.
Use a GIF you made, licensed, or have permission to edit and distribute. Converting a file does not grant rights to its images, characters, or other content.
Related free tools
GIF to Spritesheet questions
Is this sprite sheet maker free?
Yes. The PNG and XML downloads are free, with no account, credits charged, or watermark.
Is the source GIF uploaded?
No. The GIF is decoded, laid out, and exported entirely in your browser.
What files does the converter produce?
It produces one PNG spritesheet and one Sparrow-style XML file. The XML includes frame names, rectangles, and a duration extension in milliseconds.
Will the XML work in my FNF or game engine project?
It depends on the importer. The frame rectangles use Sparrow-style fields, but duration is an extension and some engines require timing or animation names to be configured separately.
What are the input and output limits?
Use 1 GIF up to 20 MB (20 MiB), 400 frames, 4,096 px per side, and 40 million decoded pixels across all frames. The PNG sheet may be at most 8,192 px per side and 40 million pixels.
Does this assemble characters from body parts?
No. This is not a Universal LPC character compositor; it converts the frames already present in one GIF.
Can I distribute the sheet commercially?
Yes, if your source license allows that use. Converting a GIF does not grant rights to game art or characters.