Synthetic Data Faker
Generate synthetic datasets locally from a JSON Schema
JSON Schema
38 lines · 564 charsGenerated data
10 records · seed 42[
{
"id": "4e5e3b04-0235-4e86-befd-ec6235d6ce6e",
"name": "Blake Robinson",
"email": "fyaelix6@example.com",
"phone": "+1-904-555-0140",
"joined": "2023-01-15",
"role": "editor"
},
{
"id": "ae2978e9-580e-4ee6-82f0-e9ed88025be0",
"name": "Rachel Martinez",
"email": "khl8cupe@example.com",
"phone": "+1-312-555-0127",
"joined": "2011-10-22",
"role": "editor"
},
{
"id": "3fb655f5-a646-4b6e-9b14-657a9a5c4c04",
"name": "Michael Davis",
"email": "ldaqeekp@example.org",
"phone": "+1-312-555-0166",
"joined": "2004-05-08",
"role": "viewer"
},
{
"id": "de549c29-16b8-40a2-887f-32fe99d92247",
"name": "Ulrich Gonzalez",
"email": "novhqffw@example.com",
"phone": "+1-213-555-0148",
"joined": "2012-04-28",
"role": "editor"
},
{
"id": "380f0a64-69bb-4b09-a434-329a701cfbd3",
"name": "Zoe Robinson",
"email": "kfrenl0u@example.com",
"phone": "+1-904-555-0157",
"joined": "2001-06-10",
"role": "editor"
},
{
"id": "08273f96-5cb8-41af-b3af-195d71e68629",
"name": "Emery Brown",
"email": "wtmjx1ji@example.org",
"phone": "+1-602-555-0163",
"joined": "2005-11-18",
"role": "admin"
},
{
"id": "46cc1e44-32c6-425c-84b1-999da31e0aa0",
"name": "Oliver Wilson",
"email": "oki9xoah@example.org",
"phone": "+1-305-555-0142",
"joined": "2022-05-25",
"role": "viewer"
},
{
"id": "d5409548-66b1-4ca6-b742-9c670ab27f02",
"name": "Tina Martin",
"email": "obofjlnn@example.com",
"phone": "+1-213-555-0186",
"joined": "2014-07-16",
"role": "admin"
},
{
"id": "b6a3bb9a-31b4-4846-ad8d-9da5398056d8",
"name": "Victoria Clark",
"email": "kwyxvf1d@example.net",
"phone": "+1-602-555-0198",
"joined": "2006-12-28",
"role": "viewer"
},
{
"id": "8df3e119-7256-4ea0-bf55-54335c678af3",
"name": "Zoe Ramirez",
"email": "xy8kdsvs@example.net",
"phone": "+1-305-555-0159",
"joined": "2009-01-20",
"role": "admin"
}
]Examples
Seeded enum records
generateSyntheticData({ type: "object", properties: { color: { enum: ["red", "green"] } } }, 3, "seed-1")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
formatSyntheticData(generateSyntheticData(schema, 7, "s"), "jsonl").split("\n").length7One 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
Describe the shape
Write a schema with properties, enums, formats, and ranges — every declared property appears on each record.
Fix the seed
Pass a stable seed and count; reruns return deep-equal records for fixtures and snapshots.
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.
Related guides
References & standards
Related tools
.env Secret Safety Linter
Validate .env syntax and spot likely leaked credentials or placeholder secrets.
.gitattributes Generator
Build .gitattributes rules for line endings, Git LFS, GitHub linguist marks and merge drivers — with a one-line explanation for every rule.
.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.
A/B Test Sample Size Calculator
Compute required sample size per variant and test duration from baseline conversion rate, minimum detectable effect, alpha and power.
ABA Routing Number Validator
Validate 9-digit US ABA routing numbers with 3-7-1 Mod-10 breakdown.