Test download and upload speeds from the command line using fast.com with fast-cli.
xh
HTTP requests can be sent from the command line using xh, a fast tool inspired by HTTPie.

About xh
xh is a command-line tool for sending HTTP requests. It follows HTTPie's design, accepting an optional method, URL, and key-value request items, with options for JSON, form, multipart, and raw bodies, authentication, sessions, and output control.
It is distributed as an open-source repository with prebuilt binaries for Linux, macOS, and Windows and install commands for many package managers, including Termux on Android. Some install methods need extra setup, such as Rust 1.85 or later for Cargo.
Key features
- Send HTTP requests with optional method, URL, and key-value items
- Serialize data as JSON, form, multipart, or raw body
- Authenticate with basic, bearer, or digest auth
- Create and reuse file-based sessions
- Download body to file and resume interrupted downloads
- Build requests offline without sending them
- Open-source repository
- Provides prebuilt binaries for Linux, macOS, and Windows
- Installable via many package managers, including options for Android
- Cargo install requires Rust 1.85 or later
- Resuming a download requires both --download and --output
- Some packages are built with native-tls only
xh at a glance
- Website
- github.com/ducaale/xh
- Category
- Development › Network Tools
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Platforms
- Android, Linux, macOS, Windows
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
xh alternatives
Tools and sites you could use instead, ranked by how closely they match.
Listen on network ports or open a reverse shell with Rustcat, a cross-platform command-line tool.
Connect local services through Cloudflare Tunnel with cloudflared, the command-line tunnel client.
Benchmark HTTP and HTTPS endpoints with Plow, which displays results in a web UI or terminal.
High-performance HTTP reverse proxy applications can be developed with YARP, a toolkit.
Switch between host file configurations on macOS, Linux, and Windows with SwitchHosts.
Popular in Network Tools
Well-known listings from the same topic.
xh FAQ
How do I send a request with xh?
How do I install xh?
How do I resume an interrupted download?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












