$npx skillfedfor your agent

langchain-text-splitters

LangChain text splitting utilities

Worth itPyPI Python ModulesReleased Apr 202648.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_text_splitters-1.1.2-py3-none-any.whl
v1.1.2 · released 2026-04-16 · Python <4.0.0,>=3.10.0 · 1 runtime deps: langchain-core

Yes. The package is production-stable, actively maintained, has zero known vulnerabilities, and installs with minimal friction. It is a standard component of LangChain-based LLM workflows and is worth installing if you are building applications that need to split documents for language model processing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; langchain-core must be installed as a runtime dependency.
  • Low friction install with a single runtime dependency on langchain-core.
  • The package is actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.

last release 2026-04-16 (120 days) · last repo commit 2026-08-14 · 144,195 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 48,406,861 downloads/mo, #590 on PyPI

Verify before relying

pip install langchain-text-splitters

from langchain_text_splitters import CharacterTextSplitter

splitter = CharacterTextSplitter()
chunks = splitter.split_text(your_text)
  • Whether the package supports splitting formats beyond plain text (e.g., markdown, code, structured documents).
  • Performance characteristics and memory usage when processing very large documents.
  • Availability and behavior of specific splitting strategies beyond character-based splitting.
  • Configurable parameters for chunk size and overlap behavior.
Same gist for agents: .md · .json

What it is and what it does

LangChain Text Splitters provides utilities for breaking text documents into smaller, manageable chunks—a critical preprocessing step when preparing documents for language model consumption. The package is part of the LangChain ecosystem and integrates with langchain-core to offer a variety of splitting strategies. It handles the common problem of fitting long documents into token limits and context windows of language models by chunking text according to configurable parameters.

The package is production-stable, actively maintained, and widely used in the LangChain community. It supports modern Python versions from 3.10 through 3.14 and has no known security vulnerabilities. Installation is straightforward with minimal dependencies, making it a lightweight addition to any LLM-focused Python project.

Use it for

  • Prepare long documents for ingestion into language models by splitting them into chunks.
  • Create text segments to preserve context when feeding documents to retrieval-augmented generation pipelines.
  • Preprocess diverse document types before embedding them for semantic search or similarity matching.
  • Break up large text corpora into uniform chunks for batch processing in NLP workflows.
  • Segment documents for question-answering systems that require manageable input sizes.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is production-stable, actively maintained, has zero known vulnerabilities, and installs with minimal friction. It is a standard component of LangChain-based LLM workflows and is worth installing if you are building applications that need to split documents for language model processing.

Install

langchain-text-splitters on PyPI

Before you install

Low friction install with a single runtime dependency on langchain-core. The package is actively maintained with a recent release and no known vulnerabilities.

Requires Python 3.10 or later; langchain-core must be installed as a runtime dependency.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.

Quickstart

pip install langchain-text-splitters

from langchain_text_splitters import CharacterTextSplitter

splitter = CharacterTextSplitter()
chunks = splitter.split_text(your_text)

Verify before relying

  • Whether the package supports splitting formats beyond plain text (e.g., markdown, code, structured documents).
  • Performance characteristics and memory usage when processing very large documents.
  • Availability and behavior of specific splitting strategies beyond character-based splitting.
  • Configurable parameters for chunk size and overlap behavior.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0.0,>=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
langchain-core
MaintenanceActively maintained 120 days since the last release
Last repo commit
First released
Downloads48,406,861 / month, #590 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing

Evidence: langchain_text_splitters-1.1.2-py3-none-any.whl

Tags

Capabilities
text chunking for language modelsdocument splitting utilitiestext segmentation librarychunk text by sizeprepare documents for llmtext preprocessing for nlpsplit long documents
Topics
text-chunkinglangchain-ecosystemllm-preprocessing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “text chunking for language models”

  • langchain-text-splittersSplits text documents into chunks using a variety of strategies,…
  • memchunkSplits text into semantic chunks at delimiters (periods, newlines,…
  • semchunksemchunk splits text into semantically meaningful chunks while…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also langchain-deepseek · langchain-perplexity · langchain-ollama · langchain-unstructured · chonkie-core · memchunk · semantic-text-splitter · langchain-qdrant · langchain · langchain-openai