كيفية تحويل CSV إلى JSON (مجانًا)
- اختر
- الصق
- انسخ
You want to use spreadsheet data in a program or web service. Or conversely, view JSON data as a table. Convert CSV and JSON converts between CSV and JSON. What you paste is converted inside this device and sent nowhere.
Steps (CSV → JSON)
- For "Direction", choose "CSV → JSON".
- Choose the "Delimiter (CSV)" (comma, tab or semicolon).
- Paste the CSV into "Before conversion".
- If needed, tick "Use the first row as headings (CSV → JSON)".
- Press "Convert".
- The result appears under "After conversion". Use it with "Copy result" or "Save as file".
What CSV and JSON are
- CSV: table data separated by commas and so on. Can be opened in Excel.
- JSON: a way of writing data often used in programs. Written in the form "name: value".
Conversion example
CSV:
name,age
Yamada,30
Sato,25
JSON (with the first row as headings): two records, each with the items "name" and "age", lined up.
مناسب لـ
- Passing Excel data to a web app or program
- Viewing API results (JSON) as a table
- Changing the format of a configuration file
- Checking data formats for learning
Handy features
- "Put result back in input": use the result directly as the input for the next conversion.
- "Copy result": copies the result.
- "Save as file": saves it as a file.
مثال
Wanted to use a product list made in Excel as data for a website. Pasted it as CSV and converted to JSON. With the first row as headings it converted cleanly.
Common stumbling blocks
- Garbled characters: check the encoding and environment of where you pasted from.
- Wrong delimiter: choose again to match the data.
- Cannot convert: check the JSON syntax (brackets, commas).
Frequently asked questions
Can large data be converted?
Within what the device's memory allows. Convert very large data in parts.
Is the pasted data sent?
No. It is converted inside the browser.
الخلاصة
Choose the direction, paste and press "Convert". Mind the handling of headings and the delimiter.
استخدم «تحويل CSV وJSON» (مجانًا)أدوات تتكامل مع هذه الأداة
- حذف الأسطر المكررة وترتيب القائمة: احذف الأسطر المكررة ورتّبها.
- إنشاء ملف ZIP: اجمع عدة ملفات في ملف ZIP واحد.
- عدّاد الأحرف (للطلبات والتقارير): عدّ أحرف نصك وأسطره وأوراق المخطوطة.
إذا أفادك هذا الدليل، فإن إكرامية صغيرة تعني لنا الكثير.
أرسل إكرامية (¥300)أرسل هدية (قائمة أمنيات Amazon)