Parsing

28 projects

Rust parser libraries fall into two camps. Parser combinators build parsers from small Rust functions: nom is the best known and handles both binary and text formats, winnow is a fork of nom with a reworked API and better error handling, and combine is an older alternative. Combinators need no separate build step and debug like ordinary code, but complex grammars can become hard to read.

Grammar-based generators describe the language separately. pest reads a PEG grammar file and produces a parse tree you walk afterwards. rust-peg embeds the PEG grammar in a macro and runs actions inline. LALRPOP generates LR(1) parsers, which suits programming languages with operator precedence, and grmtools offers Yacc-compatible grammars. Generators give clearer grammars and better ambiguity checks at the cost of a build step.

Some entries are complete parsers rather than toolkits. tree-sitter is an incremental parsing system used by editors such as Zed, Helix and Neovim for syntax highlighting, and its Rust bindings are widely used. oxc is a JavaScript and TypeScript toolchain whose parser is one of the fastest available. For quick choices: nom or winnow for binary formats, pest for config languages, LALRPOP for a language with expressions.

pe-signby 0xlane

A cross-platform rust no-std library for verifying and extracting signature information from PE files.

pe-sign0.1.103.2k/90d updated 1y ago

76

wavefront_rsby cchexcode

A parser for the Wavefront OBJ format.

wavefront_rs1.0.41.3k/90d updated 3y ago

4

rust-shlexby comex

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

shlex2.0.1296m/90d updated 4mo ago

161

lady-deirdreby Eliah-Lakhin

A framework for new programming languages and LSP servers.

lady-deirdre2.2.0161/90d updated 8mo ago

481

pdf-inspectorby firecrawl

Fast Rust library for PDF classification and text extraction.

pdf-inspector1.25.21.1m/90d updated 1d ago

19.7k

robotstxtby Folyd

Port of Google's robots.txt parser and matcher C++ library

robotstxt0.3.073.6k/90d updated 5y ago

102

jsonpathby freestrings

JsonPath engine. Webassembly and Javascript support too

v0.3.0updated 1y ago

132

stl_ioby hmeyer

A parser for STL (STereoLithography) files

stl_io0.11.0980.8k/90d

shivaby igumnoff

Shiva library: Implementation in Rust of a parser and generator for documents of any type (Plain text, Markdown, HTML, PDF and etc)

shiva1.4.91.6k/90d updated 1y ago

439

rust-pegby kevinmehall

Parsing Expression Grammar (PEG) parser generator

peg0.8.66.5m/90d updated 5mo ago

1.6k

lalrpop

LR(1) parser generator

lalrpop0.23.212.9m/90d updated 1d ago

3.5k

chompby m4rw3r

A fast monadic-style parser combinator

chomp0.3.11.9k/90d updated 4y ago

242

combineby Marwes

Parser combinator library

combine4.6.981.9m/90d updated 5d ago

1.4k

csscolorparser-rsby mazznoer

CSS color parser library

csscolorparser0.9.014m/90d updated 10d ago

80

phonelibby mohamadzoh

A dependency-free Rust library for parsing, validating, formatting, and normalizing international phone numbers.

phonelib2.1.018.6k/90d updated 22d ago

19

zeroby nrc

Zero-allocation parsing of binary data

zero0.1.3544.2k/90d updated 3y ago

51

antlr-rust-runtimeby ophi-dev

ANTLR v4 runtime with a pure-Rust parser generator: generates parsers directly from.g4 grammars (no Java required), validated against the official ANTLR conformance testsuite.

antlr-rust-runtime0.34.08k/90d updated today

23

oxcby oxc-project

High-performance JavaScript/TypeScript parser, transformer, minifier, and resolver written in Rust. Powers Rolldown, Nuxt, Nova, and more.

oxc0.155.0555.6k/90d updated today

23.1k

pestby pest-parser

The Elegant Parser

pest2.9.477.4m/90d updated 5d ago

5.4k

oakby ptal

A typed PEG parser generator (compiler plugin)

oak0.8.0199/90d updated 1y ago

146

liteparseby run-llama

Fast and light PDF parsing library with spatial text extraction, bounding boxes, flexible OCR (Tesseract/HTTP servers), and multi-language bindings (Rust, Node.js, Python, WASM). Built on PDFium with CLI tool lit.

liteparse2.16.094.4k/90d updated 1d ago

12.9k

nomby rust-bakery

Parser combinator library

nom8.0.0193m/90d updated 1y ago

10.5k

querystby s-panferov

A query string parsing library inspired by gs

updated 3y ago

71

dockerfile-parser-rsby slimreaper35

Dockerfile parsing library and CLI tool

dockerfile-parser-rs3.4.07.2k/90d updated 11d ago

2

grmtoolsby softdevteam

A LR parser with better error correction

updated 29d ago

576

tree-sitter

A parser generator tool and an incremental parsing library geared towards programming tools

tree-sitter0.27.118.7m/90d updated 1d ago

27.2k

winnowby winnow-rs

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

winnow1.0.4317.6m/90d updated today

975

tree-sitter-language-packby xberg-io

Pre-built tree-sitter grammars for 300+ languages with a unified parser API and bindings for 14 languages.

tree-sitter-language-pack1.22.1156.4k/90d updated 4d ago

478

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.