JSON5 to JSON Converter

Paste JSON5 with comments, trailing commas, or unquoted keys and get clean, strict JSON instantly.

Minify Pretty

Summary

Paste JSON5 with comments, trailing commas, or unquoted keys and get clean, strict JSON instantly.

How it works

  1. Paste your JSON5 text into the input panel on the left.
  2. The converter processes it instantly in your browser.
  3. The strict JSON output appears in the right panel.
  4. Use the Format toggle to pretty-print or minify the output.
  5. Click Copy to copy the result to your clipboard.

Use cases

  • Convert configuration files written in JSON5 to strict JSON for APIs or parsers.
  • Strip comments from JSON before sending to a JSON-only endpoint.
  • Clean up hand-edited JSON with trailing commas that break standard parsers.
  • Validate and normalize JSON5 from build tools or config generators.
  • Prepare JSON5 data for environments that only accept strict RFC 8259 JSON.
  • Debug JSON5 syntax errors with the inline error message.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu