SQL and PL/SQL formatter

Lay out SQL and PL/SQL the way your team writes it, with one key: Ctrl+Shift+F for the window, Ctrl+Alt+F for the statement at the caret.

Your rules, shared by the team

  • Profiles for SELECT, DML, MERGE and PL/SQL; export a profile and import it on your colleagues' PCs
  • Keyword, built-in, data type and identifier case
  • Lists one per line or wrapped, leading or trailing commas, aligned aliases and operators
  • A live preview in Preferences while you change the rules

Safe on real code

Formatting only changes spacing, line breaks and letter case, and Felix checks that it did nothing else. Comments on a line of their own stay on their own line. Packages, procedures and functions are formatted as a whole: declarations and blocks indented, each parameter on its own line with its mode, type and default aligned.

The SQL formatter: one long line laid out by the formatting profile

Try it on your own database

Felix is a Windows IDE for Oracle SQL and PL/SQL, from 11g to 23ai. Every feature is in the free 30-day trial; no account needed.