tokenizers
today's most used tokenizers, with a focus on performances and versatility
svgtypes
SVG types parser
xmlparser
Pull-based, zero-allocation XML parser
charabia
detect the language, tokenize the text and normalize the tokens
sqlite3-parser
SQL parser (as understood by SQLite)
htmlparser
Pull-based, zero-allocation HTML parser
tiktoken
A high-performance pure-Rust implementation of OpenAI's tiktoken BPE tokenizer
html5gum
A WHATWG-compliant HTML5 tokenizer and tag soup parser
azul-simplecss
A very simple CSS 2.1 tokenizer with CSS nesting support
splintr
Fast Rust tokenizer (BPE + SentencePiece + WordPiece) with Python bindings
scnr2
Scanner/Lexer with regex patterns and multiple modes
vaporetto
pointwise prediction based tokenizer
kitoken
Fast tokenizer for language models, supporting BPE, Unigram and WordPiece tokenization
lindera-tantivy
Lindera Tokenizer for Tantivy
tok3niz3r-cli
Command-line tool to train, run, and inspect byte-level BPE tokenizers. Installs the
tok3binary.
fastokens
Fast Tokenizer
vibrato-rkyv
Vibrato: viterbi-based accelerated tokenizer with rkyv support for fast dictionary loading
dynamo-tokenizers
Standalone tokenizer implementations (HuggingFace, tiktoken, FastTokenizers) for LLM inference serving
lexsim
Dictionary-free, multilingual lexical similarity engine with hybrid word segmentation (tokenize + Jaccard + BM25 + TextRank + content hash)
alyze
High-performance text analysis for full-text search
tokie
Blazingly fast tokenizer - 50x faster tokenization, 10x smaller model files, 100% accurate drop-in replacement for HuggingFace
octofhir-fhirpath-parser
Parser and tokenizer for FHIRPath expressions
bareun_rs
an unofficial Rust library for Bareun, a Korean morphological analyzer
language-tokenizer
Text tokenizer for linguistic purposes, such as text matching. Supports more than 40 languages, including English, French, Russian, Japanese, Thai etc.
chaptr
Filename tokenizer for manga, manhwa, manhua, and light novels
utokenizer
CLI tool for building a local model-tokenizer registry and counting input tokens across model families
tok3niz3r-trainer
Trainer for byte-level BPE tokenizers: learns a vocabulary and merge table from a text corpus. The training half of tok3niz3r.
tantivy-stemmers
A collection of Tantivy stemmer tokenizers
xmltok
Pull-based, zero-allocation XML tokenizer with compact, lifetime-free tokens. A fork of xmlparser.
bpe
Fast byte-pair encoding implementation
normy
Ultra-fast, zero-copy text normalization for Rust NLP pipelines & tokenizers
scnr2_generate
Scanner/Lexer with regex patterns and multiple modes
trustformers-tokenizers
Tokenizers for TrustformeRS
vibrato
viterbi-based accelerated tokenizer
tokmat
Standalone high-performance Canadian address parsing engine core
tokstream-cli
CLI token stream simulator using Hugging Face tokenizers
libsimple
Rust bindings to simple, a SQLite3 fts5 tokenizer which supports Chinese and PinYin
oxibonsai-tokenizer
Pure Rust BPE tokenizer for OxiBonsai (MeCrab-compatible)
bbpe
Binary byte pair encoding (BPE) trainer and CLI compatible with Hugging Face tokenizers
segtok
Sentence segmentation and word tokenization tools
token-calibrator
Calibrated, self-learning token estimator for live context-size display
unitoken
Fast BPE tokenizer/trainer with a Rust core and Python bindings
unobtanium-segmenter
A text segmentation toolbox for search applications inspired by charabia and tantivy
tekken-rs
Mistral Tekken tokenizer with audio support
neurorvq-rs
NeuroRVQ biosignal tokenizer — inference in Rust (Burn and/or RLX)
libsql-sqlite3-parser
SQL parser (as understood by SQLite) (libsql fork)
miktik
A unified, multi-backend tokenizer library for LLMs
mecab-ko
한국어 형태소 분석기 - MeCab-Ko의 순수 Rust 구현
wordchipper
HPC Rust LLM Tokenizer Library
bpe-openai
Prebuilt fast byte-pair encoders for OpenAI
tok3niz3r-runtime
Encoder and decoder for byte-level BPE tokenizers, with rkyv (zero-copy) and HuggingFace tokenizer.json loading. The runtime half of tok3niz3r.
rust_tokenizers
High performance tokenizers for Rust
tok3niz3r-core
Core types and on-disk schema for the tok3niz3r byte-level BPE tokenizer: token ids, vocabulary, merge table, and the GPT-2 byte-level mapping
spider-markup5ever
Common code for xml5ever and html5ever (Send-able fork via spider-tendril)
svgrtypes
SVG types parser
nlpo3
Thai natural language processing library, with Python and Node bindings
tokid
Token-native IDs for LLM-facing systems
html5tokenizer
An HTML5 tokenizer with code span support
tokelang-core
Compression engine for Tokelang Lite: English-prompt compression middleware over standard tokenizers, with a content-recall validator and safe passthrough fallback
wordchipper-cli
A command-line interface for the Wordchipper tokenizer library
english-pos-tagger
part-of-speech tagging and lemmatization of English text
limbo_sqlite3_parser
SQL parser (as understood by SQLite)
ailed-soulsteal
Fast game data extractor — drains PGN into tokenized training data for ML models. 60K+ games/sec.
fastokens-b10
Fast Tokenizer
lnhash
Tokenización determinista — texto a Togens con detección de dominio (lenguaje natural/código/datos) e idioma
tokenx-rs
Fast token count estimation for LLMs at 96% accuracy without a full tokenizer
smoltok-core
Byte-Pair Encoding tokenizer implementation in Rust
pos-tagger
Brill-style English part-of-speech tagger (lexicon lookup + 8 contextual rewrite rules)
english-tokenizer
Regex-driven tokenizer that splits a sentence and type-tags each token (word, number, emoji, url, email, hashtag, mention, time, currency, and more)
rust-forth-tokenizer
A Forth tokenizer written in Rust
latex-math
Command-line interface (CLI) tool and library for parsing and representing mathematical expressions
bleuscore
A fast bleu score calculator
mecrab
A high-performance, thread-safe morphological analyzer compatible with MeCab, written in pure Rust
punkt
sentence tokenizer
pretokie
Fast, zero-allocation pretokenizers for BPE tokenizers
panko
A small, zero-copy text tokenizer that crumbles strings into Words, Symbols, and Newlines
tokstream-core
Core tokenizer streaming engine for tokstream
fuzzy-pickles
A low-level parser of Rust source code with high-level visitor implementations
fibpetokenizer
A blazing fast Byte Pair Encoding (BPE) tokenizer library with Python bindings
lindera-tokenizer
A morphological analysis library
indent_tokenizer
Generate tokens based on indentation
turso_sqlite3_parser
SQL parser (as understood by SQLite)
wordchipper-training
BPE LLM Tokenizer Training for wordchipper
bundle_repo
Pack a local or remote Git Repository to XML for LLM Consumption
fast-bpe-rs
Fast Byte Pair Encoding (BPE) tokenizer with Python bindings powered by PyO3
vaporetto_rules
Rule-base filters for Vaporetto
lang_pt
A parser tool to generate recursive descent top down parser
string-view
Work with views into string slices. Safely extend, reduce without losing parent string size. Modify str slices in-place to avoid allocations.
char-token-est
Tokenless byte/char-based token-count estimator for LLM prompts. Per-model-family calibration for Claude, GPT, Gemini, Llama. Zero deps.
bpetok
CLI for tokenizing text input using Byte Pair Encoding (BPE)
avila-tokenizers
The most complete tokenizer library in Rust - BPE, WordPiece, Unigram, with native support for GPT, BERT, Llama, Claude
kevy-text
Dictionary-free full-text search core: CJK bigram tokenizer, inverted segments, BM25 scoring
rllm-tokenizer
HF tokenizer loading, encoding, decoding, streaming detokenization, and chat templates for rLLM
rustbpe
A BPE (Byte Pair Encoding) tokenizer written in Rust with Python bindings
mipl
Minimal Imperative Parsing Library
tantivy-czech-stemmer
Czech stemmer as Tantivy tokenizer
giron
ECMAScript parser which outputs ESTree JSON
sql-script-parser
iterates over SQL statements in SQL script
tokenizers-enfer
today's most used tokenizers, with a focus on performances and versatility
bpe-tokenizer
A BPE Tokenizer library
alith-models
Load and Download LLM Models, Metadata, and Tokenizers
tokenizer
Thai text tokenizer
punkt_n
Punkt sentence tokenizer
sentencepiece-model
SentencePiece model parser generated from the SentencePiece protobuf definition
rust_transformers
High performance tokenizers for Rust
tele_tokenizer
A CSS tokenizer
tokengeex
efficient tokenizer for code based on UnigramLM and TokenMonster
uscan
A universal source code scanner
nipah_tokenizer
A powerful yet simple text tokenizer for your everyday needs!
smoltoken
A fast library for Byte Pair Encoding (BPE) tokenization
rs-jptxt2tokens
wrapper to convert the jp txt to tokens
aleph-alpha-tokenizer
A fast implementation of a wordpiece-inspired tokenizer
json-parser
JSON parser
indentation_flattener
From indented input, generate plain output with indentation PUSH and POP codes
basic_lexer
Basic lexical analyzer for parsing and compiling
tinytoken
tokenizing text into words, numbers, symbols, and more, with customizable parsing options
mecab-ko-core
한국어 형태소 분석 핵심 엔진 - Lattice, Viterbi, 토크나이저
tokenmonster
Greedy tiktoken-like tokenizer with embedded vocabulary (cl100k-base approximator)
regex-tokenizer
A regex tokenizer
scanny
A advanced text scanning library for Rust
tokeneer
tokenizer crate
llm_models
Load and download LLM models, metadata, and tokenizers
gpt_tokenizer
Rust BPE Encoder Decoder (Tokenizer) for GPT-2 / GPT-3
tocken
Clustering algorithms
rustpotion
Blazingly fast word embeddings with Tokenlearn
scnr2_macro
Scanner/Lexer with regex patterns and multiple modes
tuker
A small tokenizer/parser library with an emphasis on usability
token
string-tokenizer (and sentence splitter) Note: If you find that you would like to use the name for something more appropriate, please just send me a mail at jaln at itu dot dk
bytepiece_rs
The Bytepiece Tokenizer Implemented in Rust
blingfire-sys
Bindings to the BlingFire C++ library
Try searching with DuckDuckGo.