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
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
- 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).
- 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.
- 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.
- 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.
- 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
- Keyboard shortcuts: Space plays and pauses, ← and → step frames, Home/End jump to the ends, R resets.
- A blank flash at the end of each loop usually means the last row has empty cells: the player plays every cell of the grid unless you set To frame to leave the empty cells out. Check the last cells with the grid overlay.
- A character that slides or drifts from frame to frame means the margin or spacing is off; adjust them until the yellow warning disappears.
- Every asset on the Free Game Assets page has an "Open in Sprite Player" button that loads its strip with the right columns, speed, and loop setting and starts playing.
Export a GIF or APNG
- 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.
- 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
- Empty cells at the end of the last row go into the file unless To frame stops before them. Lowering Rows or Columns won’t drop them; it changes the frame size instead.
- Empty cells in the middle of a sheet need a new strip: 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 load that strip with Rows set to 1 (up to 64 frames).
- Sheet → GIF / APNG keeps its own grid, speed and playback settings, separate from the Sprite Player’s; "Reset to defaults" puts them back.
The player never uploads your sheet: decoding, playback and export all happen in your browser.
Go deeper
- Find Swapped and Empty Frames in a Sprite Sheet: A test sheet with planted faults, and why a grid with no leftover pixels can still be the wrong grid.
- How Fast Should Pixel Art Animate? Choosing a Frame Rate: Starting speeds by animation type, which rates play evenly on a 60 Hz screen, and why a GIF can’t play every rate exactly.
- Make Sprite Animations Loop Without a Hitch: Duplicated end frames, ping-pong turnarounds, and how to put a ping-pong into the sheet itself so a GIF keeps it.
- How to Find the Frame Size of a Sprite Sheet: Work out the margin and spacing that make the player’s left-over warning disappear.
- Free Pixel Art Game Assets: 70 free (CC0) animated strips, each one click away from the Sprite Player.
Related guides
- How to Split a Sprite Sheet into Individual Sprites
- How to Convert a GIF to a Sprite Sheet
- How to Draw Your Own Pixel Art Sprite