mtools.lol

SQL Formatter

Format and beautify SQL queries for 9 dialects.

How it works

  1. 1Paste your SQL.
  2. 2Choose the dialect and style.
  3. 3Copy the formatted query.

Features

  • 9 dialects.
  • Upper, lower or original keyword case.
  • 2 spaces, 4 spaces or tabs.
  • Private: runs in your browser; nothing is uploaded.

Frequently asked questions

Does it check my SQL?

It formats but doesn't run or fully validate queries.