logo皮皮强

JSON Formatter

Validate and format JSON online: beautify/minify, sort keys, locate errors, decode Unicode/URL, export CSV, and generate TypeScript, Go, Java, C#, Python, Kotlin, Rust, or PHP structures.
About: Paste or type JSON to validate and format it live; parse errors are reported with line and column positions. Decode literal \uXXXX escapes left by double escaping and %XX (URL) percent encoding in string values with one click. The tree view matches the formatted text line by line (each level has its own closing-bracket line; array indexes and counts are hidden by default and can be enabled in the viewer toolbar). Expand/collapse levels, hover to highlight a whole subtree, copy a node, subtree, or JSONPath, and search keys and values. Everything runs locally in your browser; no data is uploaded.
Indent
2 spaces
Input
Valid
Formatted output
Waiting for input…