WizzyTools

Format and beautify SQL online

Works offline · never uploaded 0 uses

Pretty-print or minify a SQL query instantly in your browser, with clause-based line breaks.

Updated

/ 5 - Be the first to rate this tool Thanks for rating!

Verification failed - please try again.

How it works

  1. 1

    Paste the code or data you want to format.

  2. 2

    Choose pretty-print or minify, and set the indent width if you like.

  3. 3

    The formatted result updates instantly.

  4. 4

    Copy the result, or download it as a file.

Why use this tool

Every dev utility, one place

Format, convert, encode, decode, and generate — no more juggling ten tabs.

100% private, always

Every tool runs in your browser — your code and data are never sent anywhere.

Works on any device

Runs on Windows, Mac, Linux, iOS, and Android — nothing to install.

Instant results

No queues, no build step — results update as you type.

Built to handle real data

Full Unicode support and RFC-compliant parsing, edge cases included.

Free, always

Free to use, with no rate limits, sign-up, or trial period.

Frequently asked questions

The engine handles generic ANSI SQL along with common extensions used by MySQL, PostgreSQL, and SQL Server.

Yes, standard syntax keywords (like SELECT or WHERE) are uppercased to improve readability.

Subqueries are generally indented on new lines, though very small parenthetical blocks may be kept inline.

It focuses primarily on standard DML statements; complex procedural logic might lose some custom formatting.

It standardizes spacing around operators, but does not strictly pad aliases into vertical columns.

From the blog

Related tools

Format and minify CSS online

Pretty-print or minify CSS instantly in your browser, with adjustable indentation.

Format and beautify HTML online

Pretty-print or minify HTML instantly in your browser, with adjustable indentation.

Format and minify JavaScript online

Pretty-print or minify JavaScript instantly in your browser, correctly handling strings, template literals, regex, and comments.

Format and validate JSON online

Paste JSON to pretty-print, minify, and validate it instantly in your browser.

Format and beautify XML online

Pretty-print or minify XML instantly in your browser, with adjustable indentation.

Format and re-indent YAML online

Normalize inconsistent YAML indentation to a consistent width instantly in your browser.

Escape or unescape a string online

Escape or unescape a string for JS/JSON string literals instantly in your browser.

AI

Summarize a PDF with AI

Get a plain-language summary of any PDF document in seconds.

Optimize and minify SVG files

Shrink SVG files by removing comments, editor metadata, empty groups and extra precision, right in your browser.

Convert text to binary or hex and back

Convert text to binary or hexadecimal UTF-8 bytes and decode them back to text, instantly in your browser.

Compare two texts and see the differences

Paste two blocks of text to see every added and removed line highlighted, instantly in your browser.

Convert a Unix timestamp to a date

Convert a Unix timestamp to a human-readable date, or a date back to a timestamp, in your browser.