Import SQL File
Upload a .sql file to import an existing schema into TalkingSchema.
Steps
- Click the Import button in the top toolbar
- Select Upload SQL file
- Choose your
.sqlfile from your computer - TalkingSchema parses the file and populates the ERD
Supported file types
.sql— SQL dump files, migration files- Any file containing
CREATE TABLEstatements
Tips
- Works with PostgreSQL
pg_dumpoutput - Works with MySQL
mysqldumpoutput - Works with SQLite
.dumpoutput - Comments in the SQL file are ignored
INSERTstatements are ignored — only schema (DDL) is imported
Troubleshooting
Schema doesn't appear after upload:
- Ensure the file contains
CREATE TABLEstatements - Try pasting the SQL instead via Paste SQL
Only some tables appear:
- The parser skips unsupported SQL syntax
- Simplify complex DDL and try again
Related
- Paste SQL — paste SQL directly without uploading a file
- Import DBML File — import using DBML format instead
- SQL Export — export your schema back to SQL