Skip to main content

Text & Lists

Split Text

Split text into parts with a selected separator.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Split options

Split with

Output options

Your result appears here

Split text into parts with a selected separator.

This tool runs open-source code from OmniTools (MIT License). See open-source credits.

Split Text divides input by a symbol, regular expression, fixed length, or requested chunk count.

abc|def|gh Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Select symbol, regex, length, or chunks mode.
  3. Set the mode-specific value and optional chunk wrappers.
  4. Choose an output separator that does not hide boundaries.

Example

Input: abcdefgh

Settings: Split Text: Use length mode with length 3 and join parts with '|'.

Result: abc|def|gh

Limits

  • Split Text: Length and chunk values must be positive.
  • Split Text: Chunk mode cannot request more chunks than the text length.
  • Split Text: The operation runs in the browser and does not need a network service.