expat
« Back to VersTracker
Description:
XML 1.0 parser
Type: Formula  |  Latest Version: 2.7.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: xml parser c-library xml-parser development
Install: brew install expat
About:
Expat is a stream-oriented XML 1.0 parser library written in C. It provides a robust and high-performance foundation for parsing XML data incrementally, making it ideal for network protocols and large file processing. Its lightweight design and portability have made it a core component in countless software projects.
Key Features:
  • Stream-oriented parsing for low memory usage
  • High performance and highly configurable
  • Written in C for maximum portability
  • Supports multiple character encodings
Use Cases:
  • Parsing XML configuration files in C/C++ applications
  • Handling XML-based network protocols like SOAP
  • Processing large XML datasets without loading entire file into memory
Alternatives:
  • libxml2 – More feature-rich (includes XPath, schema validation) but larger and more complex than Expat.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit