Everything below is answered in full, nothing to click open.
How do I convert a colon-separated line to a JSON array?
Paste the line into the box above and press Convert. Each colon-separated value becomes one array item.
Is the colon to JSON array converter free?
Yes. No signup, no paste limit, no usage limit, it runs entirely in your browser.
Is my text uploaded anywhere?
No. The split runs on your own device. Nothing is transmitted or stored.
Will it split a timestamp like '14:30:00' apart?
Yes, every colon is treated as a boundary, so a timestamp mixed into a colon-delimited line will be broken into separate pieces along with the actual fields.
Will it split a URL apart at its colons?
Yes, both the colon after the scheme and any colon before a port number are treated as delimiters, which breaks a URL into fragments.
Can I convert an '/etc/passwd' style line with this?
Yes, that is exactly the format this tool is built for, since every colon in that line genuinely marks a field boundary.
What happens to spaces around each value?
They are trimmed automatically, so 'root : x : 0' comes back as clean, trimmed items.
What happens with two colons in a row?
The empty item between them is dropped, so an empty field in a positional record does not produce a blank array entry in its place.
Does it work on large pastes?
Yes, there is no length cap and no run limit.
Does it work on phones?
Yes, the layout stacks on narrow screens.
What is the difference between this and the semicolon to JSON array tool?
This splits on colons, common in positional records and key-value shorthand. The semicolon tool splits on semicolons, common in European CSV exports.
Can I use it to split a simple key: value line?
Yes, a line like 'name: value' converts into a two-item array with the key first and the value second.
Will an empty field in the middle of a record disappear?
The dropped empty item does mean the array will have fewer entries than the record had fields, if any field was genuinely blank between two colons.
Is there a batch mode or an API?
Not yet. Paste, convert, copy is the fastest route for now.
Why did one of my fields get cut in half?
That field likely contained its own colon, a time, a URL or a ratio, which this tool cannot distinguish from a field boundary.
Does it validate the resulting JSON?
The output is always syntactically valid JSON, built with JSON.stringify. It cannot tell you whether the split points matched your data's actual structure.
Can I use this for Windows environment variable paths?
No, Windows separates PATH entries with a semicolon, not a colon. Unix systems use a colon for that purpose instead.
Does this handle IPv6 addresses, which use colons?
No, an IPv6 address like '2001:db8::1' will be shattered at every colon, since this tool has no awareness of address formats.
Is my data safe to paste if it's confidential?
Yes, nothing is transmitted anywhere. Processing happens locally in your browser.
How do I check whether my line is safe to split on colons?
Scan it for anything that isn't a genuine field boundary: a time, a URL, a ratio or an address. If none of those appear, a colon split is safe.