JSON formatter
Format · tree view · copy path · error location · fix common mistakes
JSON 포맷터
JSON 을 보기 좋게 정렬하거나 한 줄로 압축하고, 문법 오류의 줄·칸 위치를 찾아줍니다
JSON 을 붙여넣으면 바로 정리됩니다.
Formats, minifies and sorts JSON keys, walks it as a tree, and copies the path at any line you click.
How to use it
- Paste JSON — it is checked and beautified as you paste
- Use Tree to scan the shape — fold and unfold, click a row to copy its path
- Type a key or value in the find box to jump to that row
- On an error, read the line and column — for a common slip, use "Fix it for me"
- Switch between beautify, minify, sort keys and escape string
Common questions
- Is it safe to paste an API response in here?
- Parsing happens only in your browser and nothing is sent to a server. On a shared computer, do clear the box when you are done.
- Does JSON with comments work?
- Standard JSON does not allow comments, so it is reported as an error. If you use JSONC or JSON5, strip the comments first.
- How large a JSON can it handle?
- As large as the browser’s memory allows. A few megabytes is usually fine, but very large files make the display sluggish.
- What gets copied when I click a line in the tree?
- The path to that value — something like `$.users[0].name`, which you can paste straight into code, jq or a JSONPath expression.
- Does it fix errors automatically?
- It never changes anything by itself. For common slips — trailing commas, single quotes, comments, unquoted keys — it offers “fix it like this” only when the fixed version actually parses, and you decide whether to take it. Silently rewriting your input would hide what was wrong.
Other tools
Stays on your device What you enter is handled inside your browser only — nothing is stored or sent anywhere.
This tool page states where what you enter goes — see the badge above. All tools · KarmoLab · Who made this · Built with AI. View source