Featured project
DevData Generator
Browser-based fake data generator that creates one reusable dataset and exposes the same result through table, JSON, CSV and SQL outputs.
Runs entirely in the browser; no backend or database is required.
Overview
DevData Generator is a browser-based tool for configuring realistic fake datasets and reusing one generated result across table, JSON, CSV and SQL outputs.

How it works
A validated configuration crosses one generation boundary, then the shared result branches into preview and export paths.
Configure flows to Validate, then Generate, then generatedData. generatedData branches to Preview and Export. Faker is a dependency of Generate.
One generated result
One generation produces one reusable generatedData result. Table preview, JSON preview, clipboard copy and every download reuse those same records.
generatedDataThe same result is used by
- Table preview
- JSON preview
- Clipboard copy
- Downloads and exports
Predictable invalidation
Changing the dataset configuration clears the previous generated result so stale records are not presented as current.
generatedData is cleared when
- Template changes
- Selected fields change
- Quantity changes
src/App.jsxsetSelectedTemplate(templateId)
setSelectedFields(newTemplate.fields.map((field) => field.id))
setGeneratedData([])
const handleFieldChange = (fieldId) => {
setSelectedFields((currentFields) =>
currentFields.includes(fieldId)
? currentFields.filter((id) => id !== fieldId)
: [...currentFields, fieldId],
)
setGeneratedData([])
}
const handleNumberRecordsChange = (value) => {
setNumberRecords(value)
setGeneratedData([])
}Template, selected-field and quantity handlers each clear generatedData after changing configuration.
Output formats
The same generatedData is serialized into three reusable representations.
JSON
[
{
"nombre": "Ana Torres",
"email": "[email protected]"
}
]
CSV
"nombre";"email"
"Ana Torres";"[email protected]"
SQL
INSERT INTO usuarios (nombre, email) VALUES ('Ana Torres', '[email protected]');
The same illustrative record is shown as JSON, semicolon-delimited CSV and a downloadable SQL INSERT statement.
Browser-only architecture
React coordinates the workflow in the browser. The generation utility uses Faker, then serializers and browser-native APIs transform and deliver the shared result.
- React
- Generation utility + Faker
generatedData- Serializers + Browser APIs
No backend or database is required.
SQL is generated as downloadable text; it is not executed.