DevTools Logo

Synthetic Data Faker

Synthetic Data Faker

Generate deterministic synthetic datasets locally from a JSON Schema

Define your schema

Everything runs in your browser. No schema or generated data is uploaded.

10 records · seed 42
[
  {
    "id": "4ec76e63-5e1b-4f4e-bb38-ce650480b7b8",
    "name": "Ada Chen",
    "email": "7si97nh@example.com",
    "joined": "2025-10-13",
    "role": "viewer"
  },
  {
    "id": "c2c5c123-7b53-4cbe-bb57-ca2a84501a36",
    "name": "Ada Garcia",
    "email": "ijzwi7t@example.com",
    "joined": "2017-12-06",
    "role": "editor"
  },
  {
    "id": "07f98e5f-584a-4507-bef3-5f59dc4a7df3",
    "name": "Iris Lee",
    "email": "ps6jhzz@example.com",
    "joined": "2002-02-22",
    "role": "admin"
  },
  {
    "id": "b324e6bb-0099-42cb-847c-58d715ce19a1",
    "name": "Iris Yilmaz",
    "email": "i87usob@example.com",
    "joined": "2007-10-10",
    "role": "editor"
  },
  {
    "id": "76a02aa3-7c44-4624-8c06-65c8d7357e0e",
    "name": "Zoe Demir",
    "email": "r9o2gdh@example.com",
    "joined": "2012-03-03",
    "role": "viewer"
  },
  {
    "id": "299e6ad3-7831-4e2f-a9cc-77365836b150",
    "name": "Ada Brown",
    "email": "6j767ta@example.com",
    "joined": "2010-11-11",
    "role": "editor"
  },
  {
    "id": "ca7cf09a-919b-4d18-899e-783c4c3d5f00",
    "name": "Maya Stone",
    "email": "9tsu144@example.com",
    "joined": "2017-10-13",
    "role": "admin"
  },
  {
    "id": "316e67bf-d8ab-4211-bac5-92165fe12a3d",
    "name": "Iris Demir",
    "email": "cqdeu0g@example.com",
    "joined": "2029-02-13",
    "role": "admin"
  },
  {
    "id": "4302705e-0b25-47cc-819d-8206a8e31251",
    "name": "Lina Garcia",
    "email": "im1ojx0@example.com",
    "joined": "2013-03-18",
    "role": "admin"
  },
  {
    "id": "692326f7-bb60-4cb0-9165-10aef217088c",
    "name": "Zoe Smith",
    "email": "r0nx1wz@example.com",
    "joined": "2020-07-07",
    "role": "viewer"
  }
]

About

Build privacy-friendly test datasets in your browser. Define properties, required fields, enums, ranges, string lengths, and email, name, date, UUID, or IPv4 formats; the same seed always produces the same records.

Examples

Seeded enum records

Input
generateSyntheticData({ type: "object", properties: { color: { enum: ["red", "green"] } } }, 3, "seed-1")
Output
Three records with color always "red" or "green" (identical on rerun)

Enum picks come from the seeded PRNG, so reruns with seed-1 are byte-identical.

JSONL line count

Input
formatSyntheticData(generateSyntheticData(schema, 7, "s"), "jsonl").split("\n").length
Output
7

One JSON object per line with no trailing newline, so lines equal the requested count.

About this tool

Synthetic Data Faker builds deterministic records with generateSyntheticData(schema, count, seed) (alias generateSyntheticRecords): a Mulberry32 PRNG hashed from the seed (FNV-1a for strings) drives every pick, so the same seed and count always return identical records, capped at 1000.

Schemas support enums (uniform pick), formats (email, name, date, uuid v4, ipv4), numeric ranges with minimum/maximum, string minLength/maxLength, nested objects, and 1–3 element arrays — required is informational since all declared properties are generated.

Serialization comes from formatSyntheticData(records, format) (alias serializeSyntheticData): json pretty-prints, jsonl joins one object per line, and csv unions all keys with quoting for commas, quotes, and newlines.

How to use this tool

  1. Describe the shape

    Write a schema with properties, enums, formats, and ranges — every declared property appears on each record.

  2. Fix the seed

    Pass a stable seed and count; reruns return deep-equal records for fixtures and snapshots.

  3. Serialize

    Format with json, jsonl (count lines equal count), or csv for spreadsheets.

Use cases

Seeding dev databases

Generate realistic emails, names, UUIDs, and IPs without touching production data.

Snapshot-testing pipelines

Pin a seed so ETL and CSV-import tests see byte-identical fixtures every run.

Load-testing endpoints

Emit up to 1000 records per call in JSONL for bulk-ingest benchmarks.

Common mistakes

Mistake:Assuming required filters which fields appear.

Fix:All declared properties are generated on every record; required only documents intent.

Mistake:Expecting JSONL to end with a newline.

Fix:Lines are joined with \n and no trailing newline — splitting on \n gives exactly count lines.

Frequently asked questions

What does this tool do?

It generates deterministic fake records with generateSyntheticData from a schema (enums, email/name/date/uuid/ipv4 formats, ranges, nested objects, arrays) and serializes with formatSyntheticData to json, jsonl, or csv.

How do seeds and counts behave?

The same seed and count return deep-equal records (capped at 1000) while a new seed reshuffles; JSONL emits exactly one object per line so line count equals the requested count.

Is my schema uploaded or stored?

No. The Mulberry32 PRNG, value generation, and serialization run fully client-side.

Why do extra fields appear, or UUIDs look odd?

Every declared property is generated on each record regardless of required, and UUIDs follow v4 shape (4 in the version slot, 8/9/a/b variant) by construction.

References & standards

.env Secret Safety Linter

Validate .env syntax and spot likely leaked credentials or placeholder secrets.

.htaccess Generator

Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth

2D Fluid Dynamics & Particle Physics Sandbox

A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.

AI Function Calling Schema Generator

Generate function calling JSON schemas from TypeScript interfaces

Algorithm Arena & Data Structure Visualizer

Interactive arena for algorithms and data structures: eight sorting algorithms racing on one seeded input, six pathfinding algorithms walking generated mazes, and BST, AVL, Red-Black, B-tree, heap and trie operations replayed step by step with rotations highlighted. Every run shows the Big-O table and the phase-highlighted reference implementation in four languages, and compared values can be played as pitch (sonification) through the shared audio engine. Everything runs client-side; inputs never leave the browser.

Ansible Playbook Generator

Build an Ansible playbook — hosts, vars, and tasks with modules — as YAML