xidel
« Back to VersTracker
Description:
XPath/XQuery 3.0, JSONiq interpreter to extract data from HTML/XML/JSON
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: web-scraping xpath xquery jsoniq cli data-extraction
Install: brew install xidel
About:
Xidel is a powerful command-line tool for extracting data from HTML, XML, and JSON sources using XPath 2.0/3.0, XQuery 3.0, and JSONiq expressions. It can process local files or fetch data directly from web URLs, handling complex queries and data transformations efficiently. Its main value is providing a unified, robust interface for web scraping and data extraction tasks that would otherwise require multiple tools.
Key Features:
  • Supports XPath 2.0/3.0, XQuery 3.0, and JSONiq
  • Can fetch data directly from URLs and process local files
  • Advanced pattern matching capabilities for complex data extraction
  • Outputs data in various formats like JSON, XML, or plain text
Use Cases:
  • Web scraping and data mining from HTML pages
  • Extracting specific data points from complex JSON APIs
  • Automating data retrieval and transformation from web sources
Alternatives:
  • jq – jq is specialized for JSON, whereas Xidel handles XML, HTML, and JSON with a broader query language set.
  • curl + xmllint – Requires chaining multiple tools; Xidel integrates fetching and querying into a single command.
Version History
Detected Version Rev Change Commit