How do I convert a comma-separated list to a JSON array?
Paste the list into the input field and press Convert. Each value is trimmed and returned as a formatted JSON array.
Is it free?
Yes. No signup, no length cap, no run limit, because the conversion runs on your own device rather than a server we're metering.
Is my text uploaded anywhere?
No. The split runs entirely client side. Nothing is transmitted, stored or logged.
Does this implement RFC 4180 quoting?
No. It splits on every comma regardless of quotes, so a value like 'Smith, Jane' inside quotes still becomes two items. Use a CSV-aware parser for quoted data.
What happens to whitespace around each value?
It's trimmed automatically. 'red, blue , green' returns as three clean items with no leading or trailing spaces.
What happens with two consecutive commas?
The empty item between them is dropped, and a trailing comma at the end of the list doesn't produce a blank final entry.
Can I convert a number like '1,000' without it splitting?
Not with this tool. A comma inside a number is identical, to a plain split, to a comma between values. Remove thousands separators first.
Is there a length limit on the input?
No. There's no cap and no run limit, the practical ceiling is your device's own memory.
Does it work on phones?
Yes. The layout adapts to narrow screens and behaves the same on mobile.
What's the difference between this and the custom delimiter tool?
This tool is fixed to a comma. The custom delimiter tool accepts any separator you type, which matters when your data uses something else or when commas appear inside the values themselves.
Is the output guaranteed to be valid JSON?
Yes, it's constructed with JSON.stringify rather than assembled as text. What isn't guaranteed is that the split points match your intent for quoted or comma-containing data.
Can I use this on a spreadsheet column?
If it was copied and joined with commas, yes. A direct spreadsheet copy more often arrives tab-separated, which has its own converter.
Does it deduplicate values?
No. Every comma-separated value becomes its own array entry, duplicates included.
Is there an API or batch mode?
Not currently. This is a single-paste, browser-based converter.
Is it suitable for a list of email addresses?
Yes. No valid address contains a comma, which puts it squarely in the case this converter is scoped for.
Does it also split on semicolons?
No, this tool is fixed to commas only. Semicolon-delimited exports, common outside the US, have a dedicated converter.
Why is a value missing from my result?
Empty items are dropped rather than returned blank, so a missing value usually means two commas in a row with nothing meaningful between them.
Should I strip quote characters before pasting?
If your source values were quoted for CSV purposes, remove those quote marks yourself, this tool doesn't interpret quotes, only commas.
Can I reformat the output further?
Yes, it's plain JSON text, so it can be passed through the JSON prettifier or minifier for further formatting.
Is there a maximum number of items?
No fixed maximum. A list of a few thousand items converts the same way as one of five, bounded only by browser memory.