Images · Made a little simpler

Sprite Sheet Packer

Pack mixed-size local images into a transparent PNG sheet. Set the gap and export matching CSS classes and JSON coordinates together.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
Drop files here or select files in multiple groups.

0 of 40 files selected

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Sprite Sheet Packer: how to use it

  1. Choose local PNG, JPEG or still WebP images in the order to pack.
  2. Enter a maximum sheet width and gap, then pack the sprites.
  3. Check the PNG and coordinates. Download the matching CSS, JSON or complete ZIP.

Limits and notes

Up to 40 files, 25 MB each and 100 MB combined. Each sprite is limited to 8 megapixels and 4,096 pixels per side. The sheet is limited to 12 megapixels and 4,096 pixels per side. Images keep their decoded size.

How your privacy works →

Sprite Sheet Packer: common questions

How do I apply the saved CSS?

Place sprite.css beside sprite.png. Add the shared icon class and the generated sprite-specific class to the element.

What does the gap change?

The gap leaves transparent pixels between neighboring sprites and rows. It changes the packing coordinates without resizing the source art.

What coordinates does the JSON use?

Each x and y is a pixel offset from the sheet’s upper-left corner. The CSS uses the opposite offsets to display only that sprite.

Guides