🍺 BREW Explorer

← all formulae

tinyxml2

brew install tinyxml2 v11.0.0 Zlib

C++ XML parser library with low memory footprint and minimal dependencies.

Why you might care

Use tinyxml2 when you need to parse or generate XML in a C++ project without heavyweight dependencies like libxml2. It's a header-only or single-file option that trades some advanced features for drastically smaller binary size and memory usage—ideal for embedded systems, game engines, or performance-sensitive applications.

Categories

Alternatives

libxml2 expat pugixml rapidxml
3.9k
30-day installs · #708
11.8k
90-day · #748
41.8k
365-day · #755

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "libxml2",
    "expat",
    "pugixml",
    "rapidxml"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "library",
    "parser",
    "xml-tool"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Improved tinyxml (in memory efficiency and size)",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:02+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "tinyxml2",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://leethomason.github.io/tinyxml2/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "TinyXML-2: TinyXML-2",
  "installs_30d": 3892,
  "installs_365d": 41754,
  "installs_90d": 11762,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Zlib",
  "llm_generated_at": "2026-06-20T23:46:34+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "tinyxml2",
  "oldnames": [],
  "one_liner": "C++ XML parser library with low memory footprint and minimal dependencies.",
  "optional_dependencies": [],
  "rank_30d": 708,
  "rank_365d": 755,
  "rank_90d": 748,
  "raw_hash": "cc5726f459a1fb8a",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/t/tinyxml2.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "11.0.0",
  "versioned_formulae": [],
  "why_use_this": "Use tinyxml2 when you need to parse or generate XML in a C++ project without heavyweight dependencies like libxml2. It\u0027s a header-only or single-file option that trades some advanced features for drastically smaller binary size and memory usage\u2014ideal for embedded systems, game engines, or performance-sensitive applications."
}