← All guides

How to Convert a GIF to a Sprite Sheet

3 min read · Updated October 2026

Found the perfect animation as a GIF, but your engine wants a sprite sheet? The GIF → Sprite Sheet converter decodes every frame locally in your browser and packs them into a grid, with metadata giving each frame’s position and how long it stays on screen. It reads animated GIFs, APNGs, and animated WebPs.

Open the GIF converter — free, in your browser, no signup.

  1. Drop in the animation. Drag a GIF, APNG, or animated WebP into the upload area — or click "Try a sample" to test with the bundled bouncing-ball GIF. Decoding starts immediately. Up to 300 frames are converted; a longer animation keeps its first 300, and the page says so.
  2. Review the frames. A thumbnail strip shows the first 24 frames, with the frame count, each frame’s size in pixels, and the animation’s approximate speed in FPS, worked out from the file’s own frame delays. GIFs that store only the pixels that change between frames come out as complete frames.
  3. Shape the grid. Set "Columns" — the tool starts with a square-ish grid that fits and shows the sheet’s size live. If the sheet would be wider or taller than 8192 px, "Download Sheet + JSON" is disabled and the warning says which column counts fit; if no column count does, it suggests sending the frames to Export & Download and saving them as separate images with "Download as ZIP".
  4. Download, or keep working. "Download Sheet + JSON" saves sprite-sheet.png and sprite-sheet.json: the frame size, columns, rows, and suggested FPS, plus every frame’s x/y position and its duration in milliseconds. Or click "Send to Export & Download" to put the frames in your session, replacing what was there, so you can rename them, add animation tags, trim transparency, and export TexturePacker, Godot, Phaser, or Aseprite formats instead.

Tips

Note: GIFs convert in every modern browser, including Safari and on iPhone. Animated PNG and WebP files need the WebCodecs ImageDecoder API, which Chrome and Edge have and Safari doesn’t; without it the tool tells you rather than failing silently.

Go deeper

Related guides