- 100% client-side isolated
- 0ms latency
- 4 tools, no signup
Read, run and fake an API without leaving your browser
Convert any cURL command into fetch, Axios, requests, httpx, Go, Node, PHP or Java, test endpoints live, and generate seeded mock JSON payloads up to 500 rows.
- cURL to 8 languages
- Live HTTP requests
- Seeded mock payloads
Free tools
The whole request loop, served locally
One hub, no accounts and no proxy: commands are parsed, requests are sent by your own browser and fixtures are generated on your device.
cURL Converter
LivePaste a cURL command and get runnable code for JavaScript fetch and Axios, Python requests and httpx, Go, Node.js, PHP and Java. Headers, method, query params, basic auth and the body are all read from the command itself.
Open toolAPI Tester
LiveSend GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS requests straight from the browser with custom headers and a JSON body. Read the status code with its meaning, the formatted response, the headers and the round-trip time.
Open toolMock JSON
LiveGenerate realistic dummy data for REST APIs: users, e-commerce orders, products, blog posts, comments and invoices, with field-level control, 1 to 500 rows, a reproducible seed and one-click export as .json or NDJSON.
Open toolGraphQL Tester
SoonCompose a query with variables, introspect the schema of an endpoint and export the request as cURL or code. In development on the same client-side pipeline.
In development
Start with the command you already have
The converter below is the full tool: paste a cURL command, watch the parser describe the request, then copy the snippet for whichever language you are writing.
1. Paste the cURL command
Quotes, line continuations, short flags and -G are all understood.
- Method
- POST
- Headers
- 3
- Body
- json
- Auth
- bearer
- Query params
- 0
- Cookies
- 0
2. Copy the code
Eight targets, one request: the same URL, method, headers and body every time.
Request snippets
Pick a language, then copy or download the file.
const payload = { "name": "Ada Lovelace", "email": "ada@example.com", "role": "admin"}; const response = await fetch("https://api.example.com/v1/users", { method: "POST", headers: { "Content-Type": "application/json", "Accept": "application/json", "Authorization": "Bearer sk_live_9f2c", }, body: JSON.stringify(payload),}); if (!response.ok) { throw new Error(`Request failed with status ${response.status}`);} const data = await response.json();console.log(data);- 100% client-side isolated
- 0ms latency
- 8 languages
Need the flag reference and the parser rules? Open the cURL converter
How it works
API tooling that runs in your tab
No proxy, no sign-up and nothing to wait for: commands are parsed, requests are sent by your browser and fixtures are generated inside this page, so the result appears while you type.
1. Paste the command or the request
A cURL command, a URL with headers, or a set of toggles: the studio reads what you give it and shows how it interpreted every part before generating anything.
2. Pick the target you actually use
Eight code targets for the converter, three envelopes for the mock payloads, and a method, header and body editor for the inspector. Every option is a visible control, never a hidden default.
3. Watch the output update live
Syntax-highlighted snippets, a formatted response body, or a full JSON fixture re-render as you type. There is no submit step and no queue: the work happens on this device.
4. Check it before you paste it
Malformed quotes, headers without a colon, a missing Content-Type, a blocked CORS request and flags with no code equivalent are all reported next to the result instead of being silently dropped.
Privacy by architecture
Nothing is uploaded — and you can verify it
Privacy claims are cheap, so this one is falsifiable: there is no server-side code path here that could receive your data even if it wanted to.
No proxy, so no token to leak
APICraft ships no backend route that accepts a request, a command or a credential. Open DevTools, watch the Network tab and use any tool: the only requests are the page assets, plus the one you explicitly send from the inspector.
Your input stays in memory
Commands, headers and bodies live in React state inside the tab. They are never written to localStorage and never persisted, so closing the tab really does discard them.
Deterministic output, byte for byte
The code generators never consult the clock, the locale or a random source, and the mock generator is driven by your seed — so the same input always produces exactly the same output.
Free forever, no account required — the tools are static pages that run entirely on the client.
APICraft FAQ
CORS, privacy, tokens, reproducibility and what each generator actually reads.
Is anything I paste here sent to your servers?
No. APICraft is a set of static pages with no backend API of its own: there is no endpoint that accepts your command, your request or your token. Open DevTools, watch the Network tab and use any tool — the only requests are the page assets, plus the one you explicitly send from the API tester.
Do I need an account or a paid plan?
No account, no sign-up, no quota and no watermarked output. Every tool is free and unlimited, and the generated code has no attribution or licence header attached.
Does the API tester really send my request?
Yes, it sends it from your browser with fetch, which is why the browser's own CORS rules apply. If the endpoint does not allow your origin, the request is blocked before it reaches the server and the tool reports that honestly instead of showing a fake status code.
Will the mock data generate the same JSON twice?
Yes, byte for byte. Every value, including the ISO timestamps, comes from a seeded pseudo-random generator anchored to a fixed reference date, so the same entity, field selection and seed always rebuild the same document — which is what makes it usable as a committed test fixture. Press Regenerate timestamps when you want the dates anchored to the current moment instead.
Which languages can the cURL converter output?
JavaScript fetch, JavaScript with Axios, Python with requests, Python with httpx, Node.js using the built-in https module, Go using net/http, PHP using the cURL extension, and Java using the built-in java.net.http client from Java 11 onwards.