Zase

SQL Formatter

Format SQL with clause breaks and keyword casing.

Get it in Chrome

Also available in the Chrome extension Every Zase tool also lives in the free Developer Toolkit by Zase extension: fully offline, in a window or the side panel, one keyboard shortcut away.

Add to Chrome

About this SQL Formatter

The SQL Formatter lays out SQL queries with clause breaks and consistent keyword casing, turning a one-line SELECT into something you can actually read and review. Paste a query from an ORM log, format it, and the joins, filters and grouping finally line up.

How to use the SQL Formatter

  1. Paste your SQL into the input panel.
  2. Format it and pick the keyword casing you prefer.
  3. Copy the formatted query back into your code or ticket.

Good to know

  • Formatting a logged query is often the fastest way to spot the missing join condition.
  • Strings and comments are preserved exactly; only the layout and keyword case change.
  • Consistent casing in a team codebase makes diffs quieter and reviews faster.