Pocket Dev Tools
Search by task or app nameSearchContact us
Pricing

SQL formatter

Format SQL queries with the selected dialect, two-space indentation and optional uppercase or lowercase keywords.

Up to 1,000,000 characters.

How to use

  1. Input

    Paste SQL, choose its dialect and keyword case, then format it. Review the result before copying or saving.

  2. Output

    Review the result, then copy it or save the file.

Background

SQL formatter

Formatting changes layout and optionally keyword case. Queries are never executed or sent to a database. Dialect-specific syntax needs the matching dialect; this is not a semantic SQL validator.

How input and results are handled

Input
Input is processed in your browser.

Current settings

Search tools