SQL Formatter
Format and beautify SQL queries with proper indentation and keyword capitalization. Free online SQL formatter.
Examples
select id,name from users where active=true order by created_at desc limit 5; SELECT
id,
name
FROM
users
WHERE
active = true
ORDER BY
created_at DESC
LIMIT
5; Frequently Asked Questions
What styling conventions does this SQL formatter follow?
By default, this tool capitalizes SQL keywords (SELECT, INSERT, UPDATE, JOIN) and adds clean line indentation for conditions and joins.
Related Tools
JS Formatter
Format and beautify JavaScript code with proper indentation. Free online JS formatter with syntax highlighting.
TS Formatter
Format and beautify TypeScript code with proper indentation. Free online TypeScript formatter.
HTML Formatter
Format and beautify HTML markup with proper indentation. Free online HTML formatter with syntax highlighting.
CSS Formatter
Format and beautify CSS stylesheets with proper indentation. Free online CSS formatter.
Regex Tester
Test and debug regular expressions with real-time match highlighting and group capture. Free online regex tester.
UUID Generator
Generate bulk random UUIDs (v4 and v1) instantly. Free online UUID / GUID generator tool.