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/he/json-csv-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

כלים קשורים