Sprite Sheet Generator
Pack icons or animation frames into one transparent PNG sprite sheet with copyable CSS, JSON, and ZIP.
Images are processed in your browser.
How to use Sprite Sheet Generator
Drop icons or animation frames (PNG, WebP, or JPG) — filenames automatically become CSS class names.
Choose Uniform grid (with automatic or fixed columns) or Packed rows, and adjust padding and CSS class prefix.
Copy the live CSS or JSON metadata, or download everything together in a ready-to-use ZIP archive.
Frequently asked questions
What files are inside the downloaded ZIP?
The ZIP includes sprites.png, sprites.css with background-position rules, and sprites.json with frame coordinates.
What is the difference between Uniform grid and Packed rows?
Uniform grid places each sprite in equal-sized cells (ideal for frame animations), while Packed rows tightly packs mixed sizes by height.
Are transparent backgrounds preserved?
Yes. The packed sprite sheet renders on an alpha-transparent canvas and exports as a 32-bit RGBA PNG.