All apps

SQL to ER Diagram

Verified
royalbhati/sqltoerdiagram 727 stars MIT
View source

Paste CREATE TABLE statements and get an interactive ER diagram, all in your browser with nothing uploaded.

A browser-based tool that turns SQL CREATE TABLE statements into an interactive entity-relationship diagram. You can drag tables, auto-arrange them, edit names and types in place, and export the result as PNG, SVG, Mermaid, DBML or DDL. Parsing happens on the page, so the schema is not sent to a server.

Replaces dbdiagram.io Replaces drawSQL Replaces QuickDBD Developer tools Database

Why people choose SQL to ER Diagram

Schema stays on your machine

Parsing and drawing run entirely in the browser, with no backend and no signup.

Canvas edits update the SQL

Double-click a table, column or type to change it, and the edit is written back into your SQL text with comments and formatting kept; renaming a table updates every REFERENCES to it.

A whole diagram in one link

The project is gzip-encoded into the URL hash, so a full diagram opens from a single link without a server.

Like SQL to ER Diagram? Install it on your own server

One command installs PanelAlpha Engine and gets SQL to ER Diagram running on your server, with no time limit.

curl -fsSL get.panelalpha.com/engine | sh -s -- --repo github.com/royalbhati/sqltoerdiagram

Run it as root on your Linux server.

You’ll find server requirements and step-by-step instructions in our installation guide.

Is this your repository?

Add a badge to your README and give your users a free live preview: one click, no sign-up.
Get the badge

Pick a badge

Show them on
Badge

Add it to your README

Format
[![Try it for free on GO!](https://go.panelalpha.com/button/github.com/royalbhati/sqltoerdiagram.svg?style=free)](https://go.panelalpha.com/repo/github.com/royalbhati/sqltoerdiagram)

The badge links to this page, where your users start the preview. Markdown shows the light badge to everyone; HTML shows the dark one to readers who use a dark theme on GitHub.

Other apps you may like

Uptime monitoring
Uptime Kuma screenshot
UptimeRobot Pingdom +1
95k Monitoring

A self-hosted monitoring tool that checks your websites, servers and services on a schedule and reports the results in one dashboard. Each monitor shows response time, uptime for the day and the month, certificate expiry and a ping chart, and failures go out to Telegram, Discord, Slack, email or one of 90+ other services. Status pages can be mapped to your own domains.

Explore app
REST and GraphQL API client
Hoppscotch screenshot
Postman Insomnia
81k Developer tools

Hoppscotch is an API client that runs in the browser: pick a method, type an endpoint and read the response status, headers and body. Requests are grouped into nested collections and environments, with pre-request and post-request JavaScript for variables and tests. It is also available as a PWA, a desktop app and a CLI, and self-hosting adds team workspaces.

Explore app
VS Code in the browser
code-server screenshot
GitHub Codespaces Gitpod
80k Developer tools

code-server runs VS Code on a remote machine and serves the whole editor in your browser, so one development environment follows you across devices. You install it on a Linux host with a script or a container, open the URL and log in with the password from its config file. Extensions, the integrated terminal and your files all live on the server.

Explore app