FreeDev Tools

JSON5 to JSON

Convert JSON5 to strict JSON β€” strips comments and trailing commas, quotes keys, converts single quotes.

Runs locally in your browser. Your input is not uploaded.

How to Use

  1. 1

    Paste JSON5 or JSONC

    For example a tsconfig.json with comments and trailing commas.

  2. 2

    Get strict JSON

    Comments are stripped and syntax normalized instantly.

  3. 3

    Copy or download

    Use the output anywhere a strict JSON parser is required.

Frequently Asked Questions

Single-line (//) and block (/* */) comments are stripped, trailing commas removed, unquoted keys quoted, and single-quoted strings converted to double quotes β€” covering tsconfig.json-style files and most JSON5 configs.