Skip to main content
CuteJSON
↑↓ Navigate Enter Select Esc Close

JSON Validator

Paste JSON and find out whether it is valid, where exactly it breaks, and what quietly went wrong even when it parses.

Back to all tools
0 Lines 0 B

Keyboard shortcuts

These work wherever the matching action exists on this page.

Open the command palette
Ctrl/Cmd + K
Run the main action
Ctrl/Cmd + Enter
Format
Ctrl/Cmd + Shift + F
Minify
Ctrl/Cmd + Shift + M
Copy output
Ctrl/Cmd + Shift + C
Open file
Ctrl/Cmd + Shift + O
Download output
Ctrl/Cmd + S
Close this dialog
Esc
Open this dialog
F1 / ?

Local data

Everything below is stored only in this browser, on this device. None of it is ever sent anywhere, and closing this dialog is not required for that to stay true.

Unsaved drafts
Tools with remembered options

Recently opened files

    No files opened yet on this device.

    Share via link

    The content is packed into the part of the link after the # sign, which browsers never send to a server. Nothing here is uploaded to cutejson.com or anywhere else.

    Shares the first input on this page. On a tool with more than one, only that one is included.

    Nothing to share yet. Paste or type something first.

    Load from a URL

    Fetches the URL directly from your browser and loads whatever text it returns into this pane.

    Runs entirely in your browser. Nothing you paste is uploaded, and you can confirm that in your browser Network tab.

    About this tool

    Validation here checks your document against RFC 8259 and names the actual mistake rather than reporting an unhelpful unexpected token. Single quotes, unquoted keys, trailing commas, wrong case keywords, NaN and Infinity, leading zeros and bad escapes each get their own message with a line and column. It also reports duplicate keys, which are legal JSON but almost always a bug: the last value silently wins and the earlier one is discarded. Most validators say nothing at all about them.

    How to use

    1. Paste your JSON into the editor, or load the sample.
    2. Validation runs as soon as you stop typing. You can also press Validate to run it immediately.
    3. Read the result above the editor. Errors mark the failing line in the gutter, and warnings are listed with their own line numbers.

    Keep reading

    How to validate JSON and actually understand the error Read the guide