MyJSON
Format converter

JSON ↔ CSV, side by side, instantly.

Drop in a JSON array, get a CSV ready for spreadsheets. Nested keys are flattened with dot notation; arrays become JSON-encoded cells; commas and newlines are properly escaped.

Runs entirely in your browser

Smart flattening

Nested objects flatten to dot-paths (user.address.city). Arrays serialize as JSON strings.

Proper escaping

Commas, quotes, and newlines inside values are correctly quoted and doubled per RFC 4180.

Round-trip safe

CSV → JSON gets you back to objects with auto-typed numbers and booleans. Header row drives the keys.

Privacy-first

Conversion happens in your browser. Open DevTools and verify — nothing uploads.

FAQ

What if my JSON isn't an array?
The converter wraps single objects in a 1-row CSV. To get multiple rows from a non-array document, use the JSONPath pane to drill into the array first.
How are nested objects handled?
They're flattened with dot notation. A doc like {"user":{"name":"x"}} becomes a column named user.name.
Arrays inside rows?
Serialized as a JSON string so the cell is round-trip-safe. If you want one row per array element, restructure your data first.

Related tools