togotools.top technical reference
Technical reference
Format, minify, and validate JSON locally in your browser. Tree view with path search, node copy, and seamless text/tree switching. Text view supports configurable indent and minify. Parsing never touches a server.
Core features
- One-click format or minify with configurable indent (2/4/8 spaces or tab) in text view.
- Real-time syntax validation with error position and line number.
- Tree view with collapsible nodes and search by key or value.
- Click any tree node to copy its JSON path or raw value.
- Switch freely between text and tree views without losing data.
Example: before and after
Formatting only changes whitespace and line breaks. It does not reorder keys or alter value types.
{"name":"Ada","age":30,"skills":["go","rust"]}
{
"name": "Ada",
"age": 30,
"skills": [
"go",
"rust"
]
}Limits
- JSON does not support comments. Input containing // or /* */ will fail to parse.
- Very large files (over 10MB) may cause tree view lag due to DOM node count.
- Duplicate keys follow JavaScript native JSON.parse behavior: last value wins.
Frequently asked questions
Why does my JSON fail validation but looks fine?
Common causes include trailing commas, single-quoted strings, comments, or invisible characters like BOM. JSON only allows double-quoted strings and no comments or trailing commas.
Is the tree view data the same as the text view?
Yes. Both views render the same parsed result. Switching does not lose data. Tree view is for browsing deep structures, text view for copying and comparison.