Free, browser-based utilities for everyday developer workflows

SQL Formatter (Basic)

Lightweight SQL formatting for common statements (SELECT/CTE/INSERT/UPDATE/DELETE). Visual mode renders CREATE TABLE schemas as a diagram.

  • Format SQL queries for readability.
  • Control keyword casing and indentation.
  • Visualize table schemas from CREATE TABLE.
  • Share results: Generate a secure link to share your current input and results with teammates — nothing is uploaded to any server.

SQL input

Sample:
Dialect:
Style:
Keyword case:
Indent:
View:
Advanced formatting options

Formatted SQL

Tip: Use Ctrl+K to jump to other tools quickly.

SQL Summary

Paste SQL and run Format or Analyze.

Statement list

SQL Inspector (best-effort)

Safety / Lint

Destructive SQL report

Visual Schema

Join Graph

CTE Dependency View

Parameters

Exports

Next Steps

Schema diagram

How to use the SQL Formatter

Beautify long, ORM-generated, or copy-pasted SQL queries into clean, readable code with consistent indentation, keyword casing, and line breaks. The SQL Formatter supports PostgreSQL, MySQL, SQL Server (T-SQL), BigQuery, Snowflake, SQLite, and standard SQL — and can visualize CREATE TABLE statements as a schema diagram. Everything runs in your browser; queries never leave your machine.

What it does

When to use it

How to use it

  1. Paste your SQL into the editor.
  2. Pick the SQL dialect to get dialect-aware keyword handling.
  3. Choose keyword casing (UPPER recommended for readability) and indent size.
  4. Click Format (or use the keyboard shortcut). Copy the formatted SQL.
  5. For CREATE TABLE input, switch to the schema diagram view to see columns and relationships.
  6. For building lists of values, hand off to the SQL IN Clause Builder; for joins, try the SQL Join Builder.

Tips & pitfalls

FAQ

Runs locally in your browser. No uploads. No analytics on pasted SQL.