SQL Formatter

Format and beautify your SQL queries instantly.

How to use the SQL Formatter?

  • Paste your raw or messy SQL query into the input area.
  • Click the 'Format SQL' button to automatically indent and beautify the code.
  • Keywords will be capitalized for better readability.
  • Click the copy icon to copy the formatted SQL to your clipboard.
  • Everything happens entirely in your browser. No data is sent to our servers.