Sprite Sheet Generator
Pack icons or animation frames into one PNG, with a CSS class for each sprite and a JSON atlas.
Runs in your browser. Files stay on this device.
Open Sprite Sheet Generator
Free, no account, no watermark and no daily limit.
How to use Sprite Sheet Generator
- 1Drop your icons or frames. The order you pick them in is kept.
- 2Choose grid, row, column or packed, and the gap between sprites.
- 3Download the PNG and copy the CSS or the JSON atlas.
Questions
How do I use the CSS?
Put the PNG next to your stylesheet and give an element both classes, for example class="sprite sprite-home". Each class sets the size and the position on the sheet.
Which layout should I pick?
Grid keeps every frame the same size, which suits animations. Row and column suit a strip of frames. Packed fits mixed sizes into the smallest sheet.
Why add padding?
A gap of 1 or 2 pixels stops neighbouring sprites bleeding in when the sheet is scaled.
Are my images uploaded?
No. The sheet is made in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DesignColour ConverterConvert a colour between HEX, RGB, HSL, HSV, HWB, OKLCH and CMYK, and check its contrast against white and black.
- DesignColour Picker from ImageClick anywhere on an image to get the exact colour as HEX, RGB and HSL, and see its main colours.
- DesignAspect Ratio CalculatorFind the aspect ratio of any width and height, resize to a new width or height at the same ratio, and see megapixels and common sizes.
- DesignBackground & Wallpaper GeneratorMake mesh gradients, grain textures and dot, grid, wave or stripe patterns at any size, then download a PNG or copy the CSS.
- DesignBorder Radius GeneratorRound each corner of a box in pixels or percent, see the shape change and copy the shortest CSS.
- DesignBox Shadow GeneratorSet the offset, blur, spread and colour of a CSS box shadow, watch it on a box and copy the CSS.