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

Token Text Splitter

ai.text_splitter_token · version 1 · AI sub-node

Split text into windows of model tokens (cl100k_base encoding).

Ports

PortKindLabelRequiredMax connections
output 0ai_textSplitter

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
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.textSplitterTokenSplitter1unverified