redtools.

SQL Formatter

Format SQL queries with a selected dialect.

  • Free
  • No sign-up
  • Runs in your browser

How to use SQL Formatter

SQL Formatter: Input, SQL dialect. Press Format, review the result and stated limits, then copy or download. Nothing runs automatically.

Formula and assumptions

Format SQL queries with a selected dialect. Input is not executed as code.

Example

Example input: select name, score from people where score > 5 order by score desc;. The editable workspace demonstrates the selected transformation. Example output: select name, score from people where score > 5 order by score desc;

Limits and output

SQL dialect must match your input. SQL is never executed. Minifier preserves quoted literals and comments. Maximum 200,000 UTF-8 input bytes per field and 1 MB output. Processing can be cancelled.

Sources and review

Tool methods reviewed 7 October 2026. Read the stated input and output limits.

Good to know

RedTools is an early version of an everyday utility workspace. Image, text, calculation, and developer inputs are processed in your browser.

Your favorites, recently used tool IDs, and theme choice are stored on this device. Tool inputs are not automatically saved. Invoice drafts are saved on this device only when you choose Save draft locally. Hosting can receive ordinary page requests; this app includes no analytics.

Image and PDF tools, including compression and conversion, run locally in your browser.

Icons: Solar by 480 Design · CC BY 4.0. Components: Be UI and shadcn/ui.

↑↓ to move · Enter to open · Esc to close