SHORTLIST20
English
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
Programming

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.

Is this list useful?
  1. 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. 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. 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

    Also in: #20 Open-source PDF tools and libraries on GitHub

  4. 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. 5

    rust-bakery/nom

    parser combinator library

    10,487 stars 848 forkslast push 2025-08-26RustMIT

  6. 6

    pest-parser/pest

    The Elegant Parser

    5,418 stars 318 forkslast push 2026-11-18RustApache-2.0

  7. 7

    lalrpop/lalrpop

    LR(1) parser generator

    3,517 stars 312 forkslast push 2026-10-19RustApache-2.0

  8. 8

    kevinmehall/rust-peg

    Parsing Expression Grammar (PEG) parser generator

    1,607 stars 118 forkslast push 2026-11-19RustMIT

  9. 9

    Marwes/combine

    parser combinator library

    1,370 stars 99 forkslast push 2026-10-15RustMIT

  10. 10

    winnow-rs/winnow

    winnow] - A byte-oriented, zero-copy, parser combinators library.

    984 stars 97 forkslast push 2026-11-18RustNOASSERTION

  11. 11

    softdevteam/grmtools

    A LR parser with better error correction

    577 stars 42 forkslast push 2026-11-17RustNOASSERTION

  12. 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. 13

    Eliah-Lakhin/lady-deirdre

    A framework for new programming languages and LSP servers.

    481 stars 15 forkslast push 2026-02-10Rust

  14. 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. 15

    m4rw3r/chomp

    A fast monadic-style parser combinator

    242 stars 19 forkslast push 2022-05-11RustApache-2.0

  16. 16

    comex/rust-shlex

    shlex] - Split a string into shell words, like Python's shlex.

    161 stars 23 forkslast push 2026-06-12RustNOASSERTION

  17. 17

    ptal/oak

    A typed PEG parser generator (compiler plugin)

    146 stars 15 forkslast push 2025-02-25RustApache-2.0

  18. 18

    freestrings/jsonpath

    JsonPath engine. Webassembly and Javascript support too

    131 stars 41 forkslast push 2025-01-22RustMIT

  19. 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. 20

    mazznoer/csscolorparser-rs

    csscolorparser] - CSS color parser library

    80 stars 13 forkslast push 2026-11-19RustApache-2.0

How it is measured

Every tool in the Parsing section(s) of the community list rust-unofficial/awesome-rust on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

References

  1. rust-unofficial/awesome-rust: Parsing, GitHub community list (list text CC0; star counts from the GitHub API). Checked 2026-11-20 14:26 UTC.
  2. rust-unofficial/awesome-rust (Parsing), GitHub community list, 28 tools with a public repository.