h2c
« Back to VersTracker
Description:
Headers 2 curl
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: curl http2 developer-tools debugging api
Install: brew install h2c
About:
H2c is a command-line utility that converts HTTP/2 headers into a cURL command. It simplifies the process of debugging and replicating API requests by translating raw header data into executable cURL commands. This tool is particularly useful for developers working with complex HTTP/2 interactions.
Key Features:
  • Converts HTTP/2 headers to cURL commands
  • Supports HTTP/2 and HTTP/1.1 protocols
  • Simple command-line interface
  • Helps in debugging and replicating API requests
Use Cases:
  • Debugging API requests by converting captured headers into executable commands
  • Sharing API call examples with team members in a standard cURL format
  • Converting browser network logs into cURL for server-side testing
Alternatives:
  • curlconverter – A more comprehensive tool that supports converting requests from multiple sources (like HAR, browser exports) to various languages and tools, not just cURL.
Version History
Detected Version Rev Change Commit