Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

xh

github.com

  • Free plan
  • Open source
  • Windows
  • macOS
  • Linux
  • Android
8.2 Club score Visit github.com

What xh is

xh is a free command-line tool for sending HTTP requests, with a focus on improved performance. Its request-item syntax follows HTTPie's approach to specifying headers, bodies, and query strings. Requests can contain JSON, form data, multipart content, or raw data, and their bodies can come from standard input or a file. Responses can be pretty-printed, limited to headers or body output, and saved or downloaded to a file. Authentication options include basic, bearer, and digest. The project lists HTTP/2 support, and its Cargo manifest has an optional HTTP/3 feature. TLS controls include version selection, certificate verification configuration, and client-side certificates. The --curl option translates a request into a curl command. Prebuilt binaries are provided for Linux, macOS, and Windows, with package-manager installation instructions for those systems and Android. xh is distributed under the MIT License. It can run in HTTPie compatibility mode when invoked as http or https, or when XH_HTTPIE_COMPAT_MODE is set. The project notes that some HTTPie features are not implemented, there is no plugin system, and its documentation is worse than HTTPie's.

Who it suits

xh suits people who prefer sending HTTP requests from the command line and want request-body, authentication, and response-output options. Its compatibility mode may help users working with HTTPie-style commands.

Good to know, and what to watch

  • Accepts JSON, form, multipart, and raw request bodies.
  • Supports basic, bearer, and digest authentication.
  • Can save or download response output to a file.
  • Offers TLS settings and client-side certificates.
  • Free and distributed under the MIT License.
  • Not all HTTPie features are implemented.
  • There is no plugin system.
  • Project documentation is described as worse than HTTPie's.

xh

Free

Free plan

Getting started

  1. Open the xh GitHub repository
  2. Install a prebuilt binary for Linux, macOS, or Windows
  3. Use package-manager instructions for a supported platform or Android
  4. Send requests with HTTPie request-item syntax
  5. Enable HTTPie compatibility mode by invoking http or https, if needed
  6. Use --curl to translate a request into a curl command

Limits to check

xh is free under the MIT License, but the README says some HTTPie features are not implemented and there is no plugin system. Its documentation is described as weaker than HTTPie’s, and HTTP/3 is an optional Cargo feature.

The Club's review

xh is a free, fast command-line HTTP client for developers, testers and support staff who work from a terminal. It suits people who want HTTPie-style request construction with practical response controls, especially across several desktop operating systems. Its focused implementation is useful for everyday API work, but teams dependent on HTTPie’s full feature set or extensibility should look elsewhere.

Overview

xh uses HTTPie’s request-item syntax, allowing headers, query strings and request bodies to be expressed in a compact command. That makes it approachable for HTTPie users while remaining suitable for scripting and repeatable command-line procedures. The project is free, open source and released under the MIT License, with prebuilt binaries and package-manager guidance for Linux, macOS, Windows and Android.

The main compromise is scope. xh does not implement every HTTPie feature, has no plugin system, and its documentation is less complete than HTTPie’s. It is therefore a sensible focused client rather than a drop-in replacement for every HTTPie workflow.

Key features

Request bodies cover JSON, form data, multipart and raw data. Input can come from standard input or a file, so xh can handle both quick interactive requests and payloads generated by other command-line tools. Headers, query parameters and bodies share the same request-item approach, reducing the need to switch syntax between common API tasks.

Response handling is more useful than a simple terminal dump. xh can pretty-print output, show only headers or only the body, and save or download responses to a file. Those controls help when troubleshooting an endpoint, extracting a payload for another step, or retaining a server response for later review.

Basic, bearer and digest authentication cover common protected endpoints. TLS options include version selection, certificate-verification configuration and client-side certificates, giving administrators control for environments with stricter connection requirements. The README lists HTTP/2 support, while the Cargo manifest includes an optional HTTP/3 feature.

The --curl option converts a request into a curl command, which is useful when handing a reproducible request to a colleague or adapting it to a system where curl is standard. HTTPie compatibility mode works when xh is invoked as http or https, or when XH_HTTPIE_COMPAT_MODE is set.

Pricing

There is one plan: xh costs nothing. It is an open-source command-line HTTP client with no seat, usage or renewal charge stated. That makes it appropriate for individual developers, support teams and organizations that can install and maintain command-line software themselves. There is no paid tier offering additional features or support, so readers needing commercial service terms must consider another product.

Platforms

xh supports Android, Linux, macOS and Windows. Prebuilt binaries are provided for Linux, macOS and Windows, with package-manager installation instructions covering those platforms and Android. This broad coverage helps teams standardize scripts across mixed workstations, although the tool remains terminal-based rather than a graphical application.

Who it's for

Choose xh for API calls, endpoint troubleshooting, authentication checks and response capture from a shell. It is particularly well suited to HTTPie users who value a faster-focused client, and to engineers who need JSON, multipart or file-backed requests in scripts. Its MIT license and free plan also fit self-managed environments that prefer open-source tooling.

