Upload Images or drag & drop / paste
Sprites
Smart Pack re-sorts sprites for the tightest fit. Your manual order applies to all other layouts.
Pack images into one sprite sheet with CSS and JSON maps.
Upload Images or drag & drop / paste
Smart Pack re-sorts sprites for the tightest fit. Your manual order applies to all other layouts.
A sprite sheet generator merges separate image files into a single texture atlas and maps the position of every frame inside it. Bundling graphics this way cuts HTTP requests on the web and lets game engines swap frames without loading new textures. This tool packs your images with five different layout algorithms, lets you drag sprites into the exact order you need, and exports the matching CSS, SCSS, JSON, or XML coordinate map. Everything runs locally in your browser.
Here are some common use cases for the Sprite Sheet Generator tool:
No. Layout math, canvas rendering, and file exports all run locally in your browser. Your images are never uploaded to a server.
Yes. Drag the dotted handle next to any thumbnail to move it up or down the list, or focus the handle and press the arrow keys. Every layout except Smart Pack follows your order exactly.
Grid places every sprite in identical cells arranged in rows and columns, which is ideal for frame-by-frame animations. Smart Pack sorts sprites by size and packs them onto shelves to waste as little canvas space as possible.
Padding prevents texture bleeding. When a game engine scales your atlas, pixels from neighboring sprites can blur into each other. One or two pixels of spacing keeps every frame clean.
The JSON Hash and JSON Array outputs follow the TexturePacker format, so engines like Phaser and PixiJS can load them directly alongside the PNG. Each frame lists the exact x, y, width, and height of one sprite.
Yes. Enter pixel values in the Force Image Dimensions boxes and every sprite is resized to match before packing. In Grid mode, sprites are also centered inside uniform cells automatically.
There is no fixed count, but browsers limit canvas sizes. The tool warns you above 8192 pixels and stops at 16384, since sheets that large fail to render in most browsers. Keep atlases at 4096 pixels or less for maximum GPU compatibility.