Loading...
Convert SQL to Markdown online for free. Format SQL queries as Markdown code blocks. Syntax highlighting.
Convert SQL CREATE TABLE statements to Markdown documentation
• Extracts column names, types, and constraints
• Identifies PRIMARY KEY, UNIQUE, NOT NULL constraints
• Captures DEFAULT values
• Supports common SQL data types (INT, VARCHAR, TIMESTAMP, BOOLEAN, JSON, etc.)
• Works with MySQL, PostgreSQL, and standard SQL syntax
• Generates GitHub-flavored Markdown tables
Enter CREATE TABLE statement
Choose whether to include data types
Generate Markdown documentation
Copy or download the markdown
Enter CREATE TABLE statement
Choose whether to include data types
Generate Markdown documentation
Copy or download the markdown
Supports MySQL, PostgreSQL, and standard SQL syntax. Most common CREATE TABLE formats work.
Yes, PRIMARY KEY, FOREIGN KEY, UNIQUE, NOT NULL, and DEFAULT constraints are extracted and documented.
Currently processes one CREATE TABLE statement at a time. For multiple tables, run each separately.
Complex types are preserved as-is in the type column for accurate documentation.