CloudairyCloudairy
Cloudairy
Templates
Get startedBuildArtifactsAgentsConnectAdministerHelp
Artifacts
CanvasCreate a canvasA tour of the canvas editorShapes, lines and iconsSticky notes, text, drawing and framesWidgets in More toolsFlowcharts, mind maps, UML and cloud diagramsPresent, comment and restore versionsImport and export a canvas
WhiteboardRun a workshop on a whiteboard
ERDBuild tables and relationshipsImport a schema and export SQL
DocsA tour of the doc editorWrite with blocks and the slash menuTables and databasesEmbeds, views, charts and layoutsComments and suggested editsImport, export and version history
WikiStart a wikiSpaces, groups and pagesSite structure and navigationCustomize your wikiPublish your wikiPreview the reader viewChange requests, Extend, Analyze and Improve
ProjectsThe project pageCreate a task boardBoard viewsThe Main Table and columnsTask cardsOverview, automations and board settings
FormsBuild a formDesign and settingsShare a form and review results
DashboardsBuild a data dashboardBuild a project dashboard
SitesBuild a siteEdit your siteSite settings and publishing
CodeWork with a code project
SlidesBuild a deckEdit and restyle a deckPresent and download a deck
InfographicsMake and edit an infographicResize and export an infographic
WireframesMake and edit wireframes
ClipsRecord a clipEdit a clip and its transcriptShare a clip and its settings
Artifacts›ERD
View as Markdown View this page as plain text

Import a schema and export SQL

Turn an existing schema into a diagram, and get SQL out for your database.

Import a schema

Open an ERD.

Click Import in the bottom dock, or open the Tables panel ⋯ and click Import.

In Import your schema, pick the format: Schema JSON, SQL, CSV or XLSX. Files can be .json, .sql, .dbml, .txt, .csv, .xlsx or .xls.

Check the live preview.

Import. The tables appear on the board.

You can also start a new ERD from a file: Artifacts > ERD > Import. On the Free plan this shows an upgrade prompt.

Export SQL

Open the Tables panel ⋯ menu.

Point to Export SQL.

Pick PostgreSQL, MySQL, MariaDB, SQLite or SQL Server.

Copy the SQL, download a .sql file, or save it to Google Drive or OneDrive.

Start over

Delete all tables in the Tables panel ⋯ menu clears the diagram.

Next steps

  • Build tables and relationships
  • Connect Google Drive and OneDrive

Last updated November 26, 2026

Was this helpful?
PreviousBuild tables and relationshipsNextDocs
On this page
Import a schemaExport SQLStart overNext steps
Was this helpful?
© 2026 Cloudairy

Product

CloudairyTemplatesPricing