Rust parsing libraries
Parser combinators and parser generators for Rust, ranked by GitHub stars
Updated · GitHub stars (stars)
Why these 20
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
tree-sitter/tree-sitter
A parser generator tool and an incremental parsing library geared towards programming tools
27,519 stars 3,047 forkslast push 2026-11-20RustMIT
-
2
oxc-project/oxc
⚓ A collection of high-performance JavaScript tools.
23,517 stars 1,474 forkslast push 2026-11-20RustMIT
Also in: #3 Rust linters and code quality tools, ranked by GitHub stars
-
3
firecrawl/pdf-inspector
Fast Rust library for PDF inspection, classification, and text extraction. Intelligently detects scanned vs text-based PDFs to enable smart routing decisions.
20,077 stars 1,372 forkslast push 2026-11-19RustMIT
-
4
run-llama/liteparse
liteparse] - Fast and light PDF parsing library with spatial text extraction, bounding boxes, flexible OCR (Tesseract/HTTP servers), and multi-language...
13,072 stars 902 forkslast push 2026-11-20RustApache-2.0
-
5
-
6
-
7
-
8
kevinmehall/rust-peg
Parsing Expression Grammar (PEG) parser generator
1,607 stars 118 forkslast push 2026-11-19RustMIT
-
9
-
10
winnow-rs/winnow
winnow] - A byte-oriented, zero-copy, parser combinators library.
984 stars 97 forkslast push 2026-11-18RustNOASSERTION
-
11
softdevteam/grmtools
A LR parser with better error correction
577 stars 42 forkslast push 2026-11-17RustNOASSERTION
-
12
xberg-io/tree-sitter-language-pack
tree-sitter-language-pack] - Pre-built tree-sitter grammars for 300+ languages with a unified parser API and bindings for 14 languages.
487 stars 73 forkslast push 2026-11-19RustMIT
-
13
Eliah-Lakhin/lady-deirdre
A framework for new programming languages and LSP servers.
481 stars 15 forkslast push 2026-02-10Rust
-
14
igumnoff/shiva
Shiva library: Implementation in Rust of a parser and generator for documents of any type (Plain text, Markdown, HTML, PDF and etc)
440 stars 24 forkslast push 2024-11-07RustApache-2.0
-
15
m4rw3r/chomp
A fast monadic-style parser combinator
242 stars 19 forkslast push 2022-05-11RustApache-2.0
-
16
comex/rust-shlex
shlex] - Split a string into shell words, like Python's shlex.
161 stars 23 forkslast push 2026-06-12RustNOASSERTION
-
17
ptal/oak
A typed PEG parser generator (compiler plugin)
146 stars 15 forkslast push 2025-02-25RustApache-2.0
-
18
freestrings/jsonpath
JsonPath engine. Webassembly and Javascript support too
131 stars 41 forkslast push 2025-01-22RustMIT
-
19
Folyd/robotstxt
Port of Google's robots.txt parser and matcher C++ library
102 stars 13 forkslast push 2021-02-13RustApache-2.0
-
20
mazznoer/csscolorparser-rs
csscolorparser] - CSS color parser library
80 stars 13 forkslast push 2026-11-19RustApache-2.0
References
- rust-unofficial/awesome-rust: Parsing, GitHub community list (list text CC0; star counts from the GitHub API). Checked 2026-11-20 14:26 UTC.
- rust-unofficial/awesome-rust (Parsing), GitHub community list, 28 tools with a public repository.