devtools
Local developer utility

SQL Formatter

Format or compact SQL with dialect selection; send results to Text Diff for comparison. Your input stays in your browser while you work.

SQL FormatterπŸ”’ Processed locally

SQL is never executed. Compact mode removes unnecessary whitespace while retaining comments and quoted literals. Stored procedures are not supported.

Only options are saved, never input text or files.

How to use SQL Formatter

Complete the labeled fields above, choose an action, and inspect the result before copying or downloading it.

Processing runs locally in this browser. No input is uploaded or sent to a conversion service.

SQL is never executed. Compact mode removes unnecessary whitespace while retaining comments and quoted literals. Stored procedures are not supported.

Inputs

  • SQL query
  • SQL dialect
  • Indentation
  • Keyword case

Related tools

  • Text Diff β€” Compare plain text with readable additions and removals.
  • CSV Viewer & Editor β€” Edit CSV cells, detect delimiters, sort rows and download a revised spreadsheet.
  • Secret & PII Redactor β€” Preview masking of emails, bearer tokens and selected JSON field names before exporting.
  • Line Sorter β€” Sort lines alphabetically with configurable direction and duplicate removal.