OpenEdit

Format SQL Online

Make a long query readable with consistent keyword casing and clause indentation.

Drop your file here

Supports SQL · processed locally

How to use the SQL Formatter

  1. 1Open or paste your SQL.
  2. 2Format the query.
  3. 3Review the structure.
  4. 4Copy or export the script.

Features

  • Clause-aware indentation
  • Keyword highlighting
  • Works with large scripts
  • Copy or export
  • 100% client-side — your file never leaves your device

Frequently asked questions

Related tools