How to use ER Diagram AI

File list

Create a file for an ER diagram

  1. Select + Create new in the file list and enter a name.
  2. Select OK to open the editor.
Create a file for an ER diagram

Change the file sort order

  1. Use the sort control at the top of the file list. On a compact screen, open the Sort menu.
  2. Choose Sort by modification date or Sort by file name.
Change the file sort order

Search for a file by name

  1. Open Home or Google Drive, depending on where the file is stored, and select the Search icon.
  2. Enter part of the name in Search by file name. Select Close to see the full list again.
Search for a file by name

Duplicate a file

  1. Open the file’s three-dot menu and select Copy.
  2. Open the copy added to the list to edit it while keeping the original.

Delete a file

  1. Open the file’s three-dot menu and select Delete.
  2. Check the confirmation prompt and select OK.

For a file shared with you, the menu may show Remove access.

Rename a file

  1. Open the file’s three-dot menu and select Rename.
  2. Enter the new name and select OK.

You need editing access to rename a Google Drive file shared with you.

Import a Mermaid diagram

  1. Select Import in the file list and select OK to open the file picker.
  2. Choose a Mermaid file (.mermaid or .mmd), then open it from the file list.
Import a Mermaid diagram

Save to Google Drive

  1. Choose Google Drive in the file list and sign in to your Google Account if prompted. On mobile, select Sign in with Google.
  2. Select + Create new in the Google Drive list. To move a local file, select Move to Google Drive from its three-dot menu if the option is available.

To open the file on another device, connect the Google Account you used to save it.

Save to Google Drive

Move files between your device and Google Drive

  1. In the installed app, connect your Google Account and open the file’s three-dot menu.
  2. Choose Move to Google Drive or Move to HOME, depending on where the file is saved, then select OK to confirm.

Share a Google Drive file

Sharing through Google Drive lets others open the same file stored in Drive. You can give different permissions to people who update it and those who only need to view it.

File in Google Drive
  • OwnerSet sharing permissions
  • View onlyRead the same file
  • Can editUpdate the same file
  1. In the app’s Google Drive file list, open the three-dot menu next to the file and select Share.
  2. Enter the email address of the recipient’s Google Account, choose View only or Can edit, then select Add. People with View only access can view the file. People with Can edit access can save changes to the same file.
  3. Send the recipient the Link to open in the app from the sharing screen. They can sign in with the Google Account you shared it with and import the file into their app’s list. To change someone’s permissions later, use People with access on the sharing screen.

The person who originally created the file in Google Drive is normally its owner. People with View only access cannot edit or delete the original file. If a recipient can remove their own access, the original file stays in the owner’s Google Drive.

Import a Google Drive file shared with you

  1. Connect the Google Account that was granted access to the file.
  2. In the Google Drive list, select Import shared files, then Choose files. Select the file in the picker.

Editing files

Describe tables and relationships to generate an ER diagram

  1. Choose Diagram at the top of the editor, tap the field at the bottom, and choose Edit.
  2. Send a request such as “Create Customer and Order tables. One customer can have many orders. Give each table an ID and have each order reference its customer.”
  3. Check the tables, keys, and relationships, such as one-to-many. Use the same field to request changes.
Describe tables and relationships to generate an ER diagram

Ask AI a question about the diagram

  1. Choose Diagram, tap the input field at the bottom, then choose Ask.
  2. Send a question such as “Explain the relationships in this diagram” and read the reply in the chat window.
Ask AI a question about the diagram

Edit attributes and relationships in Mermaid

  1. Choose Edit at the top of the editor to open the ER diagram’s Mermaid source.
  2. After adding attributes or changing a relationship, switch to Diagram to check the result.
Edit attributes and relationships in Mermaid

Share content by URL

  1. Open the export menu in the editor and select Share on the web (URL).
  2. Copy the generated URL and send it to the people you want to share it with.

The URL contains the content from the time the link was created. The type and amount of content you can share are limited.

Share content by URL

Export the diagram as an image, Mermaid, or HTML

  1. Select the share icon in the top-right corner of the editor.
  2. Choose an image to place the diagram in another document, Mermaid (.mermaid) to edit the source later, or HTML to open the file in a browser.
Export the diagram as an image, Mermaid, or HTML

Export an ER diagram as a SQL file

  1. Select the share icon in the top-right corner of the editor.
  2. Choose the SQL export for your database: MySQL, PostgreSQL, Oracle, or SQLite.
  3. Before using the exported SQL, review the data types, primary keys, and foreign keys.

SQL export requires Pro.

Export an ER diagram as a SQL file

Purchases

Buy a paid plan

  1. Select the Purchase cart icon in the file list.
  2. Choose Monthly or Annual, review the plan and price, then select Subscribe.
Buy a paid plan
Buy a paid plan

Restore a purchase

  1. For an app store purchase, sign in with the store account you used to buy the plan.
  2. Open the purchase screen in the app, select Restore purchase, and check the result.
Restore a purchase

Manage a purchase or subscription

  1. If Manage subscription appears in the file list’s information menu, select it.
  2. Use the store or service where you purchased the plan to review or cancel your subscription.

Back to app details →