Skip to content

SQL Formatter

Format and beautify SQL queries online for PostgreSQL, MySQL, SQL Server and more. Free, private, instant.

5 files per day per IP across all free tools. A subscription is required beyond that. Resets at 00:00 UTC.

Files uploaded for processing expire after 24 hours. Online drafts expire after the last save: 24 hours without an account, 48 hours with an account. Expired data is then deleted by automatic cleanup.

How to use SQL Formatter

  1. 1

    Paste or upload

    Paste your data or open a file.

  2. 2

    Transform

    The result is generated instantly in your browser.

  3. 3

    Copy or download

    Copy the result to the clipboard or download it as a file.

Frequently asked questions

Is SQL Formatter free?

5 files per day per IP across all free tools. A subscription is required beyond that. Resets at 00:00 UTC.

Is SQL Formatter secure?

Transfers use TLS encryption. Files uploaded for processing expire after 24 hours. Online drafts expire after the last save: 24 hours without an account, 48 hours with an account. Expired data is then deleted by automatic cleanup.

Do I need to install anything?

No. SQL Formatter works in any modern browser on Windows, macOS, Linux, iOS and Android.

How do I cancel?

You can cancel at any time from your dashboard in two clicks. You keep access until the end of the paid period.

Related tools

Developer tools →