#4242nd of 60 in Data and scraping for AI

chonkie

Python library that chunks text and code for RAG ingestion pipelines

Stars
4.8k
License
MIT
Last commit
Aug 2026
Last release
Jul 2026
Language
Python
Stars, last 29 weeks+935
22 Apr 2026: 3,898 stars29 Apr 2026: 3,921 stars6 May 2026: 3,950 stars13 May 2026: 3,965 stars20 May 2026: 4,023 stars27 May 2026: 4,061 stars3 Jun 2026: 4,089 stars10 Jun 2026: 4,103 stars17 Jun 2026: 4,117 stars24 Jun 2026: 4,144 stars1 Jul 2026: 4,293 stars8 Jul 2026: 4,366 stars15 Jul 2026: 4,454 stars22 Jul 2026: 4,527 stars29 Jul 2026: 4,583 stars5 Aug 2026: 4,617 stars12 Aug 2026: 4,645 stars19 Aug 2026: 4,669 stars26 Aug 2026: 4,684 stars2 Sept 2026: 4,700 stars9 Sept 2026: 4,716 stars16 Sept 2026: 4,739 stars23 Sept 2026: 4,756 stars30 Sept 2026: 4,770 stars7 Oct 2026: 4,776 stars14 Oct 2026: 4,781 stars21 Oct 2026: 4,793 stars28 Oct 2026: 4,807 stars4 Nov 2026: 4,817 stars11 Nov 2026: 4,833 stars

3,898 on 22 Apr 20264,833 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Chonkie is a Python library that splits text, code and markdown tables into chunks using token, sentence, recursive, semantic, late, neural and LLM-based strategies. Chunks can be refined with overlap and embeddings, then written to JSON, HuggingFace datasets or vector stores such as Chroma, Qdrant, pgvector, Pinecone and Milvus. It also ships a REST API server (`chonkie serve`) that stores reusable pipelines in SQLite.

Who it is for: Python engineers building RAG ingestion pipelines

Strengths

  • Small base install: 505KB wheel, 49MB installed, per the project's own benchmarks
  • Many chunkers: token, sentence, recursive, semantic, late, code, neural, LLM-driven, table
  • Ten vector DB handshakes and 16 embedding providers, each as an optional extra
  • Pipeline API with async support, plus a self-hosted REST server with Docker compose

Weaknesses

  • Ingestion only; no retrieval, query or answer generation layer
  • Semantic, neural and slumber chunkers need extra installs and embedding or LLM models
  • Speed and size comparisons come from the project's own benchmarks
  • README advises against the `all` install in production, so extras are picked by hand

What it needs

  • GPU optional
  • Docker + Compose
  • Needs Python, SQLite (API server pipelines), Optional: embedding/LLM providers and vector DBs
  • Models: sentence-transformers, Model2Vec, OpenAI, Azure OpenAI, Cohere
  • port 8000

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Data and scraping for AI

See all 60
Also in Data and scraping for AI
RankProjectScore
1doclingPython library that converts PDFs, Office files and more into structured text70.5k stars+1,801 (+2.6%) in 30 daysMIT92 out of 100
2mineruParses PDFs, images and Office files into Markdown and structured JSON Live demo ↗ (opens in a new tab)83.6k stars+2,160 (+2.7%) in 30 dayscustom license91 out of 100
3opendataloader-pdfPDF parser that outputs Markdown, JSON with bounding boxes, and Tagged PDF30.3k stars+705 (+2.4%) in 30 daysApache-2.091 out of 100
#4agent-reachCLI that gives coding agents read access to login-gated and Chinese web platforms111.3k stars+14,960 (+16%) in 30 daysMIT89 out of 100
#5markitdownPython library and CLI that converts office files, PDFs and audio to Markdown195.1k stars+5,652 (+3.0%) in 30 daysMIT87 out of 100