Text Delimiter Splitter

Split text on an exact literal delimiter and export all fields, including empty fields, as a JSON string array.

Literal nonempty delimiter, not a regular expression or CSV parser. Empty fields remain; empty source yields one empty field.

Input stays in this browser. Source limit: 100,000 UTF-16 code units. Output limit: two million characters.

Text Delimiter Splitter: an explicit text transformation

Enter text and a Literal delimiter, then choose Process text. The example uses a comma and creates five JSON strings, including the adjacent-delimiter empty field and the final empty field.

Inspect the example result

Choose Load example (replaces input and settings) and then Process text. Expected result: ["red","green","","blue",""]. The example replaces existing input and options; keep your original separately if needed.

Exact rules and boundaries

Matches are case-sensitive and non-overlapping, following literal string splitting. Quotes have no special meaning: a comma inside quoted text is still a separator. Backslash escapes such as \n are literal characters unless you paste an actual newline into the delimiter box. The delimiter must contain 1–100 UTF-16 code units.

An empty source becomes [""], while a source with no delimiter becomes a single string. This is useful for exact separator-based lists, not CSV parsing. JSON escaping preserves quotes, tabs and line breaks inside each field. A report may contain at most 10,000 fields.

Limits and export

Delimiters are limited to 100 UTF-16 code units, and results to 10,000 array fields or items. Source input supports 100,000 UTF-16 code units. Unpaired UTF-16 surrogates are rejected to avoid replacement during UTF-8 export. Browser textareas can normalize line endings before processing.

Changing source or any option clears the old result and download. Copy and download contain the complete JSON array. An empty source still exports a one-item array containing an empty string, rather than an empty file. Processing does not modify a local source file or send entered text to a conversion service.

Use Text Delimiter Joiner to combine a JSON string array with a chosen separator. Keep the original delimiter if you want to reconstruct source text, subject to browser line-ending normalization.