All tools

SQL Formatter

Format SQL queries with a selected database dialect, indentation, and keyword style. No database connection is required.

Original SQL0 characters
Formatted result

Input and result notes

SQL formatting neither executes queries nor validates table names, permissions or business logic. Match the database dialect; formatted SQL is not necessarily executable.