curl2ts 🔒 100% client-side

About curl2ts

Most cURL converters treat TypeScript as an afterthought: they emit untyped JavaScript and paste the request body as an opaque JSON string. curl2ts does one thing — turn a cURL command into idiomatic, strictly-typed TypeScript you can drop straight into a Next.js, Vite, React, Hono or Node project.

What it generates

Privacy first

Real cURL commands copied from DevTools are full of production tokens and session cookies. That's why everything runs locally in your browser — no request ever leaves the page. Read the privacy policy.

Open and simple

curl2ts is a small static site built with Astro and hosted on Cloudflare Pages. No accounts, no tracking of your input, no backend.