Input Text
JSON Array
Space Separated Text to JSON Array
When simple lists are separated by single spaces, getting them into JSON can be fiddly. This tool handles the splitting and quoting for you.
Enter your space separated text, convert it, and you will receive a JSON array ready for immediate use in JavaScript or any configuration file.
Space Converter FAQ
Will multiple spaces break the conversion?
Extra spaces are treated as separators only when they match the single space delimiter. Consecutive spaces are trimmed.
Is it private?
Yes. Everything processes in the browser so your data remains on your machine.
Can I mix spaces with other delimiters?
For mixed delimiters, use the custom delimiter version of the tool and specify the exact separator you need.
Will tabs be recognized?
Tabs are treated as characters. To split on tabs use the dedicated tab converter page.
Related Tools
Convert Lines to JSON Array
Turn line break text into a JSON data array
Comma to JSON Array
Convert comma separated text to a JSON array
Semicolon to JSON Array
Convert semicolon separated text to a JSON array
Tab to JSON Array
Convert tab separated text to a JSON array
Pipe to JSON Array
Convert pipe separated text to a JSON array
Colon to JSON Array
Convert colon separated text to a JSON array
Double-space to JSON Array
Convert double-space separated text to a JSON array
Slash to JSON Array
Convert slash separated text to a JSON array
Caret to JSON Array
Convert caret separated text to a JSON array
Tilde to JSON Array
Convert tilde separated text to a JSON array
Custom Delimiter to JSON Array
Convert custom delimiter text to a JSON array