Generate random JSON mock data based on template structures for development and testing.
Enter 1-100. Values outside this range are auto-corrected

JSON to CSV & CSV to JSON Converter
Convert seamlessly between JSON arrays and CSV tabular data. Ideal for data analysis and software development.

JSON to YAML & YAML to JSON Converter
Bidirectionally convert between JSON and YAML structured data formats, with support for custom output styling.

JSON to C# Class Converter
Automatically convert JSON data into C# class definitions, ideal for .NET developers building data models.
When developers need to quickly obtain test data that matches a specific structure, writing it manually is time-consuming and struggles to cover diverse requirements. This tool parses user-defined JSON templates and automatically populates them with random data based on placeholder rules, generating standard JSON like {"id": 1234, "email": "test@example.com"}. Placeholders such as {{number(min,max)}} act as the atomic units of data generation, each representing a specific randomization rule.
"age": {{number(18,60)}}).Q: How do I ensure the generated email formats are valid?
Simply use the {{email}} placeholder, and the tool will automatically generate dummy emails that comply with RFC standards.
Q: Can I control the character set of random strings? Currently, only the ASCII character set is supported. You can define the length range using {{string(min,max)}}; custom character types are not supported at this time.
It is recommended to keep a single JSON document under 1MB, as excessively large data volumes may cause browser lag. The generated test data contains dummy information and should not be used in real business scenarios.
For API testing, we recommend including boundary value cases in your templates. For example, use "status": {{array(1,[0,1,2,404])}} to generate various status codes. Typical input/output example: {"price": {{number(1,999)}}} → {"price": 358}