Skip to content
ToolInstant

Regex Split Text

Local

Split text into pieces with a regular expression. Set a limit, keep delimiters or captured groups, trim and drop empty pieces, then copy or download.

Loading tool…

Ready · Runs in this browser · nothing uploaded

Developer tools · Free · No upload · No sign-up

How to use the regex split text for free

  1. 1Enter the regex and paste your text.
  2. 2Set a limit, keep delimiters, trim or remove empty pieces.
  3. 3Copy the pieces as lines or JSON, or download them.

Also useful for: regex split, split text by regex, split string regular expression, regex splitter online, split by multiple delimiters.

  • Completely free, no account needed
  • Your data never leaves your device
  • Works on desktop and mobile

Frequently asked questions

Is this regex splitter free?+

Yes. Every tool on ToolInstant is free to use with no sign-up and no limits on how often you use it.

Is my data uploaded anywhere?+

No. Everything is processed inside your browser using JavaScript. Your input never leaves your device.

Does it work on mobile?+

Yes. ToolInstant works in any modern browser on phones, tablets and desktops.

What if my regex is very slow?+

Matching runs in a background worker and is stopped after 1.5 seconds, so a pattern with catastrophic backtracking like (a+)+$ shows a message instead of freezing the page.