How do I convert a slash-separated path to a JSON array?
Paste it into the input field and press Convert. Each segment between forward slashes 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.
Does it split on forward slashes or backslashes?
Forward slashes only, '/'. A path using backslashes, such as a Windows path, will not split with this converter.
How do I convert a Windows path with backslashes?
Use the custom delimiter tool and enter a single backslash as the delimiter.
What happens when I paste a full URL?
The split occurs at every forward slash, and the empty item between the two slashes after the scheme is dropped automatically, so 'https://example.com/a' becomes 'https:', 'example.com', 'a'.
Does it know whether a date is day/month/year or month/day/year?
No, it only separates the three numbers. Which represents the day versus the month depends on locale, information this converter has no way to determine.
What happens to whitespace around each value?
It's trimmed automatically, removing any stray spacing around a segment.
What happens with two consecutive slashes?
The empty item between them is dropped, which is what allows a URL's double slash after the scheme to convert cleanly.
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 custom delimiter tool?
This converter is fixed to a forward slash. The custom delimiter tool accepts any separator, including a backslash for Windows paths.
Can I convert a breadcrumb-style category string?
Yes, 'Electronics/Computers/Laptops' converts cleanly into an array of the three category levels.
Is there an API or batch mode?
Not currently. This is a single-paste, browser-based converter.
Will it split a fraction such as 3/4?
Yes, it splits at that slash too, having no way to distinguish a fraction from a delimiter. Treat standalone fractions with that caveat in mind.
Is the output guaranteed to be valid JSON?
Yes, it's built with JSON.stringify. It cannot confirm the split points matched your intent, only that the result parses.
Can I use this to break apart an API route path?
Yes, '/users/123/orders' converts into its path segments, with the leading empty item before the first slash dropped automatically.
Does it strip the protocol from a URL?
No, it retains 'https:' or 'http:' as its own item, colon included, since the colon is not part of the delimiter.
Is confidential data safe to paste here?
Yes, nothing is transmitted anywhere. Processing happens locally in your browser.
Why did my date come out as three unlabeled numbers?
That's expected behaviour. This converter only separates the values, it does not determine or label which number is the day, month or year.
Does %2F inside a segment get treated as a real slash?
No. '%2F' is a percent-encoded representation, three separate characters, not the actual forward-slash byte, so this converter leaves it inside its segment untouched.
What happens with a trailing slash at the end of a path?
It produces one empty trailing item, which is dropped automatically, so '/users/123/' converts the same as '/users/123'.