A spritesheet checker that prints the same verdict for a good sheet and a broken one is decoration. The free one at Atlas Inspector compares three things: the layout key it finds, the frame count, and whether every rect sits inside the image. I ran four atlases through it this morning and two of them exposed holes in the checker itself. Both are fixed now. Here is exactly what changed, with the real output before and after.
What the checker compares
It reads the JSON, finds either a frames object or a textures array, counts the frames, looks for duplicate names, looks for zero or negative sizes, and compares every rect with the PNG dimensions. Nothing is uploaded, no account is needed, it all runs in the browser tab.
Test A - a clean hash atlas
Four frames of 128x128 in a 512x256 sheet, with meta.size declaring 512x256. Output: hash (frames{}), 4 frames, Nothing to flag. That is the baseline. A checker has to be quiet when nothing is wrong, or the noise makes it useless.
Test B - frames as number arrays
frames: [[0,0,128,128],[128,0,128,128],[0,128,128,128],[128,128,128,128]]
Before the fix the output was: array-like (frames[]), 4 frames, no issues. It counted the four entries, could not read x/y/w/h out of an array, and said nothing at all. That is the worst possible answer, because Phaser and Godot both expect an object per frame, so an array entry fails before any rect is ever used. A checker that stays silent on a layout every loader rejects is worse than no checker.
After the fix the same file prints: Frame entries are number arrays (4). The four numbers are still read positionally so the bounds check still runs, but the verdict becomes Problems found, with the note that this layout fails before any rect is used and should be re-exported as objects with x/y/w/h keys.
Test C - rotated frames
TexturePacker writes rotated: true for frames packed sideways, and the stored rect describes the sprite before rotation. Put a 200x60 sprite at (0,0) rotated, and a 60x200 sprite at (0,64) rotated, into a 256x256 sheet. Both fit, because rotation swaps the footprint.
Before the fix the second one was reported as outside the image: tall at (0,64) 60x200 inside 256x256. The checker compared y plus h, 64 plus 200 equals 264, against 256, and ignored that the rotated frame occupies 200 wide by 60 tall. A false alarm on a valid sheet trains people to ignore the tool, which is worse than the silent pass in test B.
After the fix: No blocking problem found, with one note, Rotated frames checked with swapped footprint (2).
The check still has teeth. Move that same rotated rect to (0,200) and it now reports: bad at (0,200) 200x60 (rotated) inside 256x256. On the swapped axis 200 plus 60 equals 260, past 256, so the frame really does read outside the sheet.
Test D - an empty frames object
frames: {} next to a 64x64 meta size. Output: Frames collection is empty. This one was caught before the change and still is. It is here because an empty frames object is the quiet version of the missing frames error, and it deserves its own line rather than a generic pass.
What the checker still cannot see
Being precise about the limits is the point of a checker, so here is the list:
Premultiplied alpha, and colour bleeding between neighbouring frames. That is a pixel problem, not a rect problem.
Pivot, origin and anchor. The atlas JSON does not carry them in a portable way; the engine does.
Nine-slice borders, padding rules and texture filter settings. Those live in the importer.
Whether the sprite the artist drew is the sprite you actually wanted. No tool answers that.
Those belong to an engine-side pass. That is what the desktop app is for when you have a folder of sheets instead of a single file.
Try it
The checker is at https://atlas-errors.petersoncool.workers.dev/inspector/tool - drop a JSON, drop the PNG, read the verdict. Three broken samples are built into the page if you want to see the output before risking your own file. No install, no email.
If you want the message-level answers instead, the 110 atlas errors with the cause and the exact fix for each are in the $19 pack at https://atlas-errors.petersoncool.workers.dev/checkout/ . The desktop fixer that runs this check over a whole folder is free at https://atlas-errors.petersoncool.workers.dev/fixer/ .
Two of the classes above have their own pages, and both are worth reading before the atlas JSON: the Phaser side at https://atlas-errors.petersoncool.workers.dev/errors/phaser/ and the Godot side at https://atlas-errors.petersoncool.workers.dev/errors/godot/ .

