SQL Formatter

Online SQL formatter with T-SQL (SQL Server), PL/SQL (Oracle), MySQL and PostgreSQL dialects. Indentation, keyword case and minification.

Processed locally — the content is never sent to the server

SQL formatter for people who work with ERP

Report, rule and integration queries tend to grow fast. Formatting SQL makes clauses, joins and conditions readable, eases code review and reduces errors during maintenance.

  • T-SQL and PL/SQL: handles SQL Server and Oracle specifics, the most common databases in Senior environments.
  • Minify: removes comments and extra spaces so you can paste the query into parameters, logs or APIs.
  • Shortcut: Ctrl + Enter formats.

Formatting engine: open-source library sql-formatter (MIT license).