User Rating 0.0
Total Usage 1 times

Schema Template

Use {{key}} for dynamic data. keys: name, email, phone, city, country, date, bool, ip, uuid, color, job, company, money, guid, lorem...

Result

Is this tool helpful?

Your feedback helps us improve.

About

In the lifecycle of API development and frontend engineering, having robust mock data is essential. This tool allows developers to prototype applications before the backend is ready. Unlike static JSON files, this generator uses a schema-based approach, allowing you to define the structure and data types (e.g., specific formats for dates, realistic names, or geo-coordinates) dynamically.

The tool includes a built-in minifier and beautifier, making it a versatile utility for checking how your application handles large datasets, nested structures, and varied data types without risking production data.

api testing

Formulas

The generation process follows a schema-parsing algorithm:

  • Step 1. Parsing. The system reads the user-provided JSON template.
  • Step 2. Tokenization. Keys containing double curly braces (e.g., {{city}}) are identified as dynamic tokens.
  • Step 3. Randomization. Each token is replaced by a random selection from the internal database using a pseudo-random number generator (PRNG).
  • Step 4. Iteration. The process repeats N times based on the requested 'Repeat Count' to generate an array of objects.

Reference Data

KeywordDescriptionExample Output
{{name}}Full NameJohn Doe
{{email}}Email Addressj.doe@example.com
{{phone}}Phone Number(555) 123-4567
{{date}}ISO Date2024-10-15T08:30:00Z
{{uuid}}UUID v4a1b2c3d4-e5f6...

Frequently Asked Questions

Yes, the generator fully supports nested JSON objects and arrays. You can define a property as an array containing other objects with their own dynamic tokens.
No. The data is generated using standard pseudo-random functions found in web browsers (Math.random). It is suitable for testing UI and logic, but should not be used for security keys or production cryptography.
Hardcoded JSON is static and predictable. A generator uncovers edge cases, such as long strings breaking UI layouts or null values causing crashes, which you might miss with a 'happy path' static file.