أدوات المطورين

تنسيق JSON

تنسيق JSON: جهّز النص البرمجي وراجع الناتج قبل دمجه في مشروعك.

دليل الاستخدام

تنسيق JSON: المدخلات والنتائج والحدود

تنسيق JSON: جهّز النص البرمجي وراجع الناتج قبل دمجه في مشروعك.

تفاصيل الأمثلة والأسئلة أدناه باللغة الإنجليزية حالياً. راجع تنسيق الملف والنتيجة قبل الاستخدام؛ لا تتغير ملفاتك الأصلية.

خطوات الاستخدام

  1. أدخل النص أو استخدم المثال الموضّح في الأداة.
  2. شغّل الأداة بعد التحقق من المدخلات.
  3. راجع المعاينة أو النص الناتج ثم نزّل ملفاً جديداً.

حالة استخدام توضيحية

A compact JSON object expanded into readable indentation.

Sample input

{"hello":"Tabaix","count":3}

طريقة فحص الناتج

Use strict JSON: double-quoted strings and property names, no trailing commas and no comments. Formatting does not check the domain-specific meaning of your object.

حدود الأداة

جهّز النص البرمجي وراجع الناتج قبل دمجه في مشروعك.

حل المشكلات

Check source syntax and distinguish literal characters from their escaped representation. Run the example first, then compare with your failing input to isolate the invalid part.

الأسئلة الشائعة

Why is my JavaScript object rejected?

JSON is a data format, not JavaScript source. Single quotes, functions and undefined values are not valid JSON.

What input does JSON formatter need?

Use the sample text shown below, then replace it with your own input. Review the result for the destination where it will be used.

Which options does JSON formatter provide?

There are no extra settings in this version. Select or paste the appropriate input and review the produced result.

المعالجة على جهازك؛ نسّق النص النهائي وراجع الناتج قبل المشاركة.

JavaScript enables the interactive workspace.

ترميز Base64

ترميز URL

ترميز HTML

تنظيف تعليقات CSS

تصغير JavaScript

تنظيف تعليقات HTML

اختبار Regex

تحويل الألوان

تحويل الوقت