Look beyond xh if your workflow depends on HTTPie features that xh has not implemented, requires plugins, or needs documentation as comprehensive as HTTPie’s. Users wanting a visual interface or built-in vendor support should also consider a different class of API client.

Pros and cons

  • Pro: HTTPie-style request items make headers, query strings and bodies concise to compose.
  • Pro: JSON, form, multipart, raw, standard-input and file bodies cover varied command-line payload workflows.
  • Pro: Pretty-printing, selective output and file saving make responses easier to inspect and reuse.
  • Pro: Authentication and TLS controls support secured endpoints beyond default connection settings.
  • Pro: Free MIT-licensed software with binaries for major desktop platforms lowers adoption cost.
  • Con: Missing HTTPie features can prevent a direct migration for advanced users.
  • Con: No plugin system limits customization and integrations.
  • Con: Weaker documentation increases the learning and troubleshooting burden compared with HTTPie.

Alternatives

For a broader set of command-line and graphical tools, browse API clients. The linked Veracity Learning, SQL LRS, Cluelabs LRS, Sereni LRS, TRAX LRS, Jupiter, Mosra and SCORM Cloud LRS are learning-record-store products, so choose them for xAPI or learning-data management rather than for sending HTTP requests from a shell. The directory also covers Learning Record Store Software, Event Lead Capture Software and Exhibitor Management Software for those respective business needs.

Verdict

xh is a strong choice for developers and technical support teams wanting a free, open-source terminal client with HTTPie-style syntax, flexible payloads and controlled response output. Choose it when speed, portability and command-line scripting matter more than a complete HTTPie feature set. Choose another client when plugins, exhaustive documentation or broader HTTPie compatibility are essential.

The verdict

xh offers a free command-line workflow for building requests and inspecting or saving responses. Check the missing HTTPie features and lack of plugins if those matter to your workflow.

Questions people ask

What does xh cost?

xh has a free plan priced at no cost.

Which platforms can run xh?

It supports Android, Linux, macOS, and Windows, with binaries or package-manager installation guidance.

What request formats are supported?

xh accepts JSON, form data, multipart requests, raw data, and bodies from standard input or a file.

Which authentication methods are available?

Command-line options include basic, bearer, and digest authentication.

Is xh open source?

Yes. The project is distributed under the MIT License.

Can xh create curl commands?

Yes. The --curl flag translates a request into a curl command.

What the maker publishes

API and SDKs
xh is a standalone command-line API client; the project documents no language SDK or embeddable public API. source
Authentication
The command-line options include basic, bearer, and digest authentication. source
Authentication
Basic, bearer and digest authentication are supported, along with .netrc credentials. source
Build requirement
Building from Cargo requires Rust 1.85 or later. source
Compatibility
xh can run in HTTPie compatibility mode when invoked as http or https, or when XH_HTTPIE_COMPAT_MODE is set. source
Curl conversion
The --curl option prints an equivalent curl command instead of sending the request. source
Debian availability
Debian trixie carries xh 0.24.0-1 in its utils section and describes it as an ergonomic HTTPie-inspired frontend focused on performance. source
Documentation
Documentation consists of a README, FAQ, generated/manual pages, examples and a changelog, and the project itself describes its documentation as worse than HTTPie’s. source
Downloads
The client can save response bodies to files and resume interrupted downloads. source
Extensibility
The README states that xh has no plugin system. source
Form and multipart data
xh can submit URL-encoded form fields or force multipart/form-data requests, including file uploads. source
Free plan
Yes source
HTTPie compatibility
The tool accepts HTTPie-style request-item syntax for headers, query parameters, JSON fields, forms and file uploads. source
HTTP versions
The command supports HTTP/1.0, HTTP/1.1, HTTP/2, HTTP/2 prior knowledge and experimental HTTP/3 modes. source
Independent package availability
Homebrew provides xh 0.26.2 bottles for Apple Silicon, Intel macOS and Linux ARM64 or x86_64. source
Independent package metadata
Arch Linux packages xh 0.26.2-1 for x86_64 under the MIT license, with a 3.1 MB package and 9.6 MB installed size. source
Installation
The project provides prebuilt binaries for Linux, macOS, and Windows, plus package-manager installation instructions for those and Android. source
Installation platforms
Official installation instructions cover Linux, macOS, Windows, Android through Termux or root managers, FreeBSD, NetBSD and multiple package managers. source
Integrations
xh can translate a request into a curl command with its --curl flag. source
JSON requests
Command-line data defaults to a JSON object, with literal JSON values supported through the := syntax. source
Licence
The software is released under the MIT License with permission to use, modify, distribute and sell copies. source
License
The project is distributed under the MIT License. source
Limitations
The README says not all HTTPie features are implemented, xh has no plugin system, and its documentation is worse than HTTPie's. source
Limit: header encoding
The FAQ explains that non-ASCII HTTP header values may display as ISO-8859-1 text with an additional UTF-8 interpretation, and servers may receive the mangled form. source

Checked against the maker's pages on 15 Oct 2026.