SQL Formatter

Format SQL queries for common dialects.

WebRuns in your browser

About this tool

Format SQL queries with uppercase keywords and readable indentation. Pick a dialect such as PostgreSQL or MySQL so dialect-specific syntax is understood. The query is only formatted, never executed or sent anywhere.