All developer tools
SQL Formatter
Format SQL into readable, indented lines for your database, or squeeze it onto one line.
Runs in your browser. Nothing is uploaded.
How to use
- Paste your SQL, or press Try a sample.
- Pick the dialect, keyword case and indent.
- Press Format for readable SQL or Minify for one line without comments.
- Copy the result or download it as a .sql file.