SQL & Databases
Format, minify, and visualize SQL for PostgreSQL, MySQL, SQLite, and T-SQL without pasting schemas into a remote server.
Tools (5)
SQL Formatter
Format messy SQL into readable, consistently indented queries.
SQL Minifier
Compress messy SQL queries into single-line statements by removing comments, blank lines, and unnecessary spaces.
SQL to ERD
Parse CREATE TABLE statements and export a Mermaid erDiagram with PK/FK annotations — client-side only.
CSV to SQL
Turn CSV rows into CREATE TABLE and INSERT statements for PostgreSQL, MySQL, SQL Server, or SQLite, with column types inferred from the data.
JSON to SQL
Convert an array of JSON objects into CREATE TABLE and INSERT statements, flattening nested objects and storing arrays as JSON.