About This Tool
What is محوّل صيغ البيانات?
A tool for converting and validating between JSON, YAML, TOML, XML, INI, and Properties data formats. Useful for configuration file migration, data format verification, and cross-format compatibility checks.
How to Use
- Select the input format and the desired output format.
- Paste your data into the input area.
- Use 'Format' to prettify or 'Minify' to remove whitespace.
- Change the output format to convert to a different format.
Key Features
- Supports 6 formats: JSON, YAML, TOML, XML, INI, Properties
- Automatic validation during format conversion
- Format (prettify) and Minify functions
- Format compatibility matrix provided
Tips
- JSON is the most universal data format supported by virtually all programming languages.
- YAML is human-readable due to indentation but prone to errors in complex structures.
- Converting from INI/Properties to JSON flattens nested structures using dot notation.
محوّل صيغ البيانات
التحويل والتحقق بين صيغ JSON و YAML و TOML و XML و INI و Properties
مصفوفة توافق الصيغ
| From \ To | JSON | YAML | TOML | XML | INI | Properties | CSV |
|---|---|---|---|---|---|---|---|
| JSON | fmt | O | O | O | ~ | ~ | ~ |
| YAML | O | fmt | O | O | ~ | ~ | ~ |
| TOML | O | O | fmt | O | ~ | ~ | ~ |
| XML | O | O | O | fmt | X | X | X |
| INI | ~ | ~ | ~ | X | fmt | O | X |
| Properties | ~ | ~ | ~ | X | O | fmt | X |
| CSV | O | O | X | X | X | X | fmt |
Frequently Asked Questions
أي صيغة لملفات الإعدادات؟▼
YAML للإعدادات المقروءة (Docker Compose, Kubernetes). TOML للبسيطة. JSON للآلية وAPI.
YAML→JSON نتائج غير متوقعة؟▼
YAML يحوّل الأنواع تلقائياً — 'yes'/'no' تصبح boolean. استخدم علامات الاقتباس للنصوص الملتبسة.
XML بخصائص إلى JSON بدون فقدان؟▼
خصائص XML ليس لها مكافئ في JSON. تضاف بادئة '@'. XML المعقد قد لا يتحول بدقة.
Related Tools
مشفر/فاك تشفير
تشفير وفك تشفير النص بصيغ Base64 وBase64URL وBase32 وHex وASCII85
مشفر / فك مشفر URL
ترميز سلاسل URL أو فك ترميزها
مولّد التجزئة
توليد تجزئات MD5 و SHA-1 و SHA-256 و SHA-512 من النص
مشفر / فك مشفر JWT
ترميز أو فك ترميز رموز JWT
اختبار Regex
اختبار التعبيرات النمطية مع مطابقة في الوقت الفعلي
محوّل حالة الأحرف
تحويل النص بين camelCase و PascalCase و snake_case وغيرها — كل ذلك دفعة واحدة