xq
Command-line XML and HTML beautifier and content extractor
By sibprogrammer. Free and open source for Windows, macOS, Linux. Latest version v1.5.1, released 2026-08-23.
Is xq safe?
Trust score 67/100: Good. A solid project with a few gaps. Download from the official release and keep it updated.
- Established community: 1,165 GitHub stars
- Actively developed: code changed in the last 30 days
- Downloads come straight from the project's own GitHub releases
- Publishes checksums so you can verify the files
- Around since 2021
Things to watch:
- No OpenSSF Scorecard report yet, so security practices are unverified
1,165 GitHub stars · 1.6M downloads · 5 contributors.
Download xq
- xq_1.5.1_darwin_amd64.tar.gz (macOS, 2.7 MB)
- xq_1.5.1_darwin_arm64.tar.gz (macOS, 2.5 MB)
- xq_1.5.1_linux_386.tar.gz (Linux, 2.6 MB)
- xq_1.5.1_linux_amd64.tar.gz (Linux, 2.7 MB)
- xq_1.5.1_linux_arm64.tar.gz (Linux, 2.5 MB)
- xq_1.5.1_linux_armv6.tar.gz (Linux, 2.6 MB)
- xq_1.5.1_linux_armv7.tar.gz (Linux, 2.6 MB)
- xq_1.5.1_windows_amd64.zip (Windows, 2.8 MB)
Downloads come straight from github.com/sibprogrammer/xq.
About xq
• Syntax highlighting • Automatic indentation and formatting • Automatic pagination • Node content extraction
HTML content can be formatted and highlighted as well (using -m flag):
It is possible to extract the content using XPath query language. -x parameter accepts XPath expression.
Extract the value of attribute named status and belonging to user:
Similar apps
- Bat: A cat(1) clone with wings. (Good, 65/100)
- Viddy: 👀 A modern watch command. Time machine and pager etc. (Good, 63/100)
- Fm: A terminal based file manager (Use caution, 49/100)
- zsh-patina: $ A blazingly fast Zsh syntax highlighter 🌈 (Good, 62/100)
- Lazygit: simple terminal UI for git commands (High trust, 81/100)
- fd: A simple, fast and user-friendly alternative to 'find' (High trust, 78/100)
Questions
Is xq safe to download?
xq has an OpenShelf trust score of 67/100 (Good). A solid project with a few gaps. Download from the official release and keep it updated. Main thing to watch: No OpenSSF Scorecard report yet, so security practices are unverified.
Is xq free?
Yes. xq is free and open source under the MIT license. The source code is public at github.com/sibprogrammer/xq.
Does xq work on Windows, macOS and Linux?
xq is available for Windows, macOS, Linux. Ready-made downloads exist for Windows, macOS, Linux.
How do I install xq?
Download the official file from the project's GitHub releases (for example xq_1.5.1_darwin_amd64.tar.gz) and run it.
What are alternatives to xq?
Similar open-source apps: Bat (trust 65/100), Viddy (trust 63/100), Fm (trust 49/100), zsh-patina (trust 62/100).