Documents & knowledge

Chonkie

A lightweight Python library that splits documents into smaller pieces so AI tools can search and use them.

Your data
Your choice: device or online
Coding needed
Developers only
Cost
Free, with optional paid extras
Runs on
Mac, Windows, Linux, Server, Cloud
Computer
An ordinary computer is fine
Drafted with AIMostly for developers

What it does

Chonkie is a "chunking" library. Chunking means cutting long texts into smaller pieces. It is used in RAG (retrieval-augmented generation), a setup where an AI looks up relevant passages from your documents before answering.

It offers many ways to split text: by fixed size, by sentence, by meaning, by code structure, by table rows, or with help from an AI model. It can also clean text first, add embeddings (number codes that capture meaning), and send the pieces straight into vector databases (databases built for searching by meaning) such as Chroma, Qdrant, Pinecone or Milvus.

Its makers describe it as fast and lightweight, with support for 56 languages. It can be used inside Python programs or run as a self-hosted web API (a doorway that lets other programs send it text). The README also mentions an optional cloud version.

Who it's for

Developers building AI search or question-answering tools over their own documents who need a simple way to prepare text.

Can I use it without coding?

Developers only. It is a Python library used by writing code, or run as a server with command-line steps. New to this? Start here.

Can I run it?

Cost
Free, with optional paid extrasThe open-source version is free; the makers also sell a hosted or pro version.
Runs on
Mac, Windows, Linux, Server, Cloud
Computer
An ordinary computer is fine
Privacy
Your choice: run it on your device or use an online service
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • Plain-AyI is an independent guide and doesn't host or review the software it lists. Please check each project's official page before installing.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • More on staying safe