Runs 100% in your browser
Your data never leaves your device. zero uploads.
Beautify SQL text with consistent spacing and indentation for easier reading.
SELECT department, COUNT(*) AS employees, ROUND(AVG(salary), 2) AS avg_salary, MAX(salary) AS top_salary FROM employees WHERE hired_on >= '2020-01-01' GROUP BY department HAVING COUNT(*) >= 5 AND AVG(salary) > 60000 ORDER BY avg_salary DESC;
Parsed as Standard SQLOnly whitespace and letter case changed. Comments are kept unless you remove them.
Formatted in your browser. Nothing is sent to a server.
Besides syntax errors, the formatter looks for four mistakes that still run: UPDATE or DELETE without WHERE, = NULL comparisons, and an extra comma before FROM or a closing parenthesis.
Turn ?, $1, :name or @name into real values. Paste a JSON array or object (strings are quoted for you), or one value per line.
Clean up a pasted query before discussing it in a review or adding it to documentation. Consistent layout helps reveal clause boundaries and nested expressions. Keep formatting changes separate from intentional changes to query logic.
Beautify a one-line aggregation query and compare the GROUP BY and HAVING clauses in the expanded result.
This is a text-formatting utility, not a database connection or SQL security checker. Validate important queries in your own test environment.
Paste a SQL statement into the input editor and the formatted version appears in the output panel as you type. Choose the dialect your database uses, then adjust keyword casing, indentation and blank lines between statements before copying the result.
Check that the dialect setting matches your database and that the layout makes the query easier to read. This is a text-formatting utility, not a database connection or SQL security checker, so validate important queries in your own test environment.
No registration, no tracking of your content, no server uploads. Don't just take our word for it:
Your files and text are processed entirely on your device. Nothing is ever sent to us.
Once loaded, this tool keeps working with your Wi-Fi turned off. Try it.
Open your browser's DevTools → Network tab. You'll see zero requests carrying your data.
More utilities for your next task.
Format SQL queries with selectable dialect, keyword case, and indentation settings for MySQL, PostgreSQL, and more. Free online SQL formatter, runs locally.
Split a PDF into smaller documents by page ranges, selected pages, or fixed intervals. Free online PDF splitter that processes files locally, never uploaded.
Select pages from a PDF and save them as a separate document, all in your browser. Free online tool to extract PDF pages with no uploads or watermark.