Text & String Utilities100% Client-Side

Split Text into Lines by Delimiter

Paste a string containing a repeated separator to turn its pieces into lines. The splitter matches the delimiter you enter and trims the edges of each resulting piece. Empty pieces remain as blank positions. This is useful for unpacking a simple list of tags, names, or fields when the source uses one clear separator and does not rely on quoting to protect values.

Configuration Options
Input
19 chars•1 lines
Output

How to Use the Split Text by a Delimiter Online

  1. 1Paste the string to split and identify the characters that separate its entries.
  2. 2Enter those characters in Split Delimiter, including any spaces that are part of the separator.
  3. 3Inspect the output for trimmed values and blank positions.
  4. 4Copy the split lines, or remove blank lines separately if they are not meaningful.

Input & Output Examples

Use two colons as the delimiter. The outside spaces on each piece are trimmed.

Input Sample
 red ::blue:: green 
Expected Output
red
blue
green

With a comma delimiter, adjacent commas create an empty piece and therefore a blank line.

Input Sample
name,,quantity
Expected Output
name

quantity

Practical Developer Workflows

  • Turn a comma-separated list of labels into a one-item-per-line fixture.
  • Inspect a pipe-delimited string whose values contain spaces.
  • Split simple tab-delimited text before reviewing the individual fields in order.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Yes. A string such as two colons is matched as a complete sequence. Each split occurs where both characters appear together in that order. A single colon elsewhere remains in its original piece.

Explore Other Tools

12 suggested tools

View all tools