Monu Tools

محول JSON إلى CSV

حوّل JSON إلى CSV وأعد CSV إلى JSON في كلا الاتجاهين. اختر الفاصل، وتعامل مع الحقول المقتبسة، وانسخ النتيجة. كل شيء يعمل داخل متصفحك.

كيفية استخدام JSON ⇄ CSV

  1. 01

    اختر الاتجاه: JSON إلى CSV أو CSV إلى JSON.

  2. 02

    الصق بياناتك واختر الفاصل (فاصلة أو فاصلة منقوطة أو علامة جدولة).

  3. 03

    انسخ النتيجة المحوّلة من لوحة المخرجات.

What it does

This converter turns a JSON array of objects into CSV and parses CSV back into JSON, in both directions. Pick the direction, paste your data, choose the delimiter, and copy the result.

It is handy for moving data between spreadsheets, APIs and config files, and the whole conversion is client-side, so your data stays private.

The JSON shape it expects

It expects JSON as an array of objects, like [{"name":"Mo","age":3}]. The CSV columns are the union of all the keys across the objects, a single object becomes one row, and any nested value is written as JSON text inside its cell.

Quoting and delimiters

It follows the standard CSV quoting rules, so a value that contains the delimiter, a quote or a line break is wrapped in quotes and escaped correctly, and the CSV parser reads those values back without losing data.

You can choose comma, semicolon or tab as the delimiter. Comma is the default and most common; semicolon suits regions where the comma is the decimal separator and spreadsheets expect it; tab produces TSV.

Type inference on the way back

When reading CSV back into JSON, it infers types sensibly: plain numbers and true/false become real JSON values, while a value with a leading zero such as 007 stays as text so identifiers and codes are not mangled.

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

ما بنية JSON المتوقعة؟

مصفوفة من الكائنات، مثل [{"name":"Mo","age":3}]. الأعمدة هي اتحاد جميع المفاتيح. يصبح الكائن الواحد صفاً واحداً، وتُكتب القيم المتداخلة على هيئة JSON داخل الخلية.

هل يتعامل مع الفواصل وعلامات الاقتباس داخل القيم؟

نعم. الحقول التي تحتوي على الفاصل أو علامات الاقتباس أو فواصل الأسطر تُقتبس وتُهرّب وفق معيار CSV، ويقرؤها محلل CSV بشكل صحيح من جديد.

هل تُحوّل الأرقام والقيم المنطقية؟

عند قراءة CSV، تتحول الأرقام البسيطة وقيم true/false إلى قيم JSON حقيقية، بينما تبقى القيم التي تبدأ بصفر (مثل 007) نصاً حتى لا تتشوه المعرّفات.

هل تُرفع بياناتي؟

لا. يجري التحويل بالكامل داخل متصفحك، ولا يغادر أي شيء تلصقه جهازك.

المصادر

ضمّن هذه الأداة

أضف هذه الأداة إلى موقعك الخاص. انسخ المقتطف أدناه، ويبقى محدّثاً تلقائياً.

<iframe src="https://monu.tools/embed/ar/json-csv-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

أدوات ذات صلة