How to make an FNF spritesheet and XML
- Add the frames. Name them by animation, like
idle_1.png,idle_2.png,left_1.png— each name becomes one animation. A GIF works too: its frames become one animation named after the file. - Rename each animation to the prefix your character file uses, for example
BF idle danceorBF NOTE LEFT. Change the order or move frames if you need to. - Sparrow XML is already ticked. Download the ZIP: the PNG and the XML, named after the sheet.
- Put both files where your engine looks for character sprites, and point the character’s animations at the same prefixes.
What’s in the spritesheet XML
- One
SubTextureper frame, named the animation’s prefix plus four digits, starting again at0000for each animation. FNF picks an animation’s frames by the start of the name and plays them in number order. - Every frame is a whole cell of the sheet, so there are no
frameX/frameYoffsets and the frames stay lined up. - The frame rate and the character’s offsets aren’t part of the XML — they go in your character file.
- If one name is the start of another (
idleandidle alt), the tool warns you: picking frames by prefix would grab both.
The same XML loads in Phaser with this.load.atlasXML(), which we check in our tests.
Already have a sheet but no XML?
Drop it on the Sprite Sheet Cutter: it finds the frames by grid or automatically, and Keep the sheet as it is writes the Sparrow XML for that image without re-packing it. Name each row’s animation and download.
Have an animated GIF of the character? The GIF to sprite sheet converter keeps each frame’s timing and can merge repeated frames before you export.
Specs and limits
| Input | PNG, JPG or WebP frames; animated GIF, PNG (APNG) or WebP |
|---|---|
| Output | PNG plus Sparrow XML; TexturePacker and Aseprite JSON too if you tick them |
| Frame names | Animation prefix + four digits (idle0000), restarting for each animation |
| Not in the XML | Frame rate and offsets — set them in your character file |
| Privacy | Runs in your browser. Files are not uploaded. |
| Price | Free. No sign-up, no watermark. |
FAQ
What is the XML file in FNF?
It tells the game where each frame sits on the spritesheet. Each SubTexture has a name, like idle0000, plus the frame’s position and size. The game picks an animation’s frames by the start of the name.
How should I name the animations?
Use exactly the prefixes your character file asks for, like “BF idle dance”. Rename the animations in the tool before you download; the frame numbers are added for you.
Can I turn a GIF into an FNF spritesheet?
Yes. Drop the GIF and its frames become one animation named after the file. Rename it to your prefix and download.
Does it set the frame rate or offsets?
No. Those belong in your character file; the XML only says where each frame is.
I have a spritesheet without an XML. Can I make one?
Yes, with the Sprite Sheet Cutter: it finds the frames and writes the XML for the sheet as it is, with a name for each row.
Is it free? Are my files uploaded?
It’s free, with no sign-up and no watermark, and everything runs in your browser.
More free tools
- Sprite Sheet Maker — combine PNG frames and several animations into one sheet
- Sprite Sheet Cutter — split a sheet back into PNG frames, or get its data file
- GIF to Spritesheet — split an animated GIF and keep its timing
- GIF to Frames — save every frame of a GIF as its own PNG, with the delays
- Sprite Sheet to GIF — turn a sheet into an animated GIF
- Free TexturePacker Alternative — what this tool does, and where TexturePacker is better
