How to Convert a Sprite Sheet to a GIF
4 min read · Updated October 2026
Sprite sheets are for engines; GIFs are for everyone else. Whether you’re posting progress on social media, attaching an animation to a bug report, or sending a preview to a teammate, this converter plays your sheet and exports it as an animated GIF or APNG in a couple of clicks.
Open the Sheet → GIF converter — free, in your browser, no signup.
- Load your sheet and set the grid. Drop in the sprite sheet (PNG, JPG, GIF, or WebP) or click "Try a sample". Set Columns and Rows (up to 64 each) to match the sheet, plus "Margin (px)" and "Spacing (px)" if it has a border around the frames or gaps between them. The readout shows the frame count and each frame’s size; if pixels are left over on the right or at the bottom, it says how many — a sign the margin or spacing is off. The "Grid overlay" button draws numbered gridlines on the source image so you can verify alignment at a glance.
- Preview at the right speed. Press Play (or Space) and drag the Speed slider (1–60 FPS, default 12) until the motion looks right; the export uses this speed. Loop, Ping-pong, and the Checker, Black, and White backgrounds only change the preview: the exported file plays every frame once in sheet order, repeats forever, and keeps the sheet’s transparent background.
- Export as GIF or APNG. Click "GIF" for the universally compatible format (animation.gif), or "APNG" for lossless quality (animation.png). The export includes every cell in the grid, at native frame resolution. The "Frame" button saves just the current frame as a PNG.
GIF or APNG — which one?
GIF is limited to 256 colors per frame and 1-bit transparency: a pixel is either fully opaque or fully invisible. SpritePilot makes pixels that are at least half opaque solid and clears the rest, so soft shadows and anti-aliased edges come out hard. GIF also stores each frame’s time in hundredths of a second: the export rounds to the nearest one, so 12 FPS plays at 12.5, and never goes below 0.02 s, so nothing plays faster than 50 FPS. APNG keeps every color, full 8-bit alpha, and the exact frame rate, and plays natively in every modern browser. Use GIF when maximum compatibility matters (older forums, some chat apps show APNG as a still image); use APNG when quality or timing matters.
Tips
- The APNG file downloads as animation.png — a plain .png extension. That’s normal; APNG is a PNG, and browsers animate it automatically.
- Every cell becomes a frame, including empty cells at the end of the last row, and lowering Rows or Columns won’t drop them — it changes the frame size instead. To lose them, cut the sheet with Grid Slice in Sprite Detection (it skips fully transparent cells), export a "Horizontal Strip" from Export & Download with Trim transparency off and Padding and Extrude at 0, and convert that strip with Rows set to 1 (up to 64 frames).
- Your grid, speed, and playback settings are remembered for next time, separately from the Sprite Player’s; "Reset to defaults" puts them back.
Go deeper
- How Fast Should Pixel Art Animate? Choosing a Frame Rate — Picking the speed by eye, and why a GIF can’t play every frame rate exactly.
- Make Sprite Animations Loop Without a Hitch — Doubled frames at the seam, and how to put a ping-pong into the sheet itself so the GIF has it.
- How to Find the Frame Size of a Sprite Sheet — Work out the columns, rows, margin, and spacing of a sheet that came without notes.
Related guides
- How to Preview a Sprite Sheet Animation
- How to Convert a GIF to a Sprite Sheet
- How to Split a Sprite Sheet into Individual Sprites