Ross ROSS = Recommend OSS · open-source software intelligence for agents

Open-source parsers software

444 open-source libraries, tools and applications tagged parsers, ranked by how closely parsers is their primary purpose, then by adoption and maintenance health. Each entry links to a page with sources, use cases and when to choose or avoid it.

444 products, primary matches first, then adoption-weighted; health v2 shown.

ProductHealth v2StarsMaturity
lxml/lxml
lxml is a fast, feature-rich Python library for processing XML and HTML, built on the C libraries libxml2 and libxslt. It provides an Eleme…
973067stable
benhoyt/inih
inih (INI Not Invented Here) is a small, simple .INI file parser written in C, designed to be just a couple pages of code. It parses INI fi…
733045stable
Sublime Text
The official collection of syntax highlighting packages shipped with Sublime Text and Sublime Merge, written in the sublime-syntax format. …
763018active
thephpleague/commonmark
league/commonmark is a highly-extensible PHP Markdown parser that fully supports the CommonMark and GitHub-Flavored Markdown specifications…
982981stable
PostHTML
PostHTML is a small JavaScript library for transforming HTML/XML via a plugin ecosystem. It provides an HTML parser, a node tree API, and a…
412960stable
rui314/chibicc
chibicc is a small C compiler written in C that implements most of the C11 standard and can compile real-world programs like Git, SQLite, a…
3211914maintenance
mmcdole/gofeed
gofeed is a Go library for parsing RSS, Atom, and JSON feeds into a unified feed model. It handles malformed feeds gracefully and supports …
972877stable
Yarn Spinner
Yarn Spinner is the core compiler and engine-agnostic runtime for the Yarn dialogue language, a screenplay-like format for writing interact…
822856stable
orangeduck/mpc
mpc is a lightweight parser combinator library for C, shipped as a single ANSI C source file. It supports type-generic parsers, predictive …
352854stable
zzzprojects/html-agility-pack
Html Agility Pack (HAP) is a free, open-source HTML parser written in C# that builds a read/write DOM and supports XPath and XSLT queries. …
892850active
Engelberg/instaparse
Instaparse is a Clojure/ClojureScript library that turns context-free grammars written in standard EBNF or ABNF notation into executable pa…
322827stable
nvim-treesitter/nvim-treesitter-textobjects
A Neovim plugin that provides syntax-aware text objects using tree-sitter queries, supporting select, move, swap, and peek operations on co…
742812active
Chevrotain/chevrotain
Chevrotain is a fast, feature-rich parser building toolkit for JavaScript with built-in LL(K) grammar support. Grammars are written as pure…
672809stable
Rich-Harris/magic-string
A small, fast TypeScript library for editing strings in place (update, prepend, append, move, overwrite) while generating accurate v3 sourc…
972777stable
pulldown-cmark/pulldown-cmark
pulldown-cmark is a fast, memory-efficient pull parser for CommonMark Markdown written in pure Rust, with an included CLI tool for renderin…
862728stable
comby-tools/comby
Comby is a command-line tool for structural search and replace across ~every programming language using lightweight syntax-aware templates.…
582680active
google/googlesql
GoogleSQL (formerly ZetaSQL) is a C++ analyzer framework that defines a SQL language—grammar, types, data model, semantics, and function li…
942641active
vsch/flexmark-java
flexmark-java is a fast, extensible Java parser for CommonMark/Markdown that produces a source-position-aware AST and renders HTML, with em…
362641stable
VerbalExpressions
A Java library providing a fluent builder API for constructing regular expressions in readable, chainable code instead of raw regex strings…
662618stable
JohnSundell/Ink
Ink is a fast and flexible Markdown parser written in Swift that converts Markdown strings into HTML. It supports front-matter metadata par…
232537stable
weggli-rs/weggli
weggli is a fast semantic search tool for C and C++ codebases that performs pattern matching on abstract syntax trees using a query languag…
232498active
pyparsing/pyparsing
pyparsing is a Python library for building Parsing Expression Grammar (PEG) parsers directly in Python code using composable classes and op…
922492stable
tid-kijyun/Kanna
Kanna is a Swift XML/HTML parser library inspired by Ruby's Nokogiri, built on libxml2. It supports XPath 1.0 and CSS3 selector queries acr…
662486active
sprache/Sprache
Sprache is a tiny, lightweight C# library for building text parsers directly in code using monadic parser combinators and LINQ query syntax…
322481stable
unjs/magicast
Magicast is a TypeScript library for programmatically modifying JavaScript and TypeScript source files using a simple, JSON-like proxy API …
922478active
kurtmckee/feedparser
feedparser is a Python library that parses RSS, Atom, RDF, CDF, and JSON feeds into a uniform data structure. It is the de facto standard u…
862444stable
remarkablemark/html-react-parser
html-react-parser is an npm library that converts HTML strings into React elements, working on both the server (Node.js) and the client (br…
962429stable
rust-scraper/scraper
A Rust library for parsing HTML documents and querying them with CSS selectors, built on Servo's html5ever and selectors crates for browser…
862421active
josdejong/jsonrepair
A TypeScript library that repairs invalid JSON documents, fixing issues like missing quotes, commas, brackets, single quotes, comments, tra…
692410active
tamasfe/taplo
Taplo is a versatile TOML v1.0.0 toolkit written in Rust, providing a parser, analyzer, and formatter usable as a library, CLI, VS Code ext…
732403active
Neargye/nameof
A header-only C++17 library providing nameof macros and functions to obtain the name of variables, types, functions, macros, and enum value…
872364stable
chakra-core/ChakraCore
ChakraCore is an open-source JavaScript engine with a C API for embedding JavaScript execution into C or C-compatible applications. It was …
509260maintenance
gnostic
gnostic is a Go command-line compiler that converts OpenAPI descriptions between JSON/YAML and Protocol Buffer representations. It provides…
632308active
eliben/pyelftools
pyelftools is a pure-Python library with no external dependencies for parsing ELF binaries and DWARF debugging information. It lets Python …
762284stable
globocom/m3u8
A Python library for parsing, loading, and writing m3u8 playlists used in HTTP Live Streaming (HLS) transmissions. It supports loading play…
232284active
open-source-parsers/jsoncpp
JsonCpp is a mature C++ library for parsing, manipulating, and serializing JSON values, including support for preserving comments in JSON f…
858894maintenance
goccy/go-yaml
A from-scratch YAML parser and serializer library for Go, developed as a replacement for go-yaml/yaml. It offers higher YAML test suite cov…
712239active
micromark/micromark
micromark is a small, safe, 100% CommonMark-compliant markdown parser written in JavaScript, implemented as a state machine that emits conc…
762221stable
Imangazaliev/DiDOM
DiDOM is a fast and simple PHP library for parsing and manipulating HTML and XML documents. It supports loading from strings, files, or URL…
482195active
ruby/rbs
RBS is the type signature language for Ruby, letting developers describe class, module, method, and variable types in .rbs files. It ships …
972183active
kythe/kythe
Kythe is a pluggable, mostly language-agnostic ecosystem for building tools that work with code, providing a standard schema and interchang…
842168active
taocpp/PEGTL
PEGTL is a zero-dependency, header-only C++ library for building parsers with Parsing Expression Grammars using parser combinators expresse…
932165stable
zesterer/ariadne
Ariadne is a Rust crate for producing fancy, colored compiler diagnostics and error reports with inline and multi-line labels, multi-file e…
102156active
marzer/tomlplusplus
toml++ is a header-only C++17 library for parsing and serializing TOML configuration files, with optional serialization to JSON and YAML. I…
612153stable
philss/floki
Floki is an Elixir HTML parser that lets you search document nodes using CSS selectors. It supports multiple parsing backends (mochiweb_htm…
872148stable
CSSTree
CSSTree is a JavaScript tool set for CSS that includes a fast, detailed parser (CSS to AST), AST walker, generator (AST to CSS), and lexer …
822127stable
rubberduck-vba/Rubberduck
Rubberduck is a COM add-in that modernizes the legacy Visual Basic Editor (VBE) used for VBA and VB6 development. It provides static code a…
102126active
lexbor/lexbor
Lexbor is a fast, standards-compliant HTML parser and DOM library written in pure C99, with additional modules for CSS, URL, encoding, and …
802111active
feedjira/feedjira
Feedjira is a Ruby library for parsing syndication feeds such as RSS and Atom. It supports extensible and custom parsers, letting users add…
752100active
docopt
docopt is a command-line argument parsing library that generates a parser from the help message/usage patterns you write in your program's …
418004maintenance
Djot
Djot is a lightweight markup language derived from CommonMark that fixes CommonMark's parsing ambiguities while adding features like footno…
602048active
minio/simdjson-go
A pure Go port of the simd high-performance JSON parser that uses SIMD instructions to parse gigabytes of JSON per second. It provides vali…
362043active
Fengari
Fengari is a complete Lua 5.3 virtual machine, parser, and base libraries ported from the Lua C library to JavaScript ES6, runnable in Node…
522033active
jkuhlmann/cgltf
cgltf is a single-file, stb-style C99 library for parsing and writing glTF 2.0 and GLB 3D asset files. It is widely adopted in graphics eng…
482015stable
Instagram/LibCST
LibCST is a concrete syntax tree (CST) parser and serializer library for Python that preserves formatting details like whitespace and comme…
871962active
INRIA/spoon
Spoon is an open-source Java metaprogramming library that parses Java source code into a well-designed AST and provides powerful APIs for a…
871959active
Caliptra
Verible is a suite of SystemVerilog (IEEE 1800-2017) developer tools built in C++, including a parser, style linter, formatter, and Languag…
931956active
codeplea/tinyexpr
TinyExpr is a small recursive descent parser, compiler, and evaluation engine for math expressions in C. It ships as a single source and he…
951936stable
yob/pdf-reader
PDF::Reader is a Ruby library that parses PDF files according to the Adobe PDF specification, providing programmatic access to document met…
721931active
erikrose/parsimonious
Parsimonious is a pure-Python parsing library based on parsing expression grammars (PEGs), letting you define grammars in a simplified EBNF…
521916active
jquery/esprima
Esprima is a high-performance, standard-compliant ECMAScript (JavaScript) parser written in TypeScript/JavaScript, producing ESTree-format …
327140maintenance
Ada URL Parser
Ada is a fast, WHATWG-compliant URL parser written in modern C++, including a full URLPattern implementation. It is the default URL parser …
951881stable
cbeust/klaxon
Klaxon is a JSON parsing library for Kotlin offering object binding, streaming, low-level manipulation, and JSON path query APIs. It maps J…
581863stable
clj-kondo/clj-kondo
clj-kondo is a static analyzer and linter for Clojure, ClojureScript, and EDN code that detects errors and style issues without executing t…
911861active
Andersbakken/rtags
RTags is a client/server application that indexes C/C++/ObjC code using clang, maintaining a persistent database of symbols, references, an…
821845active
Vexu/arocc
Aro is a modern C compiler written in Zig that aims for fast compilation, low memory usage, and high-quality diagnostics, with support for …
761832active
aantron/better-enums
Better Enums is a single-header C++ library that adds reflection to enums, enabling string conversion, iteration, and counting at compile t…
231830stable
MyIntervals/PHP-CSS-Parser
A PHP library that parses CSS files into a manipulable data structure and can output the structure back as (optimized) CSS. It supports str…
881828active
bytecodealliance/wasm-tools
A Bytecode Alliance project providing a CLI and Rust libraries for low-level manipulation of WebAssembly modules. It supports validation, p…
941799active
doctrine/annotations
Doctrine Annotations is a PHP library that parses docblock annotations (@-syntax in PHPDoc comments) and exposes them via reflection-based …
446728maintenance
r1chardj0n3s/parse
A Python library that parses strings using a specification based on the Python format() syntax, effectively the inverse of str.format(). It…
921793stable
standardese/cppast
cppast is a C++ library providing a high-level interface to the C++ abstract syntax tree, built on top of libclang with workarounds for its…
571784active
Masterminds/html5-php
A standards-compliant HTML5 parser and serializer written entirely in PHP. It parses HTML5 documents and fragments into standard PHP DOM ob…
811783stable
sebastianbergmann/code-unit-reverse-lookup
A small PHP library that maps a line of code to the function or method it belongs to. It is primarily used as a dependency of PHPUnit and i…
306677maintenance
tabatkins/railroad-diagrams
A small JS and Python library for generating railroad (syntax) diagrams as SVG or Unicode text, like those on JSON.org. It visually represe…
651767stable
vstakhov/libucl
A C library for parsing and emitting UCL (Universal Configuration Language), an nginx-inspired configuration format fully compatible with J…
811743stable
gomarkdown/markdown
gomarkdown/markdown is a fast Go library for parsing Markdown text into an AST and rendering it as HTML, with support for common Markdown e…
771738active
jzimmerman/langcc
langcc is a next-generation compiler compiler that generates efficient linear-time parsers and full compiler frontends (AST definitions, tr…
321729stable
sebastianbergmann/php-token-stream
A PHP library that wraps PHP's tokenizer extension, providing an object-oriented interface for working with tokenized PHP source code. It w…
326372maintenance
jquery/sizzle
Sizzle is a pure-JavaScript, bottom-up CSS selector engine designed to be dropped into a host library, historically serving as jQuery's sel…
476299maintenance
filhodanuvem/gitql
Gitql is a CLI tool that provides a SQL-like query language for querying Git repository data such as commits, tags, and authors. It interpr…
236292maintenance
eemeli/yaml
A comprehensive YAML parser and stringifier library for JavaScript and TypeScript, supporting YAML 1.1 and 1.2 with full comment and blank-…
921693stable
88250/lute
Lute is a structured Markdown engine implemented in Go and compiled to JavaScript via GopherJS. It fully implements the GFM/CommonMark spec…
931677active
rsms/markdown-wasm
markdown-wasm is a very fast Markdown parser and HTML renderer compiled from C (based on md4c) to WebAssembly, compliant with the CommonMar…
321673stable
beevik/etree
A lightweight, pure Go library that represents XML documents as element trees, inspired by Python's ElementTree. It supports parsing, creat…
931670stable
crdoconnor/strictyaml
StrictYAML is a type-safe YAML parser and validator for Python that parses a restricted, safer subset of the YAML spec, avoiding pitfalls l…
391632stable
Hejsil/zig-clap
zig-clap is a simple and easy-to-use command line argument parsing library for Zig. It supports short and long arguments, chained flags, mu…
761628active
Scony/godot-gdscript-toolkit
A set of independent GDScript tools written in Python, including a parser (gdparse), linter (gdlint), formatter (gdformat), and a code metr…
441614active
kevinmehall/rust-peg
rust-peg is a Parsing Expression Grammar (PEG) parser generator for Rust, provided as a proc macro that builds a recursive descent parser f…
671604stable
CJex/regulex
Regulex is a JavaScript regular expression parser and visualizer that converts regex into ASTs and renders railroad-style diagrams. It runs…
325823maintenance
dtolnay/quote
A Rust crate providing the quote! macro for turning Rust syntax tree data structures into token streams of source code. It is primarily use…
861582stable
BurntSushi/memchr
A Rust library providing heavily optimized byte and substring search routines, accelerated with SIMD on x86_64, aarch64, and wasm32. It ope…
721580stable
wooorm/markdown-rs
markdown-rs is a CommonMark-compliant Markdown parser written in safe Rust, exposing both an mdast syntax tree and direct HTML compilation.…
381579stable
servo/rust-url
rust-url is the standard URL parsing and manipulation library for Rust, implementing the WHATWG URL Standard. It provides the `Url` type wi…
731575stable
tafia/quick-xml
quick-xml is a high-performance XML pull reader and writer library for Rust, featuring near zero-copy parsing with Cow types and buffer reu…
891570stable
m4b/goblin
Goblin is a Rust library for parsing and loading binary executable formats including ELF, Mach-O, PE, and Unix/BSD archives. It offers zero…
741556stable
rxi/sj.h
sj.h is a tiny ~150-line C99 JSON parsing library distributed as a single header. It performs zero-allocation, streaming-style parsing and …
341549stable
phpstan/phpdoc-parser
A PHP library that parses PHPDoc comments into an abstract syntax tree, supporting modern type syntax like generics, intersection types, ar…
911536stable
Blackfriday
Blackfriday is a fast, paranoid Markdown processor library for Go that parses Markdown into an AST and renders HTML, with support for commo…
235601maintenance
YAML Language Server
A language server implementing the Language Server Protocol (LSP) for YAML files, providing validation, schema-driven completion, hover, fo…
751525active

← prev page 2 / 5 next →