Recipe
Entity-Relationship diagram writer
Generate Mermaid ER diagrams from natural-language schema descriptions. Paste your entities and relationships, get a render-ready diagram back.
Describe entities
List tables, columns, types, and constraints in plain English. The model infers primary keys, foreign keys, and cardinality.
Mermaid output
Valid erDiagram syntax ready to paste into any Mermaid renderer or markdown file.
Iterate fast
Refine with follow-up prompts. Add columns, change relationships, or switch notation style without starting over.
Example prompt
users id pk, email unique, name, created_at
posts id pk, user_id fk→users.id, title, body, published
comments id pk, post_id fk→posts.id, user_id fk→users.id, body
posts id pk, user_id fk→users.id, title, body, published
comments id pk, post_id fk→posts.id, user_id fk→users.id, body
One entity per line. Columns comma-separated. Use pk, fk→table.col, unique annotations.