Custom JSON fields
Create your own key names instead of accepting a fixed template, so the generated JSON can resemble a user profile, product card, order, or dashboard row.
Create sample JSON arrays from custom field names, choose data types, set the number of records, then copy or download the generated result.
Generate sample JSON arrays from custom keys, field types, and record counts.
Use names, emails, UUIDs, dates, URLs, numbers, booleans, and text values.
Use this flow when a prototype, test, tutorial, or API example needs realistic-looking JSON without hand-writing every object.
Choose how many objects the JSON array should contain. The page keeps the record count between 1 and 100, which is enough for small UI tests, examples, and seed snippets.
Edit each key name, choose the value type, add fields for the shape you need, or remove fields that do not belong in the mock payload.
Inspect the generated array, confirm that names, emails, IDs, dates, URLs, numbers, booleans, and text values match your example, then copy it or download sample-data.json.

Create your own key names instead of accepting a fixed template, so the generated JSON can resemble a user profile, product card, order, or dashboard row.
Choose from name, email, username, number, boolean, date, UUID, URL, and text types to build varied records without writing every value manually.
Generate one record for a compact example or up to 100 records when a table, import screen, chart, or empty-state test needs more data.
The output updates from the current schema and record count, making it easier to catch misspelled keys or the wrong value type before export.
Sample records are generated in the open browser session during normal use, which is convenient for temporary prototypes and quick documentation examples.
Copy the generated array directly into an editor, issue, API client, or fixture file, or download it as sample-data.json for later review.
JSON Generator explains how custom field names, selected value types, record count, generated arrays, copying, and downloads are handled during normal browser use.
JSON Generator builds sample records from the field names, selected value types, and record count inside the browser session during normal use.
Closing or refreshing JSON Generator clears custom fields, record count, and generated output unless the browser keeps the page state alive.
JSON Generator can be used without sign-in, so small mock datasets can be created quickly for prototypes, docs, tests, and UI placeholders.
Review these notes before using generated JSON in tests, screenshots, demos, tutorials, imports, or seed files.
Generated sample records are placeholders, not anonymized production data. Do not paste real customers, account IDs, medical details, secrets, or private datasets into field names.
Example emails use example.com style addresses, but field names can still reveal internal models. Rename sensitive keys before sharing mock JSON publicly.
Generated data should match the shape your code expects. Check required keys, value types, array length, date format, and ID style before using it in a test.
The tool creates simple sample values. It does not infer a JSON Schema, enforce validation rules, or guarantee that records satisfy your application logic.
Use key names that your destination can accept. Some importers dislike dots, spaces, duplicate keys, uppercase keys, or values that change type between rows.
If a fixture needs nested objects, relationships, constraints, or deterministic seeded data, extend the exported JSON in your editor or use a schema-based generator.
Open the copied or downloaded JSON in the app, test runner, API client, or documentation page where it will be used before treating it as final.
Keep a note of the selected fields and record count if teammates need to recreate the same example later.
JSON Generator runs in the active browser workspace; record counts are capped at 100 and larger field sets may slow preview, copying, or download.
The generator is meant for sample JSON, not load testing, secure synthetic data, production anonymization, API mocking endpoints, or database-scale fixtures.
You can generate a JSON array with custom keys and sample values for names, emails, usernames, numbers, booleans, dates, UUIDs, URLs, and short text.
The record control is clamped from 1 to 100 records. That range is intended for UI prototypes, documentation examples, fixtures, and small test payloads.
Yes. You can edit each key name, add more fields, remove fields, and choose a value type for each field before copying or downloading the generated JSON.
No. This page is a quick custom field generator for sample arrays. It does not read JSON Schema files, resolve references, seed randomness, or enforce schema constraints.
Use it as starter sample data, then validate the exported JSON against your real schema, fixtures, app rules, and edge cases before adding it to serious test coverage.
4.5 (316 ratings)