Parser

Open-source projects categorized as Parser

Top 23 Parser Open-Source Projects

  1. MinerU

    Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

    Project mention: The quiet race to turn messy documents into AI-ready text | dev.to | 2026-07-01

    The MinerU project has been climbing fast on GitHub, where developers share code, by doing a similar job with one big difference: you run it yourself, for free, on your own machines. It converts complex PDFs and office files into clean markdown and structured data, the tidy formats that AI systems digest easily. Where Mistral's offering is a polished service you pay to call, MinerU is a workhorse you own and control.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. marked

    A markdown parser and compiler. Built for speed.

    Project mention: Astro 7.0 | news.ycombinator.com | 2026-07-07

    How does Satteri compare to a standard library like marked (https://github.com/markedjs/marked)?

  4. swc

    Rust-based platform for the Web

    Project mention: How I'm Productive with Claude Code | news.ycombinator.com | 2026-03-23
  5. cheerio

    The fast, flexible, and elegant library for parsing and manipulating HTML and XML.

    Project mention: How I Built drift-guard: A CLI to Stop AI Agents from Destroying Your Design | dev.to | 2026-03-12

    drift-guard uses css-tree for CSS parsing and cheerio for HTML. It walks the AST and extracts every design-relevant declaration into categorized tokens.

  6. PostCSS

    Transforming styles with JS plugins

    Project mention: PostCSS Adopted Staged Publishing. 685M Weekly Downloads Now Gated. | dev.to | 2026-06-27

    On June 18, 2026, I filed postcss/postcss#2096 about OIDC provenance for PostCSS. The ai npm account — one person, Andrey Sitnik — publishes PostCSS, nanoid, Autoprefixer, browserslist, and caniuse-lite. Combined: over 900 million weekly downloads through a single publish credential.

  7. pydantic

    Data validation using Python type hints

    Project mention: pydantic VS ctxure - a user suggested alternative | libhunt.com/r/pydantic | 2026-06-05
  8. tree-sitter

    An incremental parsing system for programming tools

    Project mention: Architecture Teardown: How Meta Trains LLMs for Code Generation on 100k GPU Clusters | dev.to | 2026-04-29

    import hashlib from tree_sitter import Language, Parser # https://github.com/tree-sitter/tree-sitter def normalize_code(content: str, lang: str = \"python\") -> str: parser = Parser() parser.set_language(Language(f\"build/{lang}.so\", lang)) tree = parser.parse(bytes(content, \"utf-8\")) # Return normalized AST string (strip whitespace/comments) return str(tree.root_node) def get_content_hash(content: str) -> str: normalized = normalize_code(content) return hashlib.sha256(normalized.encode(\"utf-8\")).hexdigest()

  9. oxc

    ⚓ A collection of high-performance JavaScript tools.

    Project mention: Vite+ Beta | news.ycombinator.com | 2026-07-02

    being worked on : https://github.com/oxc-project/oxc/discussions/21936

  10. PHP Parser

    A PHP parser written in PHP

    Project mention: Bimaaji: agent-safe mutations for Waaseyaa | dev.to | 2026-07-01

    src/Patch/PatchGenerator.php takes a validated MutationRequest and produces a PatchSet of PatchEntry objects. For PHP files, it uses nikic/php-parser via PhpFileBuilder to round-trip through an AST. That means the patch is syntactically valid by construction. You cannot generate a patch that breaks parsing because the patch itself is a parsed tree that gets printed back out.

  11. Parsedown

    Better Markdown Parser in PHP

  12. jsoup

    jsoup: the Java HTML parser, built for HTML editing, cleaning, scraping, and XSS safety.

    Project mention: Best Java Web Scraping Libraries | dev.to | 2026-05-27

    jsoup is usually the best first option for static HTML extraction. Its official website describes it as a Java HTML parser for real-world HTML and XML, supporting URL fetching, parsing, DOM traversal, CSS selectors, and XPath selectors jsoup official documentation.

  13. Crafting Interpreters

    Repository for the book "Crafting Interpreters"

    Project mention: Making your own programming language is easier than you think (but also harder) | news.ycombinator.com | 2026-05-09

    I wish people would start with Nystrom's https://www.craftinginterpreters.com/ and avoid the dragon etc unless they really, really need it. Almost everything I have learnt about compiler/vm development, I have done so by reading random blogs and articles on various aspects and small tutorials on writing parsers and vms.

    Even stuff like Crenshaw's Let's Build a Compiler was more useful to me than all these books that do lexical analysis using regular expressions. I have written lexers and parsers hundreds of times for all kinds of DSLs and config and not once have I used regular expressions to scan the text.

  14. nom

    Rust parser combinator framework

    Project mention: A Grammar-First Approach to Parser Combinators in Rust | dev.to | 2026-05-28

    Rust already has well-established parser combinator libraries like nom and chumsky, so why build another one?

  15. sqlglot

    Python SQL Parser and Transpiler

    Project mention: I rewrote PostHog's SQL parser, 70x faster, while barely looking at the code | news.ycombinator.com | 2026-06-24
  16. terser

    🗜 JavaScript parser, mangler and compressor toolkit for ES6+

    Project mention: How to Minify JavaScript Without Build Tools | dev.to | 2026-03-19

    Terser is the industry standard JavaScript minifier. The --compress flag enables dead code elimination and constant folding. The --mangle flag shortens variable names.

  17. sh

    A shell parser, formatter, and interpreter with bash and zsh support; includes shfmt (by mvdan)

  18. dasel

    Unified querying, transformation, and modification of JSON, TOML, YAML, XML, INI, HCL, KDL and CSV.

  19. lightningcss

    An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.

  20. boa

    Boa is an embeddable Javascript engine written in Rust.

    Project mention: Brimstone: ES2025 JavaScript engine written in Rust | news.ycombinator.com | 2025-11-16

    It looks like Boa has Unicode tables compiled inside of itself: https://github.com/boa-dev/boa/tree/main/core/icu_provider

    Brimstone does not appear to.

    That covers the vast bulk of the difference. The ICU data is about 10.7MB in the source (boa/core/icu_provider) and may grow or shrink by some amount in the compiling.

    I'm not saying it's all the difference, just the bulk.

    There's a few reasons why svelte little executables with small library backings aren't possible anymore, and it isn't just ambient undefined "bloat". Unicode is a big one. Correct handling of unicode involves megabytes of tables and data that have to live somewhere, whether it's a linked library, compiled in, tables on disks, whatever. If a program touches text and it needs to handle it correctly rather than just passing it through, there's a minimum size for that now.

  21. MegaParse

    File Parser optimised for LLM Ingestion with no loss 🧠 Parse PDFs, Docx, PPTx in a format that is ideal for LLMs.

    Project mention: 📰 All Data and AI Weekly #231-02March2026 | dev.to | 2026-03-02

    MegaParse: The ultimate parser for LLMs.

  22. esprima

    ECMAScript parsing infrastructure for multipurpose analysis

    Project mention: Fastest Front End Tooling for Humans and AI | news.ycombinator.com | 2026-02-18

    Hasn't that already been tried (10+ years ago) with projects like https://github.com/jquery/esprima ? Which have since seen usage dramatically reduced for performance reasons.

  23. pdfminer.six

    Community maintained fork of pdfminer - we fathom PDF

    Project mention: Extract Text from PDFs with PDFMiner in Python | dev.to | 2025-12-29

    PDFMiner.six Official Documentation

  24. astexplorer

    A web tool to explore the ASTs generated by various parsers.

    Project mention: One PR to a parser unlocked prerendering in Brisa | dev.to | 2026-04-23

    AST Explorer exists, and it's great. I use it regularly. It's the reference tool for exploring ASTs. I wanted to build something similar as part of Kitmul; my own version of an AST visualizer with parser selection, interactive tree view, and support for the parsers I use daily.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Parser discussion

Log in or Post with

Parser related posts

  • Satteri: A Markdown pipeline forged in Rust for the JavaScript world

    1 project | news.ycombinator.com | 7 Jul 2026
  • Astro 7.0

    4 projects | news.ycombinator.com | 7 Jul 2026
  • GSL: Because Your Architecture Diagrams Should Be Searchable

    1 project | dev.to | 7 Jul 2026
  • Reading and Stripping EXIF Metadata in the Browser with exifr

    1 project | dev.to | 4 Jul 2026
  • Bimaaji: agent-safe mutations for Waaseyaa

    2 projects | dev.to | 1 Jul 2026
  • The quiet race to turn messy documents into AI-ready text

    1 project | dev.to | 1 Jul 2026
  • PostCSS Adopted Staged Publishing. 685M Weekly Downloads Now Gated.

    2 projects | dev.to | 27 Jun 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 10 Jul 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Parser projects? This list will help you:

# Project Stars
1 MinerU 73,916
2 marked 36,955
3 swc 34,122
4 cheerio 30,403
5 PostCSS 28,975
6 pydantic 28,188
7 tree-sitter 26,106
8 oxc 21,828
9 PHP Parser 17,440
10 Parsedown 15,056
11 jsoup 11,376
12 Crafting Interpreters 10,732
13 nom 10,428
14 sqlglot 9,398
15 terser 9,308
16 sh 8,875
17 dasel 7,994
18 lightningcss 7,604
19 boa 7,373
20 MegaParse 7,366
21 esprima 7,132
22 pdfminer.six 7,002
23 astexplorer 6,530

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Rust is
the 3rd most popular programming language
based on number of references?