xmq
« Back to VersTracker
Description:
Tool and language to work with xml/html/json
Type: Formula  |  Latest Version: 4.0.1@0  |  Tracked Since: Nov 5, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: xml json html cli data-processing
Install: brew install xmq
About:
xmq is a command-line tool and embedded language designed for parsing, querying, and transforming XML, HTML, and JSON data. It provides a unified syntax for extracting content and manipulating structured documents without needing complex scripts. The tool's main value is simplifying data extraction and conversion tasks from the terminal.
Key Features:
  • Unified query syntax for XML, HTML, and JSON
  • Command-line tool and embeddable language
  • Efficient parsing of large documents
  • Pretty-printing and minification capabilities
Use Cases:
  • Extracting specific data fields from API responses (JSON) or web pages (HTML)
  • Converting between XML and JSON formats for data migration
  • Cleaning up or formatting minified configuration files
Alternatives:
  • jq – jq is specialized for JSON, whereas xmq handles XML, HTML, and JSON with a unified syntax.
  • xmlstarlet – xmlstarlet focuses on XML validation and transformation, while xmq offers broader support for web formats like HTML.
Version History
Detected Version Rev Change Commit
Nov 5, 2025 6:44am 1 VERSION_BUMP 37b06f03
Nov 5, 2025 6:44am 1 VERSION_BUMP 3e65456e
Jan 2, 2025 7:43am 0 NEW 4a60e5da