Split text by delimiter

Split text at every occurrence of a literal delimiter.

Local processing · Nothing is uploaded · 1 MB input limit

Input & settings

Paste text or drop a UTF-8 text file
Ready. Enter your input to begin.

How to use this tool

Enter a non-empty delimiter. The result is a JSON array that preserves empty fields.

Limits and behavior

The delimiter is literal, not a regular expression. Use \n, \r, and \t to split on control characters. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.

Split text by commas or a chosen separator

Divide pasted text wherever an exact delimiter appears. This text splitter returns a JSON array of parts and preserves empty items, which can be useful for parsing simple delimited strings.

Can I split a string using a custom delimiter?

Yes. Enter a non-empty literal delimiter. It is not a CSV parser and does not automatically interpret quoted delimiters.

Built on Hatchable