SQL formatter SQL formatter

Format SQL online

Make compact SQL queries easier to read by placing common clauses and column lists on separate lines.

The formatter is lightweight and intended for quick inspection of snippets, logs and generated queries.

The tool runs directly in the browser and is ready for quick checks without installing software.
Input can be cleared and recalculated immediately, which is useful for repeated small tasks.
Use fullscreen mode when you need more space for long text, structured data or large result blocks.
Copy buttons are available on generated output so results can be reused in code, documents or support chats.
Most operations are deterministic: the same input and options produce the same output.
For sensitive content, prefer local browser tools and review the result before sharing it further.