JSON to Lines
Flatten a flat JSON array into one plain line per item with your own field order and separator.
Flatten JSON into lines
Lines: 0 · Columns: 0
How to use the JSON to Lines
- Paste a flat JSON array of records or plain values.
- Choose the separator, and type a field order if you want one.
- Copy the flattened lines, or turn the header line off first.
Features
- One output line per JSON item
- Custom field order with a comma separated list
- Comma, tab, pipe, semicolon and space separators
- Nested objects flattened into dotted column names
Advertisement
Frequently Asked Questions
Common questions about the free online json to lines.
Paste the array, choose a separator and click Convert to lines. Every item becomes one line,
and you can copy the whole block.
Yes. Type the field names in the order you want, separated by commas. Leave the box empty to
keep the original key order.
Nested objects are flattened with dots, so a user object with a name key becomes a user.name
column in the output line.
Array values are joined with a slash so that a single line still represents the whole item
without losing data.
Yes. Any value containing the separator, a double quote or a newline is wrapped in double
quotes with inner quotes doubled.
Yes. Pick the tab separator and paste the result straight into a spreadsheet, where each line
fills its own row.
No. Parsing and flattening happen in your browser, so your data stays on your device.
A single object is treated as an array of one item, so you still get a header line and one
data line rather than an error.
Yes. The conversion runs in a single pass and handles many thousands of records, limited only
by your device memory.
Yes. It is completely free with no account, no sign-up and no limit on how much data you
flatten.
Last updated: October 10, 2026