Skip to content
SPECIFICTION
Get listed

JSON Schema Faker

json-schema-faker.js.org

Free plan WebWindowsmacOSLinuxSelf-hosted

What it is

JSON Schema Faker generates synthetic JSON data from JSON Schema definitions. It supports JSON Schema 2019-09 and 2020-12, and a numeric seed can make results repeatable. The `jsf` command can read schema files, save generated JSON to a file, and produce multiple items as an array. Reference support includes `$ref` resolution with cycle detection, adjustable recursion depth, and remote reference resolution. Built-in generators cover formats such as email, date-time, URI, IP addresses, and UUID; regex patterns are supported through an AST-based string generator. Users can register custom formats and keyword generators, with optional extensions for faker.js and chance.js. YAML output requires the YAML package through an extension. The project runs in Node.js and browsers and is built for Bun and Node.js. It is self-hosted and open source under the MIT License, with zero production dependencies. The listed plan costs nothing. One constraint: synchronous generation works only when schemas resolve without I/O; asynchronous resolvers or extensions cause it to throw.

Spec sheet

Purpose
JSON Schema Faker generates valid JSON data from JSON Schema definitions.Read 7 Oct 2026 · json-schema-faker.js.org
Integrations
Optional extensions support faker.js and chance.js, and YAML output requires the YAML package through an extension.Read 7 Oct 2026 · json-schema-faker.js.org
License
The site identifies the project as MIT licensed.Read 7 Oct 2026 · json-schema-faker.js.org
CLI
The `jsf` command can generate JSON from schema files, write to a file, and generate multiple items as an array.Read 7 Oct 2026 · json-schema-faker.js.org
Customization
Users can register custom formats and define custom keyword generators.Read 7 Oct 2026 · json-schema-faker.js.org
Dependencies
The project describes itself as having zero production dependencies.Read 7 Oct 2026 · json-schema-faker.js.org
Formats and patterns
It includes generators for common formats such as email, date-time, URI, IP addresses, and UUID, and supports regex patterns with an AST-based string generator.Read 7 Oct 2026 · json-schema-faker.js.org
Limit
Synchronous generation only supports schemas that resolve without I/O; asynchronous resolvers or extensions cause it to throw.Read 7 Oct 2026 · json-schema-faker.js.org
Maker details
The official site and repository page opened do not identify a company headquarters or founding year.Read 7 Oct 2026 · github.com
References
It supports `$ref` resolution with cycle detection, configurable recursion depth, and remote reference resolution.Read 7 Oct 2026 · json-schema-faker.js.org
Reproducible output
A numeric seed produces deterministic output, with the same seed producing the same results.Read 7 Oct 2026 · json-schema-faker.js.org
Runtime
The project says it works in Node.js and browsers and is built for Bun and Node.js.Read 7 Oct 2026 · json-schema-faker.js.org
Schema support
The project states that it supports JSON Schema 2019-09 and 2020-12.Read 7 Oct 2026 · json-schema-faker.js.org
Security and compliance
The official site and repository pages opened do not state security certifications or compliance claims.Read 7 Oct 2026 · github.com

Plans and prices

JSON Schema Faker Free MIT License · npm and Bun installation Read 7 Oct 2026 · json-schema-faker.js.org

Every JSON Schema Faker plan and price →

Strong points and limits

Strong points

  • Supports JSON Schema 2019-09 and 2020-12.
  • Numeric seeds can produce deterministic output.
  • Offers CLI generation to files and arrays.
  • MIT licensed with zero production dependencies.

Limits

  • Synchronous generation cannot handle schemas requiring I/O.
  • Asynchronous resolvers or extensions cause synchronous generation to throw.
  • YAML output requires an extension and YAML package.

Who it suits

It suits developers who need synthetic JSON data from schemas for local or browser-based development. The CLI, seed-based repeatability, and custom generators support repeatable data-generation workflows.

JSON Schema Faker in depth

Read the full write-up

JSON Schema Faker turns JSON Schema definitions into synthetic JSON for developers who need schema-conforming fixtures or API data. It is best suited to Node.js, Bun, and browser workflows built around JSON Schema. The seed and reference controls make repeatable generation practical, but synchronous I/O limits rule it out for schemas that need asynchronous resolution.

