Token Text Splitter
ai.text_splitter_token · version 1 · AI sub-node
Split text into windows of model tokens (cl100k_base encoding).
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_textSplitter |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chunkSize | number | 1000 | Chunk Size. Largest chunk to produce, measured in the splitter’s unit. | ||
chunkOverlap | number | 0 | Chunk 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 type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.textSplitterTokenSplitter | 1 | unverified |