Four layouts, one click
Left to right, top to bottom, snowflake or compact. Keys 1 to 4 pick one while the menu is open.
ViewDB uses Google Analytics cookies to count visits and see which pages help. They are set only if you accept. Privacy policy
Model your database in DBML or in forms. ViewDB draws it as you type and exports PostgreSQL, MySQL, SQLite, Prisma or Drizzle.
Pro for 3 days on 1 project. No card needed.
Eight real screens from ViewDB Studio. Keep scrolling to move through the steps, or click one to jump to it.
















Left to right, top to bottom, snowflake or compact. Keys 1 to 4 pick one while the menu is open.
Frame related tables in a colored group and leave notes next to them on the canvas.
Forms for tables, columns, refs, enums and groups change only the lines they touch.
Click a table to jump to its code. Move the cursor and the table lights up.
Drag from one column to another and the ref is written for you.
Paste CREATE TABLE statements from PostgreSQL, MySQL or SQL Server, up to 900 KB.
The assistant reads your current DBML. Ask it to explain the model, suggest improvements or fix errors. Changes come back as a proposal you compare line by line, and nothing is written until you press Apply. Ctrl+Z takes it back.
ViewDB runs an MCP server with 10 tools. Claude, Claude Code and Cursor can list your projects, read the schema, export code and change tables. ViewDB saves a version before the agent starts editing.
claude mcp add --transport http viewdb https://viewdb.app/api/mcpConnect with OAuth, or with a personal key that only reads or can also write.
ViewDB saves 1 second after you stop typing and keeps a version every 10 minutes. It also keeps one before imports, restores, agent sessions and assistant changes.
Paying yearly costs the same as 10 months. Payments by Stripe, taxes included, cancel anytime.
For a few databases and the code to build them.
$90 billed once a yearBilled every month
Subscribe to StarterFor schemas you work on every week: AI, agents and history.
$190 billed once a yearBilled every month
Start 3 days freeNo. Paste SQL and ViewDB writes the DBML for you. Forms edit tables, columns and refs without code, and the help page has a DBML guide when you want it.
Not yet. Export the CREATE TABLE statements from PostgreSQL, MySQL or SQL Server, then paste or upload them.
Your account turns read-only. You can still open your projects, download DBML and .viewdb files, and your share links keep working. Choose a plan to edit again.
It is encrypted with AES-256-GCM before it is stored, and it is only used for your own assistant requests.
From Account, Billing, through the Stripe customer portal.
Pro for 3 days on 1 project. No card needed.