OneTool

SQL Formatter

Basic SQL pretty-print for readability.

Basic pretty-printer: keyword casing and line breaks before major clauses. Not a full SQL parser — complex CTEs/strings may need a hand edit.

What is this tool?

Dense one-line SQL is hard to review. This formatter applies light pretty-printing: optional keyword uppercasing and line breaks before major clauses (SELECT, FROM, WHERE, JOIN, etc.). It is not a full dialect-aware parser.

How to use it

  1. Paste SQL into the input.
  2. Toggle uppercase keywords if desired.
  3. Copy the formatted output.