JSON Tools

JSON5 Validator

Check JSON5 syntax instantly and see the equivalent strict JSON.

Loading JSON5 Validator…

How it works

How to use the JSON5 Validator

  1. Paste JSON5

    Comments, trailing commas, unquoted keys and single-quoted strings are all allowed.

  2. Read the report

    Errors are underlined with their exact line and column.

  3. Convert if needed

    A valid document is shown as strict JSON too.

What is JSON5?

JSON5 is a superset of JSON designed for hand-written config files. It allows comments, trailing commas, unquoted object keys, single-quoted strings, hexadecimal numbers, leading/trailing decimal points, Infinity and NaN. Tools such as Babel and many build systems read JSON5 configs.

Built for developers

Why developers use it

  • Private by design

    Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.

  • Instant results

    Output updates as you type, with precise error locations when something is wrong.

  • Works offline

    Once loaded, the tool keeps working without a connection. Install it as an app if you like.

  • Free, no sign-up

    No accounts, no limits, no watermarks.

FAQ

Frequently asked questions

Can I use JSON5 where JSON is expected?

Not directly — most JSON parsers reject JSON5 features. Convert it to strict JSON first (the validator shows the result).

Is my data uploaded anywhere?

No. Everything runs locally in your browser — nothing you paste or open is sent to a server, logged or stored. The tool keeps working offline once the page has loaded.

Keep going

Related tools

Private by design

Your data never leaves your browser.

498 free tools that run locally — no uploads, no sign-up, no tracking of what you paste. They even work offline.

  • 498free tools
  • 0bytes uploaded
  • 23categories