What a texture atlas is for
Games draw faster when many sprites share one texture. Each separate image costs a texture switch or a draw call, and small files waste memory on padding. A texture atlas puts all sprites of a character, a UI or a level into one image and a data file that says where each one is. Phaser, PixiJS, HaxeFlixel, Godot and most engines can read an atlas and pull single frames out of it by name.
How the packing works
Each sprite is trimmed to its visible pixels first, and the cut-off offset is saved so the engine can put it back in the right place. Identical images, such as repeated animation frames, are stored only once and point to the same rectangle. Then the packer places the biggest sprites first with the MaxRects method, which keeps a list of free rectangles and picks the spot that wastes the least space. It tries several atlas sizes and keeps the smallest one that fits. Sprites are never rotated, so every engine reads them the same way.
Padding and extrude
When an engine scales or filters an atlas, a pixel can sample its neighbour and show a thin line of the next sprite. Padding leaves empty pixels between sprites. Extrude copies the outer row of each sprite outward, so a tile that bleeds only bleeds into its own colour. For pixel art with nearest filtering 1 or 2 px of padding is enough. For tiles and smooth scaling add 1 or 2 px of extrude.
Which data format to pick
JSON Hash is the TexturePacker format that Phaser 3 loads with load.atlas and PixiJS loads with Assets.load. JSON Array is the same data as a list, used by Phaser's multiatlas and some older loaders. Sparrow XML is the Starling format used by HaxeFlixel and Friday Night Funkin' mods, where frames named idle0000, idle0001 become an animation. Godot 4 writes one AtlasTexture .tres per sprite next to the atlas image. Put the folder in your project and use any .tres as the texture of a Sprite2D or TextureRect. Trimmed edges come back through the margin setting.
Are my sprites uploaded?
No. The images are read, packed and zipped in your browser. Nothing is sent to a server.