Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Image Processing
  3. Sprite Sheet Generator
Add to favorites

Sprite Sheet Generator

Pack animation frames into a sprite sheet with a JSON or CSS atlas for Phaser, PixiJS and the web, or slice an existing sheet back into separate frames.

Edits stay in your browserMore image processingJump to full guide

Initializing in your browser…

You might also like

Texture Generator

Make textures that repeat without a visible seam: clouds, marble, stone, wood, lava and simple patterns, in your own colours, downloaded as PNG tiles up to 2048 pixels.

Meme Generator

Add top and bottom text, or any number of captions, to your own picture. Text is sized to the photo, wraps to fit, and can be dragged into place.

Image Color Palette Extractor

Extract the main colours of a photo as a palette with hex, RGB and HSL codes and their share of the picture, and export it as CSS, SCSS, Tailwind, JSON, CSV or GIMP.

Sprite Sheet Generator: a worked example

Eight frames of a bouncing ball, each 128 by 96, packed into a sheet and then sliced back apart.

Settings

Frames: 8 at 128 x 96
Layout: even grid, 4 columns, no gap
What Sprite Sheet Generator produces

Result

Sheet: 512 x 192 PNG, 22.8 KB, 0% empty space
Atlas: JSON hash with 8 frames, e.g. bounce-1 at x 0, y 0, 128 x 96
Check: all 8 frames come back byte for byte

Slicing a 518 x 194 sheet with 2 px gaps:
detected 4 by 2 frames of 128 by 96, 8 frames cut

With frames of one size, an even grid of 4 columns fits the eight frames into two rows with no wasted space. Each frame sits on whole pixels and is never scaled, and the page cuts every frame back out of the finished sheet to confirm it matches the original exactly. Going the other way, the gaps between frames are found automatically, so the grid of a sheet with spacing is filled in for you.

About the Sprite Sheet Generator

Combine animation frames and game graphics into one sprite sheet image, with an atlas file that tells your game engine where each frame is. Or take an existing sheet and cut it back into separate frames. Works with Phaser, PixiJS and plain CSS.

How to use

  1. 1Choose Make a sheet, and drop in your frames or press Try sample frames.
  2. 2Pick Even grid or Packed rows, and set the columns and gap.
  3. 3Reorder frames in the list if needed.
  4. 4Choose an atlas format and download the PNG and the atlas.
  5. 5To cut a sheet apart, choose Slice a sheet and load it.

Where this helps

  • Game development

    Character animations, tiles and effects in one texture.

  • Web performance

    One image for many small icons, positioned with CSS.

  • Pixel art

    Pack and unpack animation frames without any blurring.

  • Reusing assets

    Cut an existing sheet into frames for editing or a GIF.

Key features

  • Even grid or packed rows layouts
  • Columns, gap, margin, alignment and power-of-two sizes
  • Frames placed on whole pixels, never scaled
  • Every frame checked against the original after packing
  • JSON hash, JSON array and CSS atlases
  • Slice mode with automatic grid detection
  • Frames downloaded as a ZIP or one by one
  • Drag and drop, paste and reordering
  • Shareable settings link; nothing is uploaded

Tips & best practices

  • Give all animation frames the same size for an even grid with no wasted space.
  • Name your files in order, such as walk-1.png, walk-2.png, so the atlas names make sense.
  • Use the magenta background to see gaps and edges while you check the layout.
  • Keep sheets under 4096 pixels a side for the widest device support.

Examples

  • An animation for Phaser

    Eight 128 by 96 frames pack into a 512 by 192 sheet with a JSON hash atlas, and all eight come back byte for byte.

  • Web icons with CSS

    Pack a set of icons, choose the CSS atlas, and use the classes to show each icon from one image.

  • Frames from a downloaded sheet

    Load a sheet with spacing between frames: the grid is detected, the frames are cut and you download them as a ZIP.

How it works

Make a sheet. Drop in your frames, paste them, or try the sample, and the sheet is packed as you go. Even grid makes every cell the size of the largest frame, which animations need; Packed rows makes each row only as tall as its tallest frame, which wastes less space with mixed sizes. Set the number of columns, the gap between frames (which stops neighbouring frames bleeding into each other when a game scales the sheet), a margin, where smaller frames sit in their cell, a power-of-two size for older engines, and the background. Reorder or remove frames in the list.

Exact pixels. Every frame is placed on whole pixels and never scaled, so nothing is blurred. After packing, the page cuts each frame back out of the sheet at the position the atlas gives and compares it with the original, and says whether all of them came back byte for byte.

The atlas. Download the sheet as a PNG with an atlas in JSON hash or JSON array form (the TexturePacker formats that Phaser and PixiJS read), or as CSS with a class and background position for each frame. Each entry gives the frame's own rectangle inside its cell.

Slice a sheet. Load a sprite sheet and the page looks for the gaps between frames to fill in the columns, rows, frame size, margin and spacing for you. Adjust them if needed: the grid is drawn over the sheet, with any frame that runs off the edge in red. The frames are cut as you change the grid, and you can download them all as a ZIP or one at a time. Everything happens in your browser.

Frequently asked questions

Which game engines can read the atlas?

The JSON hash and JSON array formats are the TexturePacker formats read by Phaser, PixiJS and many other engines. The CSS format works in any web page.

Should I add a gap between frames?

Yes, if your game scales or rotates sprites: a gap of 1 or 2 pixels stops colours from neighbouring frames bleeding in.

Do my frames lose quality?

No. Frames are placed on whole pixels and never resized, and the page checks that every frame comes back out of the sheet exactly.

What does power of two mean?

A sheet whose sides are 256, 512, 1024 and so on. Some older engines and graphics cards need it; modern ones do not.

Can it find the grid in a sheet?

Yes, when the frames are separated by gaps or a margin. If the frames touch, enter the frame size and counts yourself.

Are my images uploaded?

No. Everything happens in your browser.

Related tools and how they differ

  • GIF Maker: Turns the same frames into an animated GIF.
  • Image Resizer: Resizes frames to one size before packing them.
  • Image Pixelator: Gives pictures a pixel-art look for retro games.

Private by design

Images are decoded, edited, and exported entirely inside this browser tab. No originals, exports, or metadata are uploaded.