uencoder

SQL Formatter

Beautify or minify SQL queries online. Uppercase keywords, indent clauses, or compress to a single line. Free, private, and 100% client-side.

Local only

Recent history

No history yet

How to use

  1. Paste SQL into the input box.
  2. Choose Beautify or Minify mode.
  3. Toggle uppercase keywords if needed.
  4. Copy or download the formatted result.

Frequently asked questions

Which SQL keywords are recognized?
Common SQL keywords including SELECT, FROM, WHERE, JOIN, ORDER BY, GROUP BY, INSERT, UPDATE, DELETE, and more are recognized for formatting.
Does the tool validate SQL syntax?
No. The tool formats SQL text structurally but does not validate semantic correctness. It focuses on keyword casing, indentation, and whitespace.

Related tools