Convert schemas and data, with proof the result is right.
Every conversion is checked before you see it: parsed back and compared, compiled, or run through the real engine (Postgres, Prisma, TypeScript). Anything that can't convert exactly is named, never dropped silently. It all runs in your browser.
Beyond what other converters do: TypeScript types come with validation functions that check every rule, Pydantic models enforce oneOf and if/then/else exactly, and SQL to Prisma writes a migration that keeps your CHECK constraints, views and triggers.
All converters
Pick a row to convert from and a column to convert to.
| From ↓ / To → | JSON | YAML | XML | CSV | TOML | JSON Schema | TypeScript | Zod | Pydantic | PostgreSQL | Prisma | Drizzle | SQLAlchemy |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| JSON | |||||||||||||
| YAML | |||||||||||||
| XML | |||||||||||||
| CSV | |||||||||||||
| TOML | |||||||||||||
| JSON Schema | |||||||||||||
| TypeScript | |||||||||||||
| OpenAPI | |||||||||||||
| PostgreSQL | |||||||||||||
| Prisma |
- JSON to YAML
- YAML to JSON
- JSON to XML
- XML to JSON
- JSON to CSV
- CSV to JSON
- JSON to TOML
- TOML to JSON
- JSON to JSON Schema
- JSON Schema to TypeScript
- JSON Schema to Zod
- JSON to TypeScript
- JSON to Zod
- OpenAPI to TypeScript
- OpenAPI to Zod
- TypeScript to JSON Schema
- TypeScript to Zod
- PostgreSQL to Prisma
- PostgreSQL to Drizzle
- Prisma to PostgreSQL
- JSON Schema to Pydantic
- JSON to Pydantic
- OpenAPI to Pydantic
- PostgreSQL to SQLAlchemy
- YAML to XML
- XML to YAML
- YAML to CSV
- CSV to YAML
- YAML to TOML
- TOML to YAML
- XML to CSV
- CSV to XML
- XML to TOML
- TOML to XML
- CSV to TOML
- TOML to CSV
- YAML to JSON Schema
- YAML to TypeScript
- YAML to Zod
- YAML to Pydantic
- CSV to JSON Schema
- CSV to TypeScript
- TOML to JSON Schema
- TOML to TypeScript
- TypeScript to Pydantic
- Prisma to Drizzle
- Prisma to SQLAlchemy
Formatters and validators
Same format in and out, checked with the same parsers and engines as the converters.
A converter is only useful if you can trust its output.
Most converters show you text and leave the checking to you. Here, the output goes through an independent check first, and you see which checks it passed under every result.
- Data formatsThe output is parsed back with a separate parser and compared with your data, value by value.
- TypeScriptThe generated types are compiled with the real TypeScript compiler in strict mode.
- ZodThe generated schema is run, and must accept and reject the same values as the reference JSON Schema validator.
- PrismaPrisma's own engine validates the schema and reads it back; every column, key and relation must match your SQL.
- PythonPydantic models and SQLAlchemy models run in a real Python in your browser, and are compared with the reference validator or your SQL.
The converters are also tested on real-world inputs: 990 SchemaStore schemas (all produce verified TypeScript; Zod matched the reference validator exactly on 887 of 889 testable schemas; Pydantic models verify for 971 of 990), and 165 public API specs (no disagreements on 1,377 schemas tested). How the converters are tested