VibeHunt
Back to browse

xq

XML and HTML beautifier and content extractor.

Source

A command‑line utility formats XML and HTML with syntax highlighting, automatic indentation, and pagination. It can read files directly, accept piped input, and process multiple documents in one call. In‑place editing is available, and the tool also supports converting the structured data to JSON while preserving element hierarchy, attributes, and text nodes.

The program extracts content using either XPath expressions or CSS selectors, allowing retrieval of node text, attribute values, or entire tag fragments. Options let users output only the selected portion, include tags, or produce JSON representations of the extracted data.

Installation is provided for macOS via Homebrew or MacPorts, for various Linux distributions through package managers, via a custom installer script, or by building from source with Go. Docker images are also supplied for isolated use.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps