drawdb-io

    drawdb-io/drawdb

    #28 this week

    Free, simple, and intuitive online database diagram editor and SQL generator.

    developer-tools
    database
    frontend
    database-schema
    diagram-editor
    editor
    erd
    erdiagram
    JavaScript
    AGPL-3.0
    38.5K stars
    3.1K forks
    38.5K GitHub watchers
    Updated 8/8/2026
    View on GitHub

    Backblaze Generative Media Hackathon

    Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.

    Enter the hackathon

    Loading star history...

    Use Cases & Benefits

    • Provides a free, simple, and intuitive online database schema editor and SQL generator accessible via browser.
    • Enables quick diagram creation and SQL export without requiring user accounts, streamlining database design workflows.
    • Use for visually designing and exporting entity-relationship diagrams for relational databases like PostgreSQL and MariaDB.
    • Use for generating ready-to-use SQL scripts from database diagrams to accelerate backend development.
    • Use for customizing and sharing database schema diagrams in collaborative environments with optional server setup.

    About drawdb



    drawdb logo

    drawDB

    Free, simple, and intuitive database schema editor and SQL generator.

    demo

    DrawDB is a robust and user-friendly database entity relationship (DBER) editor right in your browser. Build diagrams with a few clicks, export sql scripts, customize your editor, and more without creating an account. See the full set of features here.

    Getting Started

    Local Development

    git clone https://github.com/drawdb-io/drawdb
    cd drawdb
    npm install
    npm run dev
    

    Build

    git clone https://github.com/drawdb-io/drawdb
    cd drawdb
    npm install
    npm run build
    

    Docker Build

    docker build -t drawdb .
    docker run -p 3000:80 drawdb
    

    If you wish to work with sharing, set up server and environment variables according to .env.sample. This is not required unless you want to share files.

    Discover Repositories

    Search across tracked repositories by name or description