How do I convert a colon-separated line to a JSON array?
Paste the line into the input field and press Convert. Each colon-separated value becomes one array item.
Is it free?
Yes. No signup, no length cap, no run limit, since the conversion runs on your own device.
Is my text uploaded anywhere?
No, the split runs entirely client side. Nothing is transmitted, stored or logged.
Will it split a timestamp like '14:30:00' apart?
Yes, every colon is a boundary, so a timestamp appearing in a colon-delimited line is broken up along with the genuine fields.
Will it split a URL apart at its colons?
Yes, the colon after the scheme and any colon before a port number are both treated as delimiters, fragmenting the URL.
Can I convert a passwd-style line with this?
Yes, that is precisely the format this converter targets, since every colon in that line genuinely marks a field boundary.
What happens to whitespace around each value?
It's trimmed automatically, so 'root : x : 0' returns as clean, trimmed items.
What happens with two consecutive colons?
The empty item between them is dropped, so an empty field doesn't produce a blank entry in the resulting array.
Is there a length limit on the input?
No. There's no cap and no run limit, only your device's own memory.
Does it work on phones?
Yes, the layout adapts to 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 converter splits on semicolons, common in European CSV.
Can I split a simple key: value line?
Yes, 'name: value' converts into a two-item array, key first and value second.
Will an empty field in the middle of a record disappear?
Yes, the dropped empty item means the resulting array can have fewer entries than the record had fields.
Is there an API or batch mode?
Not currently. This is a single-line, browser-based converter.
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 converter 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 confirm the split matched your data's actual structure.
Does this apply to Windows PATH-style variables?
No, Windows separates PATH entries with a semicolon, not a colon. Unix systems use a colon for that purpose.
Does this handle IPv6 addresses?
No, an address such as '2001:db8::1' is shattered at every colon, since this converter has no awareness of address formats.
Is confidential data safe to paste here?
Yes, nothing is transmitted anywhere. Processing happens locally in your browser.
How can I check whether a 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. Absent those, a colon split is safe.
Does it respect quotes around a value the way a JSON parser would?
No. It has no concept of quoting or JSON syntax, so a colon inside a quoted string is split the same as a structural one. This is a plain character splitter, not a JSON parser.
Can I paste an already-formed JSON object into this?
You can, but the result won't be meaningful. Every colon in the object, including ones inside key-value pairs already valid on their own, gets treated as a delimiter and split apart.