محوّل CSV إلى JSON
حوّل بيانات CSV أو TSV إلى تنسيق JSON نظيف ومنسق فورًا.
بياناتك لا تترك جهازك أبدًا.
تتم المعالجة محليًا في متصفحك.
أداة التحويل
بيانات CSV المدخلة
يعمل محليًا بالكامل
النتيجة (JSON)
خيارات التحويل
أساسي
سيتم ترقيم المفاتيح المكررة تلقائيًا.
ملخص البيانات
استخدم Shift_JIS للملفات اليابانية القديمة.
كيفية الاستخدام
الصق نص CSV أو ارفع ملفًا.
اختر الخيارات مثل الرأس وأنواع البيانات.
انقر فوق تحويل وانسخ إخراج JSON.
أمثلة التحويل
تحويل بسيط
id,name 1,Aki
[{"id": 1, "name": "Aki"}]
Empty cells (empty → null)
name,age Alice, Bob,25
[
{ "name": "Alice", "age": null },
{ "name": "Bob", "age": 25 }
]
نصائح
- استخدم خيار 'حذف المفتاح' لتقليل حجم ملف JSON إذا كانت هناك بيانات مفقودة كثيرة.
- تأكد من اختيار الترميز الصحيح إذا ظهرت أحرف غريبة.
- When converting CSV to JSON, keep leading zeros (0012) as strings for safety.
- CSVs over 5MB may take longer to process.
المواصفات التقنية
- دعم معايير RFC 4180.
- تحويل الأرقام (الصحية والعشرية).
- تحويل القيم المنطقية (true/false).
- Empty cells: choose "" (empty), null, or omit the key entirely.
- Delimiter: auto-detect chooses the most consistent of , / / ; / |.
- Uneven columns: missing cells are filled; extra cells are treated as new columns with row warnings.
الأسئلة الشائعة
هل هناك حد لعدد الأسطر؟
لا يوجد حد صارم، ولكن المتصفح قد يصبح بطيئًا مع الملفات الضخمة (أكثر من 100,000 سطر).
هل بياناتي آمنة؟
نعم، التحويل يتم محليًا في متصفحك ولا يتم إرسال أي بيانات إلى خوادمنا.
Do empty cells become null?
Choose "" (empty), null, or omit the key entirely.
Can I convert TSV as well?
Yes. Set the delimiter to Tab or try Auto detection.
Does it handle commas/newlines inside quotes?
Yes. It supports quoted fields. If parsing fails, specify the quote or delimiter manually.
What if header names are duplicated?
Duplicates are renamed with _2, _3 suffixes and shown in warnings.