# nom

> A Rust parser combinator library for fast, safe binary and text parsers

Source: https://talira.ai/catalog/nom-hrs70ays
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / parser generators](https://talira.ai/categories/developer-tools/parser-generators), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [rust-bakery](https://talira.ai/orgs/rust-bakery.md)
- Creator: Geoffroy Couprie

nom builds parsers in Rust by combining small parsing functions into larger ones, using Rust's strong typing and memory safety to make parsers that are safe without giving up speed or memory use. It handles binary formats, text formats, programming languages and streaming input such as network formats and huge files.

## Links

- GitHub: https://github.com/rust-bakery/nom
- Docs: https://docs.rs/nom

## Problems it solves

- write a parser for a binary file format in Rust
- parse a custom text format or small language in Rust without a parser generator
- parse network protocol messages that arrive in chunks in Rust

## Features

- Parser combinators as functions, macros and traits
- Binary and text format parsing
- Streaming parsers for network formats and huge files
- Programming language parsers
- Zero-copy: returns slices of the input
- no_std builds, with or without an allocator

## Trust

Overall: 0.41 out of 1.
Signals: maintenance 0.06, adoption 0.80, momentum 0.56, community 1.00, backing 0.50, extensibility 0.00.

- 10.5k GitHub stars
- 384 contributors
- backed by rust-bakery
- created by Geoffroy Couprie

Warnings:

- last commit 15 months ago

## Alternatives

- [Pest](https://talira.ai/catalog/pest-prkx0461.md): The elegant PHP testing framework
- [NimbleParsec](https://talira.ai/catalog/nimbleparsec-skpgy4dk.md): A simple and fast library for text-based parser combinators
- [pest (Rust)](https://talira.ai/catalog/pest-rust-z8e0vep9.md): The elegant PEG parser generator for Rust
- [peg](https://talira.ai/catalog/peg-n3v4m78r.md): Packrat parser generator for Go from Parsing Expression Grammars

## Sources

[^1]: https://github.com/rust-bakery/nom (checked 24 Nov 2026)
[^2]: https://github.com/rust-bakery/nom/blob/main/LICENSE (checked 24 Nov 2026)
