המרת JSON ל-CSV ו-CSV חזרה ל-JSON, בשני הכיוונים. בחרו את התו המפריד, טפלו בשדות במרכאות והעתיקו את התוצאה. הכול רץ בדפדפן שלכם.
כיצד להשתמש בJSON ⇄ CSV
בחרו את הכיוון: JSON ל-CSV או CSV ל-JSON.
הדביקו את הנתונים שלכם ובחרו את התו המפריד (פסיק, נקודה-פסיק או טאב).
העתיקו את התוצאה המומרת מחלונית הפלט.
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.
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.
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.
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.
שאלות נפוצות
מערך של אובייקטים, כמו [{"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>כלים קשורים
עצבו, ייפו ואמתו JSON אונליין עם הודעות שגיאה ברורות עבור קלט לא תקין.
הקטנה ואימות של JSON בדפדפן שלכם, וצפייה בכמה בייטים אתם חוסכים.
המרת YAML ל-JSON ו-JSON חזרה ל-YAML, בשני הכיוונים. מאמת תוך כדי המרה ומציג שגיאות ברורות. הכול רץ בדפדפן שלכם.
צרו ממשקי TypeScript מדוגמת JSON, עם טיפוסים מקוננים, מערכים ושדות אופציונליים. פועל בדפדפן שלכם.