Skip to content
Esc
  • MQTT Topic MatcherTest MQTT topic filters with + and # wildcards against topics, and check ACL patterns.
  • JSON FormatterBeautify, minify and validate JSON instantly as you type.
  • JSON DiffCompare two JSON documents and see every added, removed and changed value by path.
  • JSON to TypeScriptGenerate TypeScript interfaces or Zod schemas from a sample JSON response.
  • Base64 Encoder/DecoderConvert text to Base64 and back, with full Unicode support.
  • UUID GeneratorGenerate random v4 UUIDs — one or many — in the format you need.
  • JWT DecoderDecode JSON Web Tokens to inspect the header, payload and expiry.
  • Timestamp ConverterConvert Unix timestamps to dates and dates to timestamps.
  • URL Encoder/DecoderPercent-encode and decode URLs, and break down query strings.
  • Hash GeneratorGenerate MD5, SHA-1, SHA-256 and SHA-512 hashes of text or files.
  • Regex TesterTest regular expressions with live match highlighting and groups.
  • YAML to JSON ConverterConvert YAML to JSON and JSON to YAML, with clear error locations.
  • SQL FormatterBeautify or minify SQL for PostgreSQL, MySQL, SQL Server and 9 more dialects.
  • Mock Data GeneratorGenerate realistic fake data for API mocks as JSON, CSV or SQL inserts.
  • HTTP Header AnalyzerGrade response headers: CSP, HSTS, cookies, CORS and caching, explained.
  • Webhook Signature VerifierVerify and generate webhook signatures for GitHub, Stripe, Slack, Shopify and more.
  • Cron Expression GeneratorBuild and explain cron schedules, with the next run times in any time zone.
  • .env File ValidatorFind syntax errors, duplicates and missing keys in .env files.
  • HTML to JSX ConverterConvert HTML to valid React JSX: className, style objects, self-closing tags.
  • SVG to React ComponentTurn SVG files into React icon components with props and currentColor.
  • Markdown EditorWrite Markdown with a live preview, GitHub tables and task lists, and HTML export.

↑ ↓ to moveEnter to openPaste data to open it in the right tool. Nothing leaves your browser.

Mock Data Generator

Define your fields, choose how many rows you need, and get realistic fake data as JSON, NDJSON, CSV or SQL INSERT statements. The same seed always gives the same data.

Last updated

Start from
Field nameTypeOptions% nullRemove
—
—
—
—
—
[
  {
    "id": 1,
    "name": "Olivia Gosling",
    "email": "olivia.gosling67@example.com",
    "role": "editor",
    "active": true,
    "createdAt": "2025-05-17T23:14:12.000Z"
  },
  {
    "id": 2,
    "name": "Omar Johnson",
    "email": "omar.johnson88@example.net",
    "role": "admin",
    "active": true,
    "createdAt": "2025-07-02T05:36:34.000Z"
  },
  {
    "id": 3,
    "name": "Rahul Martin",
    "email": "rahul.martin47@example.net",
    "role": "admin",
    "active": false,
    "createdAt": "2025-12-20T11:43:39.000Z"
  },
  {
    "id": 4,
    "name": "Radia Turing",
    "email": "radia.turing78@example.org",
    "role": "admin",
    "active": true,
    "createdAt": "2025-02-27T10:03:07.000Z"
  },
  {
    "id": 5,
    "name": "Katherine Khan",
    "email": "katherine.khan45@example.com",
    "role": "admin",
    "active": false,
    "createdAt": "2025-05-28T04:38:58.000Z"
  },
  {
    "id": 6,
    "name": "Ken Sharma",
    "email": "ken.sharma31@example.net",
    "role": "viewer",
    "active": false,
    "createdAt": "2025-10-18T11:17:41.000Z"
  },
  {
    "id": 7,
    "name": "Radia Perlman",
    "email": "radia.perlman66@example.net",
    "role": "viewer",
    "active": false,
    "createdAt": "2025-11-29T21:24:00.000Z"
  },
  {
    "id": 8,
    "name": "Amara Lamarr",
    "email": "amara.lamarr14@example.com",
    "role": "admin",
    "active": true,
    "createdAt": "2025-07-09T04:06:38.000Z"
  },
  {
    "id": 9,
    "name": "Olivia Petrova",
    "email": "olivia.petrova72@example.net",
    "role": "admin",
    "active": false,
    "createdAt": "2025-10-27T10:30:17.000Z"
  },
  {
    "id": 10,
    "name": "Leslie Khan",
    "email": "leslie.khan99@example.org",
    "role": "viewer",
    "active": true,
    "createdAt": "2025-06-03T20:45:05.000Z"
  }
]

10 rows · The same seed always gives the same data, so you can reproduce a mock later.

How to use the Mock Data Generator

  1. Start from a preset

    Pick Users, Orders, IoT telemetry or Companies, or build your own list of fields.

  2. Shape the fields

    Give each field a name and type. Set ranges for numbers, lists for enums and a share of null values.

  3. Choose rows and format

    Generate up to 1,000 rows as JSON, NDJSON, CSV or SQL INSERT statements.

  4. Reuse it

    Copy or download the data. Keep the seed to reproduce exactly the same rows later.

