Text & Developer Tools

SQL Formatter

Pretty-print SQL queries with sql-formatter.

  • Private when possible
  • No account required

Preparing tool…

About this tool

Beautify SQL queries with structured indentation so joins and filters are easier to audit.

How to use

  1. Paste SQL.
  2. Copy formatted SQL.
  3. Run in your DB client.

Features

  • sql-formatter lib
  • Readable clauses
  • Local
  • Fast

Common use cases

  • Development
  • Debugging
  • Data cleanup

Supported formats

Privacy

This tool processes data in your browser. Content is not uploaded to our servers unless a feature explicitly requires a network request.

Frequently asked questions

Related tools

Continue with a closely related task.

Popular tools

Continue with a closely related task.