Split Text by Delimiter

Split text on a comma, tab, or any delimiter into one item per line. Split by whitespace or into characters, trim each item, and drop blanks. Runs entirely in your browser, no server, no sign-up.

Result (one item per line)

What this tool does

Split a block of text on a delimiter and get back one item per line — ready to paste into a list, a spreadsheet column, or another tool. Everything runs locally in your browser: nothing is sent to a server, it works offline, and there is no sign-up. Type your text, choose how to split it, and the result updates as you go.

How to split

ModeWhat it doesDelimiter used?
literal (default)Splits on every occurrence of the Delimiter you typeYes
whitespaceSplits on runs of spaces, tabs, and newlines; ignores leading/trailing whitespaceNo
charsPuts each character on its own lineNo

The delimiter

In literal mode, the Delimiter is the exact substring to split on — a comma ,, a semicolon ;, a pipe |, -, or any multi-character string. A few common escapes are recognised so you can type them on one line:

Type thisSplits on
\na newline
\ta tab
\ra carriage return
\\a literal backslash

Anything else after a backslash is kept as-is (so \d splits on a literal \d).

Tidy up the items

Examples

InputSettingsOutput
apple, banana, cherryliteral , · trimapple / banana / cherry
id\tname\temailliteral \tid / name / email
the quick brown foxwhitespacethe / quick / brown / fox
héllocharsh / é / l / l / o
a,,b,literal , · remove emptya / b

FAQ

Is it free and private?

Yes — your text never leaves your device, and the tool keeps working offline once the page has loaded.

How do I split a comma-separated list into lines?

Leave the delimiter as , and turn on Trim each item to drop the spaces after each comma.

How do I split on tabs (from a spreadsheet)?

Type \t as the delimiter in literal mode, or just use whitespace mode if any whitespace should split.

How do I count or list every character?

Use chars mode — each Unicode character (including emoji and accented letters) goes on its own line.

My list has blank lines — how do I remove them?

Turn on Remove empty items; add Trim each item as well if some "blank" lines actually contain spaces.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool split-text "apple, banana, cherry"

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/split-text/?text=apple%2C%20banana%2C%20cherry&delimiter=%2C&mode=literal&trim=true&remove_empty=true

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.