← All guides

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.

  1. 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.
  2. 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.
  3. 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

Go deeper

Related guides