Browse free open source Parser Generators and projects below. Use the toggles on the left to filter open source Parser Generators by OS, license, language, programming language, and project status.

  • Demo Series - Small Business Backup By Veeam Icon
    Demo Series - Small Business Backup By Veeam

    Learn how to protect your Microsoft 365 data, with simple, actionable tips today.

    Watch this on-demand demo series and learn how to protect your Microsoft 365 data with clear, simple, actionable steps that are easy to implement for businesses of all sizes.
    Watch Demo Series
  • PRTG Catches Network Issues Before They Cause Downtime Icon
    PRTG Catches Network Issues Before They Cause Downtime

    Threshold-based alerts flag problems early, so your team can act before users notice, not after.

    Reactive troubleshooting usually means hearing about a problem from frustrated users, not your monitoring tool. PRTG sets threshold-based alerts across devices, servers and applications, notifying your team by email, SMS or push the moment a metric crosses a set limit. That means catching a failing disk or overloaded server before it becomes an outage and getting time back from firefighting. Start a free trial and set your first alerts today.
    Download 30-Day Trial
  • 1

    Win flex-bison

    Win flex-bison is a port Flex & Bison tools to the Windows platform

    Win flex-bison is a windows port the Flex (the fast lexical analyser) and Bison (GNU parser generator). win_flex based on Flex version 2.6.3 source code and win_bison based on Bison version 2.7 and they depend on system libraries only. Git repository: https://github.com/lexxmark/winflexbison UPDATE1: Bison version 3.x.x available in Files section in win_flex_bison3-latest.zip package. UPDATE2: Now "winflexbison" available as package in Chocolatey (https://chocolatey.org/packages/winflexbison and https://chocolatey.org/packages/winflexbison3) UPDATE3: You can use VS custom build rules to simplify working with winflexbison in Visual Studio 2010 and upper (https://sourceforge.net/p/winflexbison/wiki/Visual%20Studio%20custom%20build%20rules/).
    Leader badge
    Downloads: 4,395 This Week
    Last Update:
    See Project
  • 2
    Portable Executable Parser

    Portable Executable Parser

    lightweight Go package to parse, analyze and extract metadata

    Saferwall PE is a lightweight Go package for parsing, analyzing, and extracting metadata from Portable Executable (PE) binaries. Designed with malware analysis in mind, it is robust against malformed PE files and provides detailed insights into executable structures.​
    Downloads: 15 This Week
    Last Update:
    See Project
  • 3
    PSD.js

    PSD.js

    A Photoshop PSD file parser for NodeJS and browsers

    psd.js is an open-source JavaScript library (CoffeeScript/JS) for reading and parsing Adobe Photoshop PSD files in both Node.js and web browsers. It reconstructs the document into a DOM-like tree with layers, masks, text metadata, vector information, and pixel data. It enables developers to traverse layer structures, extract flattened or individual image buffers, and integrate PSD assets programmatically in web or backend applications.
    Downloads: 14 This Week
    Last Update:
    See Project
  • 4
    tree-sitter

    tree-sitter

    An incremental parsing system for programming tools

    Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. General enough to parse any programming language. Fast enough to parse on every keystroke in a text editor. Robust enough to provide useful results even in the presence of syntax errors. Dependency-free so that the runtime library (which is written in pure C) can be embedded in any application. All of Tree-sitter’s parsing functionality is exposed through C APIs. Applications written in higher-level languages can use Tree-sitter via binding libraries like node-tree-sitter or the tree-sitter rust crate, which have their own documentation. To build the library on a POSIX system, just run make in the Tree-sitter directory. This will create a static library called libtree-sitter.a as well as dynamic libraries.
    Downloads: 12 This Week
    Last Update:
    See Project
  • Build Agents and Models on One Platform Icon
    Build Agents and Models on One Platform

    Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

    Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
    Start Free
  • 5
    Meriyah

    Meriyah

    A 100% compliant, self-hosted javascript parser

    Meriyah is a high-performance, fully compliant JavaScript parser that generates ESTree-compatible Abstract Syntax Trees (ASTs). Designed for speed and stability, it serves as an alternative to parsers like Acorn and Esprima.​
    Downloads: 8 This Week
    Last Update:
    See Project
  • 6
    RapidJSON

    RapidJSON

    A fast JSON parser/generator for C++ with both SAX/DOM style API

    RapidJSON is a JSON parser and generator for C++. It was inspired by RapidXml. RapidJSON is small but complete. It supports both SAX and DOM style API. The SAX parser is only a half thousand lines of code. RapidJSON is fast. Its performance can be comparable to strlen(). It also optionally supports SSE2/SSE4.2 for acceleration. RapidJSON is self-contained and header-only. It does not depend on external libraries such as BOOST. It even does not depend on STL. RapidJSON is memory-friendly. Each JSON value occupies exactly 16 bytes for most 32/64-bit machines (excluding text string). By default it uses a fast memory allocator, and the parser allocates memory compactly during parsing. RapidJSON is Unicode-friendly. It supports UTF-8, UTF-16, UTF-32 (LE & BE), and their detection, validation and transcoding internally. For example, you can read a UTF-8 file and let RapidJSON transcode the JSON strings into UTF-16 in the DOM. It also supports surrogates and "\u0000" (null character).
    Downloads: 8 This Week
    Last Update:
    See Project
  • 7
    getoptions

    getoptions

    An elegant option/argument parser for shell scripts

    getoptions is a POSIX-compliant shell script library designed to simplify command-line option parsing. It provides an elegant and extensible way to handle both short and long options in shell scripts without relying on external dependencies. ​
    Downloads: 7 This Week
    Last Update:
    See Project
  • 8
    Chevrotain

    Chevrotain

    Parser Building Toolkit for JavaScript

    Chevrotain is a powerful and fast parser-building toolkit for JavaScript. It supports the construction of LL(k) parsers and is suitable for building interpreters, compilers, and DSLs.​
    Downloads: 6 This Week
    Last Update:
    See Project
  • 9
    Parser for Rust source code

    Parser for Rust source code

    Parser for Rust source code

    Parser for Rust source code is a major Rust crate for parsing Rust source code (token streams) into a syntax tree (AST) that procedural macros can inspect or transform. The primary target is macro authors: you can parse TokenStreams into syn::File, syn::Item, syn::Expr, syn::Type, etc. It offers rich data structures, fine-grained parsing, span tracking (for error reporting), traversal and mutation APIs (visit, fold, visit_mut), printing back to tokens, and strong feature-gating so you only compile what you need. The documentation emphasises that while the crate is geared for procedural macros (and custom derives), some of the APIs may be of more general use. Using syn you can effectively write code that analyzes or generates Rust code at compile time.
    Downloads: 5 This Week
    Last Update:
    See Project
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 10
    body-parser

    body-parser

    Node.js body parsing middleware

    Node.js body parsing middleware. Parse incoming request bodies in a middleware before your handlers, available under the req.body property. As req.body's shape is based on user-controlled input, all properties and values in this object are untrusted and should be validated before trusting. For example, req.body.foo.toString() may fail in multiple ways, for example the foo property may not be there or may not be a string, and toString may not be a function and instead a string or other user input. The bodyParser object exposes various factories to create middlewares. All middlewares will populate the req.body property with the parsed body when the Content-Type request header matches the type option, or an empty object ({}) if there was no body to parse, the Content-Type was not matched, or an error occurred.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 11
    DanmakuFlameMaster

    DanmakuFlameMaster

    Open source barrage analysis and drawing engine project

    Use multiple methods (View/SurfaceView/TextureView) to achieve efficient drawing. Analysis of xml barrage format at station B. The basic barrage accurately restores the drawing. Supports mode7 special barrage. Multi-core model optimization, efficient pre-caching mechanism. Supports multiple display effect options for real-time switching. Real-time barrage display support. Wrap Barrage Support/Sport Barrage Support. Supports custom fonts. Supports multiple barrage parameter settings. Supports multiple methods of barrage shielding. Download the latest version or grab via Maven or Gradle.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 12
    JSON-Machine

    JSON-Machine

    Efficient, easy-to-use, and fast PHP JSON stream parser

    json-machine is an efficient and easy-to-use PHP JSON stream parser. It enables processing of large JSON files or streams without loading the entire content into memory, making it suitable for memory-constrained environments.​
    Downloads: 4 This Week
    Last Update:
    See Project
  • 13
    League CommonMark

    League CommonMark

    Highly-extensible PHP Markdown parser

    CommonMark is a PHP library that implements the CommonMark Markdown specification, allowing developers to convert Markdown into HTML. It provides a robust and extensible parser with support for additional syntax and extensions. The library is designed to be efficient and standards-compliant, making it ideal for applications that require consistent and reliable Markdown processing.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 14
    Logos

    Logos

    Create ridiculously fast Lexers

    Logos is a lexer generator for Rust, designed to create fast and efficient lexers with minimal code. It leverages Rust's procedural macros to define token patterns, streamlining the process of lexical analysis.​
    Downloads: 4 This Week
    Last Update:
    See Project
  • 15
    MLton

    MLton

    A whole-program optimizing compiler for Standard ML

    MLton is a whole-program optimizing compiler for Standard ML. MLton generates small executables with excellent runtime performance, utilizing untagged and unboxed native integers, reals, and words, unboxed native arrays, fast arbitrary-precision arithmetic based on GnuMP, and multiple code generation and garbage collection strategies. In addition, MLton provides a feature rich Standard ML programming environment, with full support for SML97 as given in The Definition of Standard ML (Revised), a number of useful language extensions, a complete implementation of the Standard ML Basis Library, various useful libraries, a simple and fast C foreign function interface, the ML Basis system for programming with source libraries, and tools such as a lexer generator, a parser generator, and a profiler.
    Leader badge
    Downloads: 84 This Week
    Last Update:
    See Project
  • 16
    ANTLR

    ANTLR

    Parser generator to read, process, or translate structured text

    ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees. It’s widely used in academia and industry to build all sorts of languages, tools, and frameworks. Twitter search uses ANTLR for query parsing, with over 2 billion queries a day. The languages for Hive and Pig, the data warehouse and analysis systems for Hadoop, both use ANTLR. Lex Machina uses ANTLR for information extraction from legal texts. Oracle uses ANTLR within SQL Developer IDE and their migration tools. NetBeans IDE parses C++ with ANTLR. The HQL language in the Hibernate object-relational mapping framework is built with ANTLR.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 17
    React-Native-Parsed-Text

    React-Native-Parsed-Text

    Parse text and make them into multiple React Native Text elements

    react-native-parsed-text is a React Native component that enables parsing and styling of substrings within a text block. It allows developers to identify patterns like URLs, phone numbers, or emails and apply custom styles or actions to them.​
    Downloads: 3 This Week
    Last Update:
    See Project
  • 18
    Rust-Peg

    Rust-Peg

    Parsing Expression Grammar (PEG) parser generator for Rust

    rust-peg is a Parsing Expression Grammar (PEG) parser generator for Rust. It allows developers to define grammars in a concise syntax and generates efficient parsers, facilitating the creation of domain-specific languages and interpreters.​
    Downloads: 3 This Week
    Last Update:
    See Project
  • 19

    C#Prolog

    C#Prolog -- A Prolog interpreter written in managed C#

    C#Prolog -- A Prolog interpreter written in C#. Can easily be integrated in C# programs. Characteristics: reliable and fairly fast interpreter, command line interface, Windows-interface, builtin DCG, XML- and JSON-predicates, SQL-predicates, extendible.
    Leader badge
    Downloads: 16 This Week
    Last Update:
    See Project
  • 20
    Optimize JS

    Optimize JS

    Optimize a JS file for faster parsing

    Optimize JS is an experimental JavaScript transformation tool created to reduce initial parsing and execution time in older browser engines. It parses JavaScript into a syntax tree and identifies functions that are immediately invoked or likely to execute eagerly. Those functions are wrapped in parentheses so engines such as older V8 versions can avoid unnecessary lazy preparsing. The tool can operate from the command line or through a JavaScript API and can optionally generate source maps. Plugins were also created for Grunt, Gulp, and webpack workflows. Historical benchmarks showed improvements in several older browsers, but results varied significantly by engine and workload. The project is unmaintained, and its author and the V8 team now advise against assuming the technique benefits modern browsers.