Skip to main content
DevToolbox

SQL Formatter

Nothing leaves your browser

Make a long query readable, or squeeze it onto one line. Strings, quoted names and comments are never changed, and problems are reported with their position.

Tab indents. Press Escape, then Tab, to leave the editor.

Formatted SQL

Paste SQL above to format it.