Overview

This is a focused generator, not a hosted data service or a relational-data tool. It supports JSON Schema 2019-09 and 2020-12, and the project identifies its license as MIT. The project describes its production dependencies as zero, keeping the core lean; optional faker.js and chance.js integrations, along with YAML output, require extensions and packages.

Key features

Repeatable generation and CLI

A numeric seed makes output deterministic: use the same seed again and the generator returns the same results. That is valuable for stable test fixtures and debugging, because the sample data does not change between runs. The jsf command can generate JSON from schema files, write it to a file, and produce multiple items as an array, making it useful in scripts and batch fixture workflows.

References, formats, and customization

Reference handling includes cycle detection, configurable recursion depth, and remote reference resolution. This supports schemas that reuse definitions or include recursive structures. Built-in generators cover common formats including email, date-time, URI, IP addresses, and UUID; regex patterns are handled with an AST-based string generator. Users can also register custom formats and define generators for custom keywords, which helps adapt generation to domain-specific schemas.

Generation limits

Synchronous generation works only when the schema can be resolved without I/O. An asynchronous resolver or extension makes it throw, so workflows relying on asynchronous resolution need a different approach. JSON output is central; YAML output is possible through an extension that requires the YAML package.

Pricing

JSON Schema Faker costs nothing under the MIT License, with npm and Bun installation. There are no paid tiers to weigh against the free option. This suits teams comfortable installing and running an open-source package themselves; it does not provide a hosted generation service or a relational-data model.

Platforms

The project runs in Node.js and browsers and is built for Bun and Node.js. It is categorized for Linux, macOS, Windows, web, and self-hosted use. Deployment is self-hosted, so the generator fits environments where teams run it within their own applications or workflows.

Who it's for

Choose JSON Schema Faker when tests or API workflows need synthetic data shaped by JSON Schema, especially when repeatability, reference handling, and custom generators matter. It is less suitable when data must represent relationships across tables, or when schema resolution depends on asynchronous I/O.

Pros and cons

Pro: Seeded deterministic output makes fixtures repeatable, which helps keep tests and debugging consistent.

Pro: Reference controls and common format generators support schemas with reused definitions and structured values.

Pro: Custom formats and keyword generators allow teams to extend behavior for their own schemas.

Con: Synchronous generation throws when an asynchronous resolver or extension is involved, restricting I/O-dependent schemas.

Con: It does not generate relational data, so it is not a fit for connected-table test datasets.

Con: YAML output and faker.js or chance.js integrations require extensions rather than being part of the zero-production-dependency core.

Alternatives

For a broader set of test-data options, see Test Data Generation Tools.

dbForge Studio for PostgreSQL is worth considering when a PostgreSQL-focused tool and visual data editing matter more than schema-driven JSON generation; its Express plan includes a Visual Data Editor and data import and export.

Benerator is an open-source alternative for readers who need generation and anonymization; its Community Edition is single-threaded.

Mockaroo may suit users who prefer browser-based generation or need an API, with its free plan capped at 1,000 rows per file and 200 API requests per day.

YData SDK is an alternative for readers who need connectors, with 20+ connectors included in its free plan.

Bogus is an option for teams building on.NET, distributed as a free open-source package.

Redgate SQL Provision is a paid option for provisioning or masking production data, with capacity tiers based on total production data volume.

MOSTLY AI is another freemium option for readers considering synthetic-data tools.

Snowfakery is a free open-source alternative with no paid plans or usage limits stated.

Verdict

JSON Schema Faker is a strong choice for developers who want free, self-hosted, repeatable synthetic JSON aligned to modern JSON Schema versions. Its useful combination of seeded output, reference handling, and extensibility makes it especially practical for schema-led fixtures. Look elsewhere if you need relational datasets or asynchronous schema resolution.

Verdict

JSON Schema Faker is a free, self-hosted option for generating schema-shaped test data, with repeatability and customization features. Check the synchronous I/O restriction if schemas depend on asynchronous resolution.

Where Specifiction places it

Alternatives to JSON Schema FakerAll alternatives →