Generate a Prisma model definition from a JSON object instantly in your browser. Type-inferred field types. One-way. 100% client-side and free.
The JSON to Prisma Schema converter analyses a JSON object and generates a Prisma `model` definition. Strings map to `String`, integers to `Int`, floats to `Float`, booleans to `Boolean`, and ISO date strings to `DateTime`. Nested objects produce separate Prisma models with a relation. An `id` field with `@id @default(autoincrement())` is added automatically if not present.
QDoes it generate the datasource or generator blocks?
No — the output contains only model definitions. Add your datasource and generator blocks at the top of the schema.prisma file.
QIs my data sent to a server?
No. All schema generation runs in a Web Worker inside your browser.