← All tools
// TEXT

Word Splitter online

Split text by any delimiter and put each token on its own line.

Word Splitter logo
by
CHUNKY
MUNSTER
Split by:
INPUT0 CHARS
TOKENS (one per line)0

About Word Splitter

Split any delimited text into individual tokens, each on its own line. Useful for converting CSV values to a list, splitting log entries, or preparing data for other tools. Runs entirely in your browser.

How to Use the Word Splitter

  1. Paste or enter your input into the text field.
  2. Configure any options (format, delimiter, encoding, or mode) using the controls above the output.
  3. The result updates instantly — no submit button required for most operations.
  4. Click Copy or Download to take the output to your next step.

Take a delimited string and put each piece on its own line. Choose a built-in delimiter (space, comma, newline) or supply any custom string — multi-character delimiters work, so you can split on “, ” (comma + space) or even on a tag like </p>. The split runs in a single JavaScript call.

How the Word Splitter Works

Two clean-up toggles are available: Trim removes whitespace around every token, and Remove empty drops any zero-length tokens that came from consecutive delimiters. The result is one clean token per line, ready to paste into a code list, a SQL IN-clause, a Markdown bullet list, or any other line-oriented format.

Frequently Asked Questions

Can I split on more than one character?

Yes — the custom delimiter accepts any string. Use “, ” (comma + space) to split a list and drop the trailing space in one pass, or “<br>” to split HTML.

What’s the difference between Trim and Remove empty?

Trim strips spaces, tabs, and newlines from each side of every token but keeps the token (even if it ends up empty). Remove empty drops any token that is the empty string after splitting/trimming. Combine both for the cleanest list.

How do consecutive spaces affect splitting?

With the built-in Spaces option the tool splits on any run of whitespace, so “a b” gives just [“a”, “b”]. With a custom single-space delimiter you’d get empty tokens between the spaces — enable Remove empty to clean them up.

Is the input sent anywhere?

No — splitting is a local JavaScript String.prototype.split call. Nothing leaves the page.

Explore the full suite of TEXT tools and 290+ other free utilities at Chunky Munster.