← All guides

How to Preview a Sprite Sheet Animation and Export a GIF or APNG

6 min read · Last updated: November 20, 2026

Watch how it works

Preview a Sprite Sheet Animation and Turn It Into a GIF 0:56 Chapters and transcript

The Sprite Player plays a sprite sheet straight from the image, so a frame in the wrong order or a grid that is one pixel off shows up before the sheet goes into your engine. The same player, listed as Sheet → GIF / APNG in the menu, exports the animation as a GIF or APNG for a post, a bug report or a teammate. This guide covers both jobs.

Open the Sprite Player: free, in your browser, no signup.

Check the animation

  1. Load a sheet. Drop any PNG, JPG, GIF, or WebP sprite sheet into the upload area, or click "Try a sample" to load a bundled bouncing-ball sheet (4 columns, 2 rows).
  2. Line up the frame grid. Set "Columns" and "Rows" to match your sheet (up to 64 each). If the sheet has an empty border around the frames or gaps between them, enter them as "Margin (px)" and "Spacing (px)" (0 to 512 each). The readout shows the frame count and each frame’s pixel size. A yellow "left over" warning means the grid doesn’t use the whole image, which usually means a missing margin or spacing. Click "Grid overlay" to outline and number every frame on the source sheet: if a box cuts through a character, the numbers are off.
  3. Play it. Press Play (or hit Space). The stage sizes itself to your frame’s aspect ratio: small pixel-art frames are upscaled by whole-number factors so pixels stay crisp, and frames larger than the stage scale down to fit, so nothing is cropped.
  4. Tune the playback. Drag the Speed slider from 1 to 60 FPS (12 by default). "Loop", on by default, restarts from the first frame of the range; with it off, playback stops on the last frame. "Ping-pong" plays forward and then back, showing each end frame once, and keeps bouncing whether or not Loop is ticked, which suits idles and swaying motion. From frame and To frame set the range (every frame by default), so you can play one clip of a sheet that holds several. Switch the Background between Checker, Black, and White to see how transparency and edge pixels hold up. The player keeps the grid, the speed and these options for your next visit.
  5. Step through problem frames. Use the scrubber or the arrow keys to step frame by frame, Home/End to jump to the first or last frame of the range, and R to stop and go back to the first frame of the range. The "Frame" button saves the current frame as its own PNG (frame_0001.png and so on), useful for thumbnails or bug reports. "Save all frames (ZIP)" saves every frame of the range as its own PNG, all in one ZIP.

Tips

Export a GIF or APNG

  1. Set the speed you want in the file. The export uses the Speed slider, so play the animation until the motion looks right first. Loop, Ping-pong and the Checker, Black and White backgrounds only change the preview: the exported file plays every frame of the range once, in sheet order, repeats forever, and keeps the sheet’s transparent background.
  2. Click GIF or APNG. The buttons under the transport controls save animation.gif or animation.png. The file holds the frames from From frame to To frame (every cell by default) at the sheet’s own frame size. The APNG keeps a plain .png extension; that is normal, since an APNG is a PNG and browsers animate it on their own.

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 it has to play everywhere (older forums, and some chat apps show an APNG as a still image); use APNG when color, soft edges or timing matter.

Tips

The player never uploads your sheet: decoding, playback and export all happen in your browser.

Go deeper

Related guides