# Sprite Sheet Packer & Player

Sprite sheets serve two very different crowds. Web developers pack many icons into one image to save requests, and the CSS tab writes the matching CSS rules. Game makers draw animation frames on a grid, and the animation tab plays that grid back, fixes wobble frame by frame, and can also build a sheet from separate frames or a GIF.

- Page: https://hexflowtools.com/image/sprite
- Section: [Image](https://hexflowtools.com/image)
- Revised: 2026-11-25
- Cost: $0; works without an account; output carries no watermark
- Data handling: the visitor's own browser opens and processes each file; HexFlow servers never receive it

## Step by step

1. Choose the CSS tab for web icons or the animation tab for game art.
2. Add the icons, frames, GIF or finished sheet.
3. Set the arrangement, spacing and class prefix, or the grid: row and column count or frame size, margins and gaps. “Find grid automatically” can work it out for you.
4. Copy the CSS, play the animation, and download the sheet, the frames or a GIF.

## Common questions

### How can the icons be arranged?

“Tight fit (bin packing)” squeezes them into the smallest area. You can also choose a grid, one row or one column. For a grid, set the column count or leave it empty for a roughly square sheet.

### Does it handle high-density screens?

Yes. Mark your inputs as @2x and you get sprite.png plus sprite@2x.png, with CSS that serves the sharper file on high-density screens.

### My sheet has borders and gaps between frames.

Enter the outer margin and the gap for X and Y so every cut lands on the frame edge. Blank frames can be left out, and you can change the playback order.

### Can a GIF become a sprite sheet?

Yes. On the animation tab choose “Frames or GIF → sprite sheet” and add an animated GIF or a folder of frame images.

### What should my source files be?

Transparent PNGs. They give the cleanest edges for both web icons and game sprites.
