TextTools.site

SQL Formatter & Beautifier

Format and beautify SQL queries with proper indentation. All processing happens in your browser.

About SQL Formatting

Well-formatted SQL is easier to read, debug, and maintain. This tool formats your SQL queries with proper indentation and keyword styling.

Features

  • Automatic keyword capitalization
  • Proper indentation for clauses
  • Works with SELECT, INSERT, UPDATE, DELETE
  • Supports JOINs, subqueries, and common SQL patterns