تحويل JSON إلى CSV
حوّل مصفوفة كائنات JSON إلى CSV، بما في ذلك الفواصل وعلامات الاقتباس داخل الخلايا.
حوّل ملف CSV يحتوي على صف عناوين إلى JSON، بما في ذلك الفواصل داخل علامات الاقتباس والاقتباسات المهرّبة.
تعمل هذه الأداة في متصفحك. تبقى المدخلات والملفات والقيم الناتجة على هذا الجهاز. تحفظ المفضلة والأدوات المستخدمة مؤخرًا، إن استخدمتها، أسماء الأدوات فقط في التخزين المحلي، ولا تحفظ أبدًا كلمات المرور أو المستندات أو محتوى رموز QR. راجع سياسة الخصوصية.
الدليل المفصّل لهذه الأداة (طريقة الاستخدام والأمثلة والأسئلة الشائعة) متوفر بالإنجليزية حاليًا.
Paste CSV whose first row is the column names. You get a JSON array of objects, either spaced for reading or compact for a file.
name,age then John,30 and Sara,25 becomes two objects with name and age. Age stays a string, because CSV cells are text.
The row "Doe, Jane",25 keeps Doe, Jane as one name. The comma inside the quotes is not a new column.
The parser walks the text. A quote starts a cell, and the next undoubled quote ends it. A comma outside quotes starts a new cell. A line break outside quotes starts a new row. The first row becomes the keys. Later rows become objects. A row with more cells than the header is rejected so extra values are not dropped.
There is no option to skip the header or to pick a different delimiter. A semicolon-separated file will not split on semicolons. A row that is longer than the header stops the conversion.
See the disclaimer for what these tools do not cover.
حوّل مصفوفة كائنات JSON إلى CSV، بما في ذلك الفواصل وعلامات الاقتباس داخل الخلايا.
نسّق JSON ليسهل قراءته أو صغّره أو تحقّق من صحته. التعليقات والفواصل الزائدة في النهاية وعلامات الاقتباس المفردة غير مسموحة. لا يحوّل إلى CSV.
جرّب تعبيرًا نمطيًا على نص تجريبي واعرض كل تطابق وموضعه ومجموعاته.
أنشئ ملخص SHA-256 أو SHA-384 أو SHA-512 لنص داخل متصفحك. هذه تجزئة وليست تشفيرًا.
رمّز النص إلى Base64 أو فكّ ترميزه باستخدام UTF-8. يستطيع أي شخص فك الترميز، لذا لا يخفي كلمة المرور. لا تُقبل الملفات.
أنشئ قيمة UUID v4 واحدة أو أكثر داخل متصفحك باستخدام مصدر عشوائي آمن.
The first row is used as the column names.
The CSV stays in your browser. It is not uploaded.