UnQTools
Developer Runs in your browser

CREATE TABLE Generator

Design a SQL table visually and generate correct CREATE TABLE DDL for MySQL, PostgreSQL, SQLite, and SQL Server. Add columns, types, defaults, primary keys (single/composite), unique, foreign keys with ON DELETE/UPDATE, indexes, CHECK constraints, ENUMs and comments. Includes CSV/JSON column inference, IF NOT EXISTS, matching DROP TABLE, seed INSERT scaffolding, MySQL engine/charset, SQLite WITHOUT ROWID, reserved-word auto-quoting and per-dialect identifier limits. 100% client-side.

100% Private Works Offline Instant

Design a SQL table visually and generate correct CREATE TABLE DDL for MySQL, PostgreSQL, SQLite, and SQL Server. Add columns, types, defaults, primary keys (single/composite), unique, foreign keys with ON DELETE/UPDATE, indexes, CHECK constraints, ENUMs and comments. Includes CSV/JSON column inference, IF NOT EXISTS, matching DROP TABLE, seed INSERT scaffolding, MySQL engine/charset, SQLite WITHOUT ROWID, reserved-word auto-quoting and per-dialect identifier limits. 100% client-side. Everything runs locally in your browser — your data never leaves your device.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.