עצבו, ייפו ואמתו JSON אונליין עם הודעות שגיאה ברורות עבור קלט לא תקין.
כיצד להשתמש במעצב JSON
הדביקו או הקלידו את ה-JSON שלכם בלוח הקלט.
לחצו על הרצה כדי לנתח אותו ולהדפיס מחדש עם הזחה של 2 רווחים.
העתיקו את ה-JSON המעוצב, או קראו את השגיאה אם הקלט לא תקין.
The JSON Formatter and Validator turns minified, escaped or messy JSON into a clean, indented structure you can actually read, and pinpoints syntax errors with their exact location so you can fix them fast.
It runs your input through a strict JSON parser. If parsing succeeds, the tool re-prints the data with a consistent 2-space indent, which means a clean format is also proof that your JSON is valid. If parsing fails, you get a precise error instead of a vague "something is wrong".
Developers reach for it constantly: inspecting an API response, sanity-checking a config file, cleaning up a webhook payload before saving it, or making a large blob diff-friendly before committing it to version control. Readable JSON makes structure, nesting and missing fields obvious at a glance.
Most "invalid JSON" errors come from a handful of causes: keys or strings wrapped in single quotes instead of double quotes, a trailing comma after the last item, comments (which standard JSON does not allow), unquoted keys copied from a JavaScript object, or smart quotes pasted in from a document. The error position tells you exactly where the parser gave up.
Because the whole thing runs in your browser, your JSON never leaves your device. That matters when the payload contains access tokens, customer records or anything you would not want to paste into a random website that quietly uploads it to a server.
Once formatted, copy the result with one click. If you need the opposite, the JSON Minifier strips all whitespace to produce the smallest possible payload for production.
שאלות נפוצות
הוא מנתח את ה-JSON שלכם, בודק שהוא תקין, ומדפיס אותו מחדש עם הזחה נקייה של 2 רווחים כדי שיהיה קל לקריאה. JSON לא תקין מחזיר הודעת שגיאה מדויקת במקום.
לא. ה-JSON שלך מעוצב כולו בדפדפן שלך, ולכן שום דבר לא נשלח לשרת. הוא לא נשמר, לא נרשם ולא משותף.
המעצב פועל לפי תקן ה-JSON המחמיר: מפתחות ומחרוזות דורשים מירכאות כפולות, ללא פסיקים בסוף וללא הערות. הודעת השגיאה מציגה היכן הניתוח נכשל.
הטמע את הכלי הזה
הוסף את הכלי הזה לאתר שלך. העתק את קטע הקוד שלהלן; הוא מתעדכן אוטומטית.
<iframe src="https://monu.tools/embed/he/json-formatter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>כלים קשורים
הקטנה ואימות של JSON בדפדפן שלכם, וצפייה בכמה בייטים אתם חוסכים.
המרת JSON ל-CSV ו-CSV חזרה ל-JSON, בשני הכיוונים. בחרו את התו המפריד, טפלו בשדות במרכאות והעתיקו את התוצאה. הכול רץ בדפדפן שלכם.
המרת YAML ל-JSON ו-JSON חזרה ל-YAML, בשני הכיוונים. מאמת תוך כדי המרה ומציג שגיאות ברורות. הכול רץ בדפדפן שלכם.
צרו ממשקי TypeScript מדוגמת JSON, עם טיפוסים מקוננים, מערכים ושדות אופציונליים. פועל בדפדפן שלכם.