Features

  • 33 field types: IDs, UUIDs, names, emails, phones, companies, products, prices, addresses, coordinates, IPs, URLs, colours, dates, timestamps, text and IoT readings
  • Integer and decimal ranges, pick-from-a-list enums, and a % of null values per field
  • Up to 1,000 rows at a time
  • Output as a JSON array, NDJSON (one object per line), CSV or a SQL INSERT statement
  • Seeded generation: the same fields and seed always produce the same rows
  • Presets for users, orders, IoT telemetry and companies
  • Uses reserved example domains and documentation IP ranges, so fake data never points at real people or servers
  • Copy, or download in the chosen format — also with Ctrl/Cmd + Enter and Ctrl/Cmd + S

Privacy

All data is generated by JavaScript in your browser from built-in word lists. Nothing is uploaded, and the generated names and emails are fictional — emails use reserved example.com domains.

Read the DevNest privacy policy

Examples

  • Users for a mock API

    Three users as a JSON array, ready for a fixture or json-server.

    Preset · rows · seed

    Users · 3 rows · seed 42 · JSON
    Fields: id, name, email, role, active, createdAt

    JSON

    [
      {
        "id": 1,
        "name": "Olivia Gosling",
        "email": "olivia.gosling67@example.com",
        "role": "editor",
        "active": true,
        "createdAt": "2025-05-17T23:14:12.000Z"
      },
      {
        "id": 2,
        "name": "Omar Johnson",
        "email": "omar.johnson88@example.net",
        "role": "admin",
        "active": true,
        "createdAt": "2025-07-02T05:36:34.000Z"
      },
      {
        "id": 3,
        "name": "Rahul Martin",
        "email": "rahul.martin47@example.net",
        "role": "admin",
        "active": false,
        "createdAt": "2025-12-20T11:43:39.000Z"
      }
    ]
  • IoT telemetry as CSV

    Device readings with temperature, humidity and battery voltage.

    Preset · rows · seed

    IoT telemetry · 4 rows · seed 7 · CSV
    Fields: deviceId, ts, temperature, humidity, battery, status

    CSV

    deviceId,ts,temperature,humidity,battery,status
    dev-6990,1750781302,17.2,53,3.44,warning
    dev-7641,1750877257,10.9,46,3.49,warning
    dev-8777,1761208792,9.3,30,3.49,warning
    dev-5537,1747622039,25.4,88,3.82,offline
  • Seed an orders table

    A single INSERT statement for your local database.

    Preset · rows · seed

    Orders · 3 rows · seed 2026 · SQL
    Fields: orderId, customer, product, quantity, price, status, orderedAt

    SQL

    INSERT INTO orders (orderId, customer, product, quantity, price, status, orderedAt) VALUES
      ('923ac401-9612-456e-a034-cffc4464ad4e', 'James Berners-Lee', 'Wireless Mouse', 1, 171.01, 'cancelled', '2025-04-05T04:29:01.000Z'),
      ('a50f2fd4-72f9-4dc9-98cc-9af5021fe227', 'Guido Garcia', 'Noise-Cancelling Headphones', 2, 474.29, 'cancelled', '2025-12-26T04:41:42.000Z'),
      ('3980edfc-0fe7-4703-be83-17fd35bd39e0', 'Diego Martin', 'Noise-Cancelling Headphones', 1, 315.59, 'shipped', '2025-10-18T18:17:47.000Z');

Understanding mock data

Why use mock data?

  • Build a front end before the API exists, using a JSON file or a mock server.
  • Seed a local or staging database without copying production data — and the personal data in it.
  • Load-test pagination, sorting and search with hundreds of realistic rows.
  • Write tests against stable fixtures instead of hand-typed records.

Repeatable data with seeds

Random data that changes on every run makes tests flaky and screenshots inconsistent. This generator uses a seeded pseudo-random generator: with the same fields, row count and seed, you get exactly the same rows on any device. Change the seed (or click New data) for a fresh set.

Choosing an output format

FormatBest for
JSONMock API responses, fixtures, json-server
NDJSONStreaming, log pipelines, bulk imports (one record per line)
CSVSpreadsheets, database COPY / LOAD DATA, analytics tools
SQLSeeding a table directly with an INSERT statement

Frequently asked questions

Is the generated data real?

No. Names are combined at random from built-in lists, emails use the reserved example.com, example.org and example.net domains, and IP addresses come from ranges reserved for documentation.

How do I get the same data again?

Keep the same fields, row count and seed. The generator is deterministic, so the output is identical every time.

How many rows can I generate?

Up to 1,000 rows at a time. For more, generate several batches with different seeds.

Can I generate SQL INSERT statements?

Yes. Choose SQL as the format and set the table name. Strings are quoted with single quotes, quotes inside them are doubled, and nulls become NULL.

Can a field sometimes be null?

Yes. Set % null on any field to make that share of rows null, which is useful for testing optional fields.