Suggest a tool

Tell us what tool you wish existed. We build one every week from real user requests.

Tidy up text.

SQL Formatter / Beautifier

Paste a SQL query and get a clean, properly indented, syntax-highlighted version.

SELECT ID, NAME, EMAIL
FROM USERS
WHERE ACTIVE = 1
AND CREATED_AT > 600">'2024-01-01'
ORDER BY CREATED_AT DESC
LIMIT 100;

About this tool

Turn one-line or minified SQL into a readable multi-line query with keyword uppercase and consistent indentation. Handles SELECT, INSERT, UPDATE, DELETE, JOINs, and CTEs. Common r/programming and r/SQL request.

Related tools

More formatters you might find useful.

Other categories

Looking for something different? Browse the rest of the catalog.

Sponsored suggestions

Some links below are affiliate links. We may earn a commission if you purchase through them, at no extra cost to you.