Skip to content
APICraft
  • 100% client-side isolated
  • 0ms latency

Mock JSON payload generator

Build realistic dummy data for users, e-commerce orders, products, blog posts, comments and invoices: choose the fields, set the row count, keep the seed and export the file.

  • 1 to 500 records
  • Reproducible seed
  • Download as .json

A fixture, not a random dump

Derived fields are computed from the record they belong to, so a mocked user's email always matches the name next to it, and the same seed always rebuilds the same document.

1. Pick the shape of the data

Six REST fixtures, each with derived fields that stay internally consistent.

Entity

Account records with contact details, a role and an optional address.

Envelope

2. Choose the fields

Derived fields read the same row context, so an email always matches the name beside it.

3. Copy or export the payload

5 records, seed 42

5 rows
Records
5
Fields
7
Size
1.1 KB
Envelope
array

Generated payload

47 lines1.1 KB
[  {    "id": 1,    "uuid": "2849d73e-b438-4a90-9d09-0402c802d7c5",    "fullName": "Maya Ivanov",    "email": "maya-ivanov@example.com",    "role": "author",    "active": true,    "createdAt": "2023-11-15T00:00:00.000Z"  },  {    "id": 2,    "uuid": "bd83441a-abe1-4f6f-8105-79e1be4b28d1",    "fullName": "Elena Lopez",    "email": "elena-lopez@example.com",    "role": "author",    "active": true,    "createdAt": "2021-09-28T00:00:00.000Z"  },  {    "id": 3,    "uuid": "47dbfe68-41b5-4ce1-9d2f-2bb362a53ae5",    "fullName": "Grace Kowalski",    "email": "grace-kowalski@example.com",    "role": "billing",    "active": true,    "createdAt": "2023-09-04T00:00:00.000Z"  },  {    "id": 4,    "uuid": "e39720bb-4450-43f9-b228-4666a65e5798",    "fullName": "Ada Nakamura",    "email": "ada-nakamura@example.com",    "role": "editor",    "active": true,    "createdAt": "2023-03-14T00:00:00.000Z"  },  {    "id": 5,    "uuid": "51509376-bec7-42d8-be72-9c368f7ddb01",    "fullName": "Noor Dubois",    "email": "noor-dubois@example.com",    "role": "viewer",    "active": true,    "createdAt": "2022-05-02T00:00:00.000Z"  }]
  • 100% client-side isolated
  • 0ms latency
  • 7 fields

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. 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. 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. 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. 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.

Mock JSON generator FAQ

Seeds, reproducibility, the three envelopes and how many records you can generate.

What is the seed for?

It drives the pseudo-random generator that builds every value, including the timestamps. Keep the seed and the options identical and you get the same document, which is what makes a generated payload usable as a committed test fixture instead of a different file on every reload. Use Regenerate timestamps to re-anchor the dates to now.

Are the records internally consistent?

Yes for the derived fields. A row picks its name once, and the email, slug or display name next to it is computed from that same pick, so you never see a user called Ada Lovelace with an email belonging to someone else.

What is the difference between the three envelopes?

Array returns a bare JSON array, which is what most collection endpoints return. Object plus meta wraps the array in a key named after the collection and adds a meta object with the count, paging fields, the timestamp and the seed. NDJSON writes one compact object per line, which is the format streaming and bulk-import endpoints expect.

How many rows can it generate?

Between 1 and 500 per payload. Generation is deferred, so dragging the slider up to 500 keeps the interface responsive while the new document is built.

Which entities are available?

Users, products, e-commerce orders with a nested customer and line items, blog posts with a nested author, comments and invoices. Each entity exposes documented fields such as UUIDs, ISO 8601 timestamps, slugs, money values, tags and booleans, and you can switch any of them on or off.

  • cURL Converter

    Paste 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 tool
  • API Tester

    Send 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 tool
  • GraphQL Tester

    Soon

    Compose 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