中文 Back to home

Input 0 characters

JSON Formatter & Validator

Validate, format, minify, escape, and inspect JSON with syntax highlighting, tree view, precise errors, and statistics.

Input
Result
Formatted, minified, or escaped output appears here
characters 0 Lines 0 Key count — Maximum depth —

Shortcut: Ctrl + Enter Format input · Drafts are saved locally and survive a refresh.

About JSON Formatter & Validator

Paste JSON, then format, minify, validate, or inspect its tree. Ctrl+Enter formats the current input.

Does it support JSON5 or very large integers?

This tool uses JSON.parse: comments and trailing commas are rejected. JavaScript numbers can lose precision beyond the safe-integer range; keep identifiers as strings.