How do I convert a colon-separated line to a JSON array?
Paste the line above and press Convert. Each colon-separated value becomes one array item.
Is it free?
Yes, no signup, no paste limit, no run 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 a boundary, so a timestamp mixed into a colon-delimited line gets broken up along with the real fields.
Will it split a URL apart at its colons?
Yes, both the colon after the scheme and any before a port number are treated as delimiters, breaking a URL into fragments.
Can I convert a passwd-style line with this?
Yes, that's exactly the format this app is built for, since every colon in that line genuinely marks a boundary.
What happens to spaces around each value?
They're 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 doesn't produce a blank array entry.
Does it work on large pastes?
Yes, no length cap and no run limit.
Does it work on phones?
Yes, the layout stacks on narrow screens.
What's the difference between this and the semicolon converter?
This splits on colons, common in positional records and key-value shorthand. The semicolon tool splits on semicolons, common in European CSV.
Can I split a simple key: value line?
Yes, 'name: value' converts into a two-item array with the key first and value second.
Will an empty field in the middle disappear?
Yes, the dropped empty item means the array can end up with fewer entries than the record had fields.
Is there a batch mode or an API?
Not yet, paste, convert, copy for now.
Why did one of my fields get cut in half?
It likely contained its own colon, a time, a URL or a ratio, which this app can't tell apart from a field boundary.
Does it validate the resulting JSON?
The output is always syntactically valid JSON. It can't tell you whether the split matched your data's real structure.
Can I use this for Windows PATH-style variables?
No, Windows separates PATH entries with a semicolon, not a colon. Unix uses a colon for that.
Does this handle IPv6 addresses?
No, an address like '2001:db8::1' will be shattered at every colon, since this app 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 appear, a colon split is safe.
Can I convert a Mac-style path that uses colons as separators?
Yes, older Mac OS paths used a colon between folder names, so a path written that way splits the same way any other colon-delimited line does.
Does this tool label which item in the array is which field?
No, the array is positional only, item order matches the order the fields appeared in, with no keys or labels attached to tell you what each one represents.