SQL Formatter
Format SQL for PostgreSQL, MySQL, SQL Server, Oracle and more.
Runs in your browser: data never leaves your device. Free, no sign-up. Also known as: sql beautifier, query, postgres, mysql.
How to use SQL Formatter
- Paste your input, open a file, or press Sample to see an example.
- Pick a mode or adjust the options; results update instantly.
- Use Copy or Download to take the result with you.
Frequently asked questions
- What does the SQL Formatter do?
- Format SQL for PostgreSQL, MySQL, SQL Server, Oracle and more.
- Is the SQL Formatter free?
- Yes. It is completely free, with no sign-up, no watermark and no usage limits.
- Is my data safe?
- Yes. This tool runs entirely in your web browser. Your text and files are never uploaded to a server, stored or logged.
- Does it work on mobile?
- Yes. It works in any modern browser on Windows, macOS, Linux, Android and iOS, with nothing to install.
- What other data & code tools are there?
- Runeforge has 14 data & code tools in The Codex, plus 91 more tools across other categories.
More from The Codex
- JSON Formatter & Validator
Beautify, minify, validate and sort JSON with precise error locations.
- JSON ⇄ YAML
Convert JSON to YAML and YAML back to JSON.
- JSON ⇄ TOML
Convert JSON to TOML config and TOML back to JSON.
- .env ⇄ JSON
Convert a .env file to JSON and JSON back to dotenv format.
- JSON ⇄ CSV
Turn JSON arrays into CSV spreadsheets and CSV into JSON.
- JSON ⇄ XML
Convert between JSON objects and XML documents.