xh

github.com/ducaale/xh Network Tools Open-source projectOpen source

HTTP requests can be sent from the command line using xh, a fast tool inspired by HTTPie.

github.com/ducaale/xh
xh homepage screenshot

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
Best for: Developers who test APIs or debug HTTP requests from the command line.
Good for
  • Open-source repository
  • Provides prebuilt binaries for Linux, macOS, and Windows
  • Installable via many package managers, including options for Android
Watch out for
  • 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

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.

All 24 alternatives

Popular in Network Tools

Well-known listings from the same topic.

All 72

xh FAQ

How do I send a request with xh?
Run xh followed by an optional HTTP method, a URL, and optional key-value pairs to include in the request.
How do I install xh?
Use the install script for Linux, macOS, or Windows, a system package manager, or prebuilt binaries from the release page.
How do I resume an interrupted download?
Use --continue together with --download and --output.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing