Zero Signup ToolsFree browser tools

Text Tools

Text Splitter

Split any string by a delimiter, regular expression, character count, or into N equal parts. Copy each part, copy them all, or download as a text file.

0 chars

Split mode

Delimiter
Post-processing

Parts

0

Input chars

0

Avg part length

0

Longest / shortest

0 / 0

Parts

Join parts with
Paste text and pick a split mode to see the parts here.

How to use

  1. Paste any text into the input area at the top.
  2. Pick a Split mode: By delimiter for a literal string, By regex for a pattern, By length for fixed-size chunks, or Into N equal parts.
  3. Set the mode-specific control: pick or type the delimiter, type the regex pattern and flags, set the characters per chunk, or set the number of parts.
  4. Toggle Trim each part, Drop empty parts, and Lowercase each part to clean the output.
  5. Read the parts in the output panel and use the per-part Copy buttons, Copy all parts (with your chosen join separator), or Download .txt to save everything.

About this tool

Text Splitter cuts a single piece of text into many parts using one of four modes that cover almost every search for how to split a string. By delimiter cuts on a literal string like a comma, semicolon, tab, pipe, newline, or any custom sequence you type. By regex cuts on a JavaScript-compatible regular expression with flags, so patterns like \s*,\s* (comma with optional surrounding whitespace), \n+ (one or more line breaks), or [;\|] (a semicolon or a pipe) produce clean parts; invalid patterns surface a clear error rather than silently failing. By length cuts every N characters, walking the input with Intl.Segmenter where it is available so emoji, flags, and combined characters never get sliced through the middle. Into N equal parts splits the text into the number of slices you specify; each slice contains the same number of characters within plus or minus one, with the final slices absorbing the remainder. Three post-processing toggles trim each part, drop empty parts (useful when delimiters appear back to back), and lowercase each part. The output panel shows every part on its own row with an index, a per-part character count, a per-part Copy button, plus a global Copy all parts button that joins parts with a separator you choose (newline, comma, comma + space, semicolon, pipe, space, or any custom string). A Download .txt button saves the joined output as a plain text file. A stats row above the parts shows the total number of parts, the input length, the average part length, and the longest and shortest part. Useful for: turning a comma-separated paste into one item per line for spreadsheets and forms, breaking a long article into 280-character chunks for X posts, splitting a CSV row into individual cells, cutting a long string into evenly sized pieces for storage limits, separating a paragraph into sentences with a regex like (?<=[.!?])\s+, normalizing tab-delimited dumps, and turning a single-line log into separate events. Everything runs locally in your browser. The pasted text is never uploaded.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsText Tools