Developer Tools

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.

Things to watch:

1,165 GitHub stars · 1.6M downloads · 5 contributors.

Download xq

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

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).