Skip to content
Dogu Expedition

SQL Formatter

Format SQL queries with line breaks and indentation for your database dialect.

#Developer
Processed in your browser, never uploadedDEV-116

What is SQL Formatter?

Tidy up a query crammed onto one line: uppercase keywords, add line breaks, and indent it properly. Pick a dialect such as MySQL, PostgreSQL, Oracle PL/SQL, or SQL Server.

How to use

  1. 1

    Paste your SQL.

  2. 2

    Choose the dialect, indentation, and keyword case.

  3. 3

    Copy the formatted query.

Use cases

Reading query logs

Make a long query from ORM logs easy to read.

Code review

Normalize query style before a review.

FAQ

Is my data saved or sent anywhere?+

No. Everything is processed in your browser and nothing is saved or sent.

Search tools

Find tools by name, description, or keyword