Command-line tool
xidel
brew/xidel
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
XPath/XQuery 3.0, JSONiq interpreter to extract data from HTML/XML/JSON
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install xidel
macOS
brew install xidel
Linux
brew install xidel
Print all URLs found by a Google search
xidel https://www.google.com/search?q=test -e "//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']"
Print the title of all pages found by a Google search and download them
xidel https://www.google.com/search?q=test -f "//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']" -e //title --download '{$host}/'
Follow all links on a page and print the titles, with XPath
xidel https://example.org -f //a -e //title
Related command-line tools
- xqilla
XQuery and XPath 2 command-line interpreter - rumbledb
JSONiq and XQuery query engine on Apache Spark - basex
Light-weight XML database and XPath/XQuery processor - vscode-langservers-extracted
Language servers for HTML, CSS, JavaScript, and JSON extracted from vscode - saxon
XSLT and XQuery processor - libxml2
GNOME XML library - ghostscript
Interpreter for PostScript and PDF - xmlstarlet
XML command-line utilities
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents