Export and import JSON

🔒 JSON export and import are available on DrawSQL's paid plans.

DrawSQL's JSON export is a full snapshot of your diagram — every table, column, index, and relationship, plus the canvas itself: table groups, sticky notes, colors, and layout. Import that file back and you get the exact same diagram, which makes it the format for backups, moving diagrams around, and tracking your schema in git.

Exporting

  1. In the diagram editor, click FileExport.

  2. Pick JSON and click Start export. The .json file downloads automatically.

Selected some tables first? The export can scope to just your selection — you get a clean, self-contained slice of the diagram instead of the whole thing.

Importing

Click FileImport and paste or upload the .json file — it's auto-detected. Tables, relationships, groups, sticky notes, and layout are all restored.

What people use it for

  • Backups and snapshots. Commit an export next to your migrations to track how the schema evolved.

  • Copying diagrams between workspaces. Export from one team, import into another — layout intact.

  • Programmatic edits. The file is plain, readable JSON — script a bulk rename or generate tables, then import the result.

Still have a question? We'd love to help!