مدقق JSON
التحقق من JSON مع أخطاء مفصلة وأرقام أسطر
Catch syntax issues before they reach production
A validator tells you exactly where a payload stops being valid JSON. That matters when an AI model emits malformed output, an API returns broken data, a config file breaks a deploy, or a fixture fails in CI and the error message is too vague to trust at a glance.
Use the validator when you need to
Confirm a payload is valid JSON
Run a fast syntax check before you feed the data into an API client, parser, or schema validator.
Pinpoint line and column errors
Find the exact location of missing commas, bad quotes, truncated objects, or other parse failures.
Triage malformed fixtures, config files, and model output
Validate copied request bodies, seed files, local config, and structured AI output before they break a deploy or test run.
How to validate JSON quickly
- 1
Paste the JSON payload into the editor.
- 2
Click Validate to run the syntax check and inspect any reported line and column errors.
- 3
If it fails, repair the payload or apply a suggested fix, then validate again.
Keep going
Repair invalid JSON
Fix common syntax mistakes automatically before validating again.
Understand parser errors
See what common error messages mean and how to resolve them faster.
Learn how to fix invalid JSON
Work through the most common mistakes developers hit in real payloads.
Validate against a schema
Move from syntax validation to contract validation when shape matters too.
Common validator workflows
Paste the response to isolate whether the issue is syntax, truncation, or an unexpected literal.
Validate it first so you know whether the bug is in the JSON or in the request itself.
Use the exact error position to repair the file without diffing every line manually.
أدوات ذات صلة
الأسئلة الشائعة
الصق JSON في المحرر واضغط «تحقق». تتحقق الأداة من مواصفة RFC 8259 وتعرض أرقام الأسطر ووصفاً لكل خطأ.
الأكثر شيوعاً: فاصلة زائدة بعد آخر عنصر، علامات اقتباس مفردة بدل المزدوجة، أسماء خصائص غير مقتبسة، فواصل ناقصة بين العناصر، وتعليقات (JSON القياسي لا يدعم التعليقات).
لا. JSON القياسي (RFC 8259) لا يدعم تعليقات — لا // ولا /* */ ولا #. إذا احتجت تعليقات ففكّر في JSONC أو JSON5، أو استخدم أداة الإصلاح لإزالة التعليقات.
غالباً الأحرف غير المرئية: مسافات غير قابلة للكسر، أحرف عرض صفر، أو علامة BOM. راقب أيضاً الاقتباسات «المنحنية» التي يضيفها المحرر.