Formatter · Oracle
Format Oracle SQL online
Reformat Oracle queries against Oracle's own grammar: consistent indentation, aligned clauses and uppercase keywords. Paste one-line or ORM-generated SQL and get structured, reviewable output.
1Paste your Oracle query into the editor.
2Press Format — or ⌘↵.
3Copy clean, highlighted SQL.
Why format Oracle?
Oracle (PL/SQL) has a dialect all its own: ROWNUM paging instead of LIMIT, NVL/DECODE, the || concatenation operator, TO_CHAR/TO_DATE and dual. The formatter parses against Oracle's grammar so these constructs and (+) outer-join syntax stay intact instead of being mangled.
Especially handy for the dense queries copied out of SQL Developer or Toad, where everything lands on one line and ROWNUM logic is easy to misread.