JSON
Mock JSON Generator
टेम्पलेट के आधार पर नकली JSON डेटा जनरेट करें: {{name}} या {{email}} जैसे प्लेसहोल्डर वैल्यूज़, और ऐरे "की|N" के ज़रिए दोहराए जाते हैं।
प्लेसहोल्डर्स: {{uuid}} {{name}} {{firstName}} {{lastName}} {{email}} {{phone}} {{number(1,100)}} {{float(0,1)}} {{boolean}} {{date(2020,2024)}} {{datetime}} {{word}} {{sentence}} {{paragraph}} {{city}} {{country}} {{company}} {{color}} {{index}} · ऐरे: "की|N": [टेम्पलेट] — N बार दोहराएं।
Instead of writing test data by hand, this tool generates realistic fake JSON from a template with placeholders like {{name}}, {{email}}, or {{uuid}}. An array with a given number of items is built with the "key|N" syntax.
How to use it
- Describe the shape you want, dropping placeholders in where real values would go.
- For an array of several identically-shaped items, use "key|N", where N is how many you need.
- Each generation produces fresh random values — run it again to get a different data set from the same template.
Common uses
- Filling a local database or UI mockup with realistic test data without hand-writing fixtures.
- Creating a sample API response for documentation or frontend work before the backend is ready.
- Quickly checking how a component or table looks with a large number of data rows.
Things to keep in mind
Each generation is random by design — save the generated JSON separately if you need to see the exact same result again, rather than relying on regenerating it.
The generated data is realistic in form (an email looks like an email) but has no connection whatsoever to real people or records.
इस टूल के बारे में लेख: Mock JSON Generator: नकली डेटा किस काम आता है
अक्सर पूछे जाने वाले प्रश्न
यह टूल यह कैसे तय करता है कि कौन-से फ़र्ज़ी वैल्यू जनरेट करने हैं?
यह आपके स्कीमा या टेम्पलेट में परिभाषित फ़ील्ड टाइप्स और पैटर्न्स के आधार पर वैल्यू जनरेट करता है, जैसे नाम, ईमेल, किसी रेंज में संख्याएं, या तारीखें, बिना किसी वास्तविक डेटा पर निर्भर हुए।
क्या हर बार जनरेट करने पर मुझे एक जैसा मॉक डेटा मिल सकता है?
अगर टूल सीड ऑप्शन देता है, तो एक ही सीड वैल्यू का उपयोग हर बार समान आउटपुट देता है; अन्यथा, हर बार वैल्यू नए सिरे से रैंडमाइज़ होती हैं।
क्या यह डेटा सर्वर पर भेजा जाता है?
नहीं। सारा मॉक डेटा आपके ब्राउज़र में JavaScript का उपयोग करके स्थानीय रूप से जनरेट होता है — कुछ भी कहीं अपलोड नहीं होता।
क्या मॉक डेटा में "असुविधाजनक" एज केस वैल्यू शामिल होती हैं?
जनरेटर जान-बूझकर सामान्य वैल्यू के साथ एज केस मिलाता है — लंबी स्ट्रिंग, खाली फ़ील्ड, रेंज की सीमा पर मौजूद संख्याएं। यही वैल्यू अक्सर उन लेआउट या लॉजिक की गलतियां उजागर करती हैं जो "test123" जैसे सुविधाजनक उदाहरणों पर नज़र नहीं आतीं।
क्या मॉक डेटा का वही सेट दोबारा जनरेट किया जा सकता है?
हर जनरेशन जान-बूझकर रैंडम रखी गई है — ताकि डेटा की नई वेरिएशन दिखें। अगर बिल्कुल वही नतीजा दोबारा चाहिए, तो जनरेट किए गए JSON को दोबारा जनरेट करने के बजाय अलग से सेव कर लें।