Text processing

19 projects

The regex crate is Rust's standard regular expression engine. It guarantees linear-time matching on any input, which makes it safe for untrusted patterns and text, but it leaves out backreferences and look-around for that reason. When you need those features, fancy-regex adds them with a backtracking layer that falls back to regex for the parts it can. ripgrep uses the same engine family, so performance is well tested.

Other crates handle common text tasks: whatlang-rs detects the language of a string, textwrap wraps and indents text with Unicode width awareness, strsim computes edit distances such as Levenshtein and Jaro-Winkler, and triple_accel speeds those up with SIMD. suffix builds suffix arrays for fast substring search, tabwriter aligns columns, and wildmatch matches simple glob patterns.

For content extraction, xberg pulls text, tables and metadata from PDFs, Office files and other formats, and html-to-markdown converts HTML into Markdown. decancer normalizes look-alike Unicode characters, which helps with moderation and spoofing checks. Full-text search engines such as Tantivy are in the separate Text search category.

wildmatchby becheran

Simple string matching with questionmark- and star-wildcard operator

wildmatch2.7.05.8m/90d updated today

98

suffixby BurntSushi

Linear time suffix array construction (with Unicode support)

suffix1.3.011.6k/90d updated 3y ago

281

tabwriterby BurntSushi

Elastic tab stops (i.e., text column alignment)

tabwriter1.4.15.3m/90d updated 1y ago

273

human_regexby cmccomb

Compose readable regular expressions with a fluent API

human_regex0.3.1837/90d updated 1mo ago

55

rust-stop-wordsby cmccomb

Common stop words in many languages

stop-words0.10.16.1m/90d updated 1mo ago

26

cpcby probablykasper

Parses and calculates strings of math with support for units and unit conversion, from 1+2 to 1% of round(1 lightyear / 14!s to km/h).

v5.0.0updated 14d ago

165

triple_accelby Daniel-Liu-c0deb0t

Rust edit distance routines accelerated using SIMD; supports fast Hamming, Levenshtein, restricted Damerau-Levenshtein, etc. distance calculations and string search

triple_accel0.4.0248.5k/90d updated 3y ago

109

fancy-regex

Regular expressions implementation designed to support a relatively rich set of features such as look-around and backtracking.

fancy-regex0.19.283m/90d updated today

637

whatlang-rsby greyblake

Natural language detection library based on trigrams

whatlang0.18.01.6m/90d updated 10mo ago

1.1k

joineryby Lucretiel

Generic string + iterable joining

joinery3.1.02m/90d updated 3y ago

95

textwrapby mgeisler

Word wrap text (with support for hyphenation)

textwrap0.16.460.8m/90d updated 19d ago

527

decancerby null8626

A tiny package that removes common unicode confusables/homoglyphs from strings.

decancer4.0.0512.5k/90d updated 3d ago

132

easy_readerby ps1dr3x

A reader that allows forwards, backwards and random navigations through the lines of huge files without consuming iterators

easy_reader0.5.216.5k/90d updated 4y ago

89

ngramsby pwoolcoc

Construct n-grams from arbitrary iterators

ngrams1.0.110k/90d updated 10y ago

26

regexby rust-lang

Regular expressions (RE2 style)

regex1.13.1287.9m/90d updated 1d ago

4k

strsim-rs

String similarity metrics

strsim0.11.1250.3m/90d

html-to-markdownby xberg-io

Fast, CommonMark-compliant HTML to Markdown converter with a Rust core and bindings for 12 languages.

html-to-markdown-rs3.18.5810.7k/90d HTMLupdated today

882

xbergby xberg-io

Document intelligence library that extracts text, tables, and metadata from 97+ formats (PDF, Office, images with OCR, HTML, email, archives), with bindings for 11 languages.

xberg1.3.1037k/90d updated today

9.4k

rake-rsby yaa110

Multilingual implementation of RAKE algorithm for Rust

rake0.3.652.4k/90d updated 1y ago

36

Built on the open rust-unofficial/awesome-rust list by its contributors, licensed CC0 1.0. Crate Atlas is an independent project, not affiliated with the list's maintainers.

About Synced Oct 21, 2026

© 2026 Crate Atlas

Esc

Type to search every entry. ↑↓ to move, Enter to open.