Skip to content
JSON checker

Every comma.In its place.

Drop config and locale files or paste a snippet. You see the first error with line and column, and every duplicate key.

Your files never leave your browser.
Allow comments and trailing commasJSONC, as in VS Code settings. .jsonc files always use it.
Indent
Sort keys when formatting
Drop JSON files or folders hereFrom folders only .json and .jsonc files are taken. Files you pick yourself are always checked.

Questions and answers

Which mistakes break JSON files in FiveM and RedM resources?

Mostly a comma after the last entry, a missing comma between two entries, comments, single quotes and keys without quotes. Values copied from a Lua table bring = instead of a colon. One such mistake and json.decode returns nothing, so the resource loads no config or no locale. The checker names the line and the column of the first error.

What is JSONC?

JSON with comments and trailing commas, as used by VS Code settings and some tools. Turn on the option to accept it. Files ending in .jsonc use it automatically. Most JSON parsers, including the json.decode in most game scripts, expect strict JSON. Formatting writes strict JSON and removes the comments.

Are my files uploaded?

No. Reading, checking, formatting and packing the ZIP all happen in your browser. Your files and what you paste never go to a server, so it is safe for configs with tokens, webhooks or database passwords.

How large can files be?

Each file can have up to 32 MB, and you can check hundreds at once. A file of 5 MB is checked in well under a second. Very large files make the editor slower to scroll, but checking, formatting and the ZIP still work.