Your numbers come out exactly as they went in
This is the part most converters get wrong, and it is invisible when it happens. A converter that parses your JSON into JavaScript values turns 12345678901234567890 into 12345678901234567000, 1.50 into 1.5, and -0 into 0 — silently, in an export you will hand to someone else.
Codoryn does not build a number from your number. It reads your JSON with the same strict parser the JSON Formatter uses, which keeps every scalar's original text, and writes that text straight into the cell. Precision is not defended here; it is structural, because there is no place where a value could be rounded.
One honest caveat: a spreadsheet may still round the value when it imports the file. That is the spreadsheet's behaviour, not a conversion loss, and no converter can prevent it.
How to use it
- Paste JSON — an array of objects, a single object, an array of primitives, or an array of arrays.
- Choose a delimiter. Comma is the default; many European Excel locales need Semicolon.
- Press Convert or Ctrl/Cmd + Enter, then Copy or Download
data.csv.
Every shape the tool accepts is stated rather than guessed, and each one reports how it was read. A top-level number or string is refused: a scalar is not a table. An array mixing objects and plain values is refused too — the plain value would need a synthetic column that could collide with a real key, and there is no honest mapping.
What happens to nested data
By default nested values are flattened by path. {"address": {"city": "London"}} becomes a column named address.city, and {"tags": ["a", "b"]} becomes tags.0 and tags.1. An empty object or array keeps one column at its own path, so the key's existence survives the export instead of vanishing.
What never happens is the failure this tool exists to avoid: no value is ever stringified into JSON text inside a cell. If you would rather stop than flatten, set Nested data to Reject and any nested value becomes an error naming its row and path.
Flattening can collide — {"a.b": 1} beside {"a": {"b": 2}} both want the column a.b. That is an error naming both source paths, never a silent rename, because a silently renamed column is a silently wrong export.
Columns, nulls and what CSV cannot represent
Columns are the union of every key across every row, in the order they were first seen: rows in array order, keys in document order. A key that appears only in row 900 becomes the last column. That preserves your intent and makes the output diffable against the input. Alphabetical is available if you prefer it.
CSV has no null. An explicit null and a key that is simply absent are different facts, and by default both appear as an empty cell. When a document contains both, the tool says so and tells you how to keep them apart — set Null as to null. Losing the distinction is unavoidable; losing it silently is not.
Formula injection, and why nothing is changed by default
A cell beginning =, +, -, @, a tab or a line break can be read as a formula when the file is opened in Excel or LibreOffice Calc. A crafted value can pull data out of the spreadsheet it lands in.
Codoryn writes your value exactly as it appeared, and warns you either way. Silently prefixing every such cell would corrupt every legitimate value starting with - or + — every negative number, most phone numbers, plenty of dates. A converter that quietly edits your data is worse than one that tells you what is in it.
Spreadsheet-safe prefixes the affected cells with an apostrophe. Its label says it modifies data because it does. And it is a mitigation, not a guarantee: OWASP's own guidance is that there is no CSV sanitisation that is safe for every spreadsheet application, and a quote-prefixed value can become active again after a save-and-reopen cycle in some of them. This tool will not tell you a file is safe.
Quoting, line endings and the BOM
Fields are quoted only when they need to be — containing the delimiter, a quote, or a line break — because quoting everything is legal but doubles the size and makes diffs noisy. A quote inside a field is doubled. Leading and trailing spaces are preserved and force quoting, so they survive a naive parser.
Records end with CRLF by default, which is what RFC 4180 specifies; LF is available because most Unix tooling prefers it.
The UTF-8 BOM is off by default. Excel on Windows misreads UTF-8 CSV without one; many Unix parsers break with one. Neither is "correct" — pick the one that matches where the file is going.
Frequently asked questions
Is my JSON uploaded?
No. Conversion runs in a Web Worker in your browser, and this tool does not send your input over the network.
Why was my conversion refused for being too large?
Because CSV can be far larger than the JSON it came from. Rows that each carry a different key produce a cell for every column in every row: 100,000 sparse rows over 512 keys is about 1.5 MB of JSON and roughly 48 MB of CSV. The tool measures as it writes and stops rather than building that string — and it stops rather than truncating, because a truncated file that claims to be complete is worse than a refusal.
Why is my column order not alphabetical?
Because first-seen order matches your source, which makes the output diffable against the input. Switch Column order if you would rather have alphabetical.
Can I convert CSV back to JSON?
Not in this version. That is a separate tool with its own parsing questions — quoting dialects, type inference, header detection — and guessing at them here would produce a worse version of both.