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.

SQL input

Sample:
Keyword case:
Indent:
View:

Formatted SQL

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

Schema diagram

How to use SQL Formatter

Paste raw or minified SQL into the input and click Format. The tool applies consistent indentation, uppercase for keywords, and line breaks after clauses to produce readable, review-friendly SQL. Works with SELECT, INSERT, UPDATE, DELETE, and CTEs.

Common use cases

Developers use this to clean up auto-generated or hand-written SQL before committing it to code reviews. Data analysts use it to format ad hoc queries copied from database clients, and DBAs use it to standardise SQL in stored procedures and migration scripts.

Why run this in your browser?

All processing happens locally in your browser. Your data never leaves your machine, making it safe for sensitive payloads, internal API responses, and confidential configurations.