Skip to content

Database modeling in your browser

Design a database schema in the browser.

Build tables and columns, connect tables with relationships, and record your design decisions. Relio ERD shows your database structure on a canvas as you work.

Example: a simple order data model

One customer can have many orders

Explore an order schema and its SQL

Design the model and document your decisions.

Design tables and columns

Add tables and columns, choose data types, set primary keys, and arrange tables on the canvas.

Connect tables and add notes

Define relationships, group related tables into sections, and add notes to explain your design decisions.

Export or preview your model

Export your model as a .erd.json file and import it later. Preview the generated DDL and download it as a SQL file.

Describe the structure you need, then review and apply the proposal.

Ask in natural language to create a new schema or change an existing one. AI proposes table, column, and relationship changes for you to review before applying them.

AI is available in cloud documents after you sign in.

  1. 01

    Request

    “Create customers and orders so that one customer can have many orders.”

  2. 02

    Review

    Review the proposed tables, columns, and relationships, then decide what to keep.

  3. 03

    Apply

    Apply only the proposal you have reviewed to the current cloud document.

Save documents in your browser or your account.

Save in this browser without signing in

You can save up to 2 documents in this browser. They do not sync across devices, and clearing browser data may delete them. Back up important models by exporting them as JSON.

Save documents to your account

After signing in, save cloud documents to your account and open them again later. To move a local document to your cloud workspace, export it as JSON and import the file there.

Frequently asked questions

What is Relio ERD?

Relio ERD is a browser-based editor for modeling database tables, columns, and relationships visually. Group related tables into sections and add notes to explain your design.

Where are guest and account documents saved?

Guest documents are saved in this browser, up to 2, and do not sync across devices. After you sign in, cloud documents are saved to your account.

Can I edit the examples?

The editor playground is read-only. Download an ERD file from a public schema example and import it into the workspace to edit your own copy.

Can I export my ERD as SQL?

Yes. Preview your database schema as PostgreSQL DDL, then download it as a .sql file.

Follow the PostgreSQL ERD guide
Can I import an existing document?

Yes. Import a .erd.json file to continue editing, or import PostgreSQL DDL to create an ERD. Export your document as JSON to keep a backup.

Create an ERD from PostgreSQL SQL
Does Relio ERD connect to a database or run SQL?

No. Relio ERD does not connect to a database or execute SQL. It imports PostgreSQL DDL into an ERD in your browser, or generates DDL from your model for download as a .sql file.

Create an ERD from PostgreSQL SQL
Which SQL dialects are supported?

Import and export currently support PostgreSQL DDL. The importer does not store views, functions, triggers, or sequences, and some items may be omitted or block the import.

Follow the PostgreSQL SQL export guide
Can AI create an ERD?

Yes. After you sign in, you can request a new ERD in a cloud document. Review the proposed tables, columns, and relationships, then apply them to the document.

Start by adding your first table.

Create an ERD