Sprite Sheet Generator
Combine icons or game frames into one PNG (grid, row, column or packed) with a CSS file holding each image’s position and a JSON file for game engines.
Free, no sign-up
Your data stays on your device
Works offline after first open
The tool
Loading the tool…
How to use
- Choose the images (icons or frames) and reorder them by dragging or with the arrows.
- Pick a layout: grid (equal cells for games), row, column or packed, plus the spacing.
- Download the PNG, or the full ZIP with CSS, JSON and a demo page.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: jszip (open-source libraries bundled with the site).
- Works offline after you open it once.
Frequently asked questions
How do I use the CSS?
Upload sprite.png and sprite.css, then give an element two classes: <i class="sprite sprite-name"></i>. Class names come from file names (Latin letters and digits).
Grid or packed?
Grid gives each image a cell the size of the largest image (good for animation frames). Packed places images on shelves by height for the smallest area.
Why add spacing?
When scaled, a pixel from a neighbouring image can bleed in. 2 px of spacing prevents it.
GIF files?
Only the first frame is used. To split an animated GIF into frames, use “GIF Frames”.
Related tools
GIF Frames ExtractorOpen an animated GIF, see every frame with its duration, and download them as PNGs in a ZIP or one by one, or combine them into a sprite sheet with JSON.Merge Images into OneStitch several images side by side or top to bottom into one: reorder them, match widths or heights, set the gap and background. Great for screenshots and note pages. On your device.Photo CollageCombine photos into one collage: pick a layout with 2 to 9 cells and a ratio (1:1, 4:5, 16:9, A4), reposition each photo inside its cell, and tune spacing, corners and background. On your device.Favicon GeneratorCreate your site icon from an image, letters or an emoji: favicon.ico, PNG sizes, Apple touch icon, site.webmanifest and ready HTML tags, all in one ZIP.