Input
Split by
Join with
Sort
Output
Items in: 0
Items out: 0
Removed empty: 0
Removed duplicates: 0

About This String Splitter

This free string splitter breaks pasted text into a list using any delimiter — comma, semicolon, pipe, space, tab, newline, or a custom string — then lets you trim whitespace, drop empty items, remove duplicates, and sort alphabetically or numerically, before joining everything back together with a delimiter of your choice. Works entirely in your browser — nothing you paste is ever sent to a server.

Common uses: turning a pasted spreadsheet column into a comma-separated list, building a SQL IN (...) clause, cleaning up messy CSV fragments, or de-duplicating a list of tags or emails.

Frequently Asked Questions

How do I split a string by a specific character?+
Paste your text into the input box, choose the character to split on from the Split by dropdown (comma, semicolon, pipe, space, tab, newline, or a custom character), and the result updates instantly in the output box.
Can I split by more than one character, like a custom string?+
Yes. Choose Custom in the Split by dropdown and type any sequence of characters, such as :: or - . The tool splits on that exact sequence rather than a single character.
How do I remove duplicate or blank items after splitting?+
Check Remove empty items to drop blank entries, and Remove duplicates to keep only the first occurrence of each value. Both apply after trimming, so items that only differ by surrounding whitespace are treated as equal.
How do I turn a column of values into a comma-separated list?+
Set Split by to New line and Join with to Comma. This is the standard way to build a SQL IN (...) clause or a CSV row from pasted spreadsheet data.
Does this tool send my data anywhere?+
No. Splitting, trimming, sorting, and joining all happen with JavaScript directly in your browser. Nothing you paste is ever sent to a server, logged, or stored.