FNF Spritesheet and XML Generator

Turn your character’s frames into one spritesheet PNG and the Sparrow XML that Friday Night Funkin’ reads. Each animation gets its own prefix, numbered idle0000, idle0001…

px
px
px
px

Repeats each frame’s edge pixels around it in the PNG, so an engine that smooths or shrinks the sheet doesn’t pick up the next frame (thin lines between frames). The data files still point at the frames themselves.

Example sprite sheet: a pixel slime’s idle and hop animations, 10 frames on one sheet
Example: 10 frames of a slime — 4 idle, 6 hop — become one sheet, and the data file knows both animations.
Data files (PNG is always included)
Free, no sign-up, no watermark. Up to 1,000 GIF frames and 16,384 px per side.

How to make an FNF spritesheet and XML

  1. 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.
  2. Rename each animation to the prefix your character file uses, for example BF idle dance or BF NOTE LEFT. Change the order or move frames if you need to.
  3. Sparrow XML is already ticked. Download the ZIP: the PNG and the XML, named after the sheet.
  4. 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 SubTexture per frame, named the animation’s prefix plus four digits, starting again at 0000 for 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 / frameY offsets 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 (idle and idle 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

InputPNG, JPG or WebP frames; animated GIF, PNG (APNG) or WebP
OutputPNG plus Sparrow XML; TexturePacker and Aseprite JSON too if you tick them
Frame namesAnimation prefix + four digits (idle0000), restarting for each animation
Not in the XMLFrame rate and offsets — set them in your character file
PrivacyRuns in your browser. Files are not uploaded.
PriceFree. 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