# curlconverter/curlconverter

Transpile curl commands into Python, JavaScript and 27 other languages

Repository: https://github.com/curlconverter/curlconverter
Canonical: https://ross.abutalabs.com/products/curlconverter
Homepage: https://curlconverter.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: curl, tree-sitter
Last push: 2026-03-10T05:06:56+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 71, release rhythm 16, longevity 100
- inputs: {"age_days": 4269, "days_push": 176, "days_rel": 572, "gap_med": 115, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8170, forks 1017 (observed 2026-08-28T04:10:14.026303+00:00)

## What it is
A tool that transpiles curl commands into equivalent code in Python, JavaScript, Go, and 27+ other languages or formats like HTTPie and HAR. It is available as an npm library, a CLI drop-in curl replacement, and a web app.

## Use cases
- convert a curl command to Python requests code
- turn 'copy as cURL' from browser DevTools into JavaScript fetch
- generate HTTP client code in Go, Rust, or PHP from a curl command
- convert curl to HTTPie or Wget syntax
- use as a drop-in curl replacement that prints code instead of making requests

## When to choose
- you have a working curl command and want equivalent code in your language
- you copied a request as cURL from browser DevTools and need it as code
- you want to document HTTP requests as code snippets in many languages

## When to avoid
- you need protocols other than HTTP
- your curl command relies heavily on shell variables or complex subcommands
- you need a language generator as thorough as the Python one for an obscure target

## Facets
- artifact type: cli-tool
- maturity: active
- function: parser, http-client, developer-tools, cli
- domain: developer-tools, web-development, apis
- platform: cli, cross-platform, browser
- tags: curl, transpiler, code-generation, tree-sitter, http, command-line, nodejs, web

## Member repositories
- curlconverter/curlconverter (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:14.026303+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:29:35.645112+00:00, confidence not recorded.
  - readme: https://github.com/curlconverter/curlconverter (fetched 2026-08-28T04:10:14.026303+00:00, sha 098cb705fb97)
  - homepage: https://curlconverter.com (fetched 2026-08-29T08:28:38.548031+00:00, sha d6a1e5f12cea)
  - registry_npm: https://registry.npmjs.org/curlconverter (fetched 2026-08-29T08:28:38.552384+00:00, sha 2765d345fd75)
- Data as of 2026-08-30T08:39:29.467469+00:00.
