コード、データと QRツール

JSON フォーマッター

「JSON フォーマッター」はコード、データと QRに使えるブラウザツールです。入力内容と結果は通常この端末内で処理され、登録は必要ありません。

ブラウザ内で処理登録不要プライバシーの説明 ↗

使い方

使い方

  1. Paste valid JSON up to 100,000 characters.
  2. Choose pretty-print or compact output.
  3. Format JSON, review the result, and copy it.

Data parsing only

This tool uses the browser JSON parser and never evaluates pasted text as code. It formats a parsed value and does not merge it into objects, avoiding prototype-related merge behavior.

Number precision boundary

JavaScript numbers cannot exactly represent every very large integer. If JSON contains an integer outside the safe range, formatting can change its numeric precision; keep such identifiers as JSON strings.

よくある質問

あわせて知りたいこと

Does it accept comments or trailing commas?

No. Those are not valid JSON and the parser reports an error.

Will it run code inside the text?

No. It parses JSON data only; it does not use eval.

Can it preserve huge integer IDs exactly?

Use strings for integer IDs outside JavaScript’s safe integer range.