SQL Formatter

Formatted SQL

Formatting will appear here after clicking "Format SQL"...

About SQL Formatter

Paste your SQL query to beautify and format it for better readability. This tool applies basic formatting rules like keyword capitalization and indentation.

For more advanced SQL formatting, consider using a dedicated library such as sql-formatter. This tool provides a simple client-side demonstration.

All formatting happens client-side in your browser.