Location via proxy:   
[Report a bug]   [Manage cookies]                

pugixml

Light-weight, simple and fast XML parser for C++ with XPath support

Repository: Downloads: Documentation: Support:

If you use pugixml, please star it on GitHub!

pugixml is a light-weight C++ XML processing library. It features:

  • DOM-like interface with rich traversal/modification capabilities
  • Extremely fast non-validating XML parser which constructs the DOM tree from an XML file/buffer
  • XPath 1.0 implementation for complex data-driven tree queries
  • Full Unicode support with Unicode interface variants and automatic encoding conversions

The library is extremely portable and easy to integrate and use. You can download it in an archive (Windows/Unix line endings), get it from Git/Subversion repository, install it as a package in one of the major Linux/BSD distributions (Ubuntu, Debian, Fedora, Gentoo, Arch Linux, FreeBSD and more), install it as a package in one of the OSX package managers (Homebrew, MacPorts), install a NuGet package or use one of the alternative package managers (Conda).

pugixml is developed and maintained since 2006 and has many users. All code is distributed under the MIT license, making it completely free to use in both open-source and proprietary applications.

Recent news (more)

  • 10 January 2025 pugixml 1.15 release

    pugixml-1.15 is out. This is a maintenance release that adds support for std::string_view along with compatibility improvements (read the changelog for details).

  • 01 October 2023 pugixml 1.14 release

    pugixml-1.14 is out. This is a maintenance release that adds several minor features (read the changelog for details).