Sample data generator
Generate fake but realistic sample records (names, emails, phones, addresses and more) as JSON for testing.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
Use it from code or an agent
curl -s https://setget.net/v1/tools/lorem-data \
-H 'Content-Type: application/json' \
-d '{"input":{"fields":["name","email","phone"],"count":2,"seed":7}}'
import json, urllib.request
body = {'input': {'fields': ['name', 'email', 'phone'], 'count': 2, 'seed': 7}}
request = urllib.request.Request("https://setget.net/v1/tools/lorem-data", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/lorem-data", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"fields":["name","email","phone"],"count":2,"seed":7}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "lorem-data",
"input": {
"fields": [
"name",
"email",
"phone"
],
"count": 2,
"seed": 7
}
}
{
"input": {
"fields": [
"name",
"email",
"phone"
],
"count": 2,
"seed": 7
}
}
Endpoint: POST /v1/tools/lorem-data. Over MCP: run_tool with slug: "lorem-data".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
fields |
array | no | Which fields each record has, in order: id, name, email, phone, address, company, date, sentence. Default: ["name", "email"]. |
count |
integer | no | How many records to make. Default: 10. From 1 to 500. |
seed |
integer | no | Any whole number. The same seed always gives the same records; change it for a different set. Default: 1. From -1000000000000 to 1000000000000. |
Examples
Two people
Input
{
"fields": [
"name",
"email",
"phone"
],
"count": 2,
"seed": 7
}Result
{
"text": "[\n {\n \"name\": \"Liam Evans\",\n \"email\": \"[email protected]\",\n \"phone\": \"+1 512 555 0183\"\n },\n {\n \"name\": \"Ben Chen\",\n \"email\": \"[email protected]\",\n \"phone\": \"+1 702 555 0112\"\n }\n]",
"records": [
{
"name": "Liam Evans",
"email": "[email protected]",
"phone": "+1 512 555 0183"
},
{
"name": "Ben Chen",
"email": "[email protected]",
"phone": "+1 702 555 0112"
}
],
"count": 2
}IDs, companies and dates
Input
{
"fields": [
"id",
"company",
"date"
],
"count": 3,
"seed": 42
}Result
Different every time. Press the example button above to see one.
Questions
- Could the data belong to a real person?
- It is built to avoid that. Emails use example.com, which is reserved for examples, phone numbers use the 555-01xx range kept for fiction, and addresses use invented towns.
- Why do I get the same records every time?
- The seed makes the output repeatable, which is what tests need. Change the seed for new records.
Related tools
- Markdown table generatorBuild a Markdown table from headers and rows, padded so the columns also line up as plain text.
markdown-table - ASCII table generatorRender headers and rows as a box-drawing or plain ASCII table for terminals, logs and code comments.
ascii-table - Table image generatorRender a small table as a tidy SVG image with a header row, zebra stripes and right-aligned numbers.
table-image - .gitignore generatorBuild a .gitignore for the languages, editors and operating systems you use, merged without duplicates.
gitignore-generate - ASCII banner text generatorTurn short text into large five-line banner letters for terminals, READMEs, logs and code comments.
ascii-banner - Background pattern generatorMake seamless SVG background patterns (dots, grid, stripes, checker or waves) with your colours and scale.
pattern-image