Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Character Text Splitter

ai.text_splitter_character · version 1 · AI sub-node

Split text on a fixed separator and pack the pieces into chunks.

Ports

PortKindLabelRequiredMax connections
output 0ai_textSplitter

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
separatorstring"\n\n"Text to split on; leave empty to split between every character.
chunkSizenumber1000Chunk Size. Largest chunk to produce, measured in the splitter’s unit.
chunkOverlapnumber0Chunk Overlap. How much of the end of one chunk is repeated at the start of the next.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter1unverified