منسّق JSON
نسّق وصغّر واستكشف JSON بعرض شجري تفاعلي.⌘⏎ run · ⇧⌘C copy · ⎋ resetINPUTعدد مسافات التنسيق
2
الصق أو اكتب JSON. يتم تسطير الأخطاء بالأحمر.
OUTPUT
❯ _شغِّل عملية لرؤية النتائج هنا.then press ⌘⏎
ADSponsored
What is منسّق JSON?
The JSON Formatter pretty-prints, validates and minifies JSON entirely in your browser, and offers an interactive tree view. It pinpoints syntax errors with line and column and can sort keys for stable diffs. Nothing you paste ever leaves your device, so it is safe for production data.
How to use it
- 01Paste raw JSON into the input.
- 02Pick an indent width (or 0 to minify).
- 03Press Format, then copy, download, or explore the tree.
FAQ
Is my JSON uploaded?
No — parsing and formatting run locally; the page even works offline.
Can it minify instead of format?
Yes — set indent to 0 or use Minify to strip all whitespace.
What is the maximum size?
Large documents format smoothly; extremely large inputs may switch to a lighter view.
أمثلة
Format compact JSON{
"json": "{\"a\":1,\"b\":[2,3]}",
"indent": 2
}