SQL Formatter
Format and beautify SQL queries online for PostgreSQL, MySQL, SQL Server and more. Free, private, instant.
5 files per day per IP across all free tools. A subscription is required beyond that. Resets at 00:00 UTC.
Files uploaded for processing expire after 24 hours. Online drafts expire after the last save: 24 hours without an account, 48 hours with an account. Expired data is then deleted by automatic cleanup.
How to use SQL Formatter
- 1
Paste or upload
Paste your data or open a file.
- 2
Transform
The result is generated instantly in your browser.
- 3
Copy or download
Copy the result to the clipboard or download it as a file.
Frequently asked questions
Is SQL Formatter free?
5 files per day per IP across all free tools. A subscription is required beyond that. Resets at 00:00 UTC.
Is SQL Formatter secure?
Transfers use TLS encryption. Files uploaded for processing expire after 24 hours. Online drafts expire after the last save: 24 hours without an account, 48 hours with an account. Expired data is then deleted by automatic cleanup.
Do I need to install anything?
No. SQL Formatter works in any modern browser on Windows, macOS, Linux, iOS and Android.
How do I cancel?
You can cancel at any time from your dashboard in two clicks. You keep access until the end of the paid period.
Related tools
Developer tools →- JSON FormatterFormat, validate and minify JSON online with clear error messages. Runs entirely in your browser.
- JSON to CSVConvert JSON to CSV online instantly. Paste or upload your data, it never leaves your browser.
- CSV to JSONConvert CSV to JSON online instantly. Paste or upload your data, it never leaves your browser.
- XML to JSONConvert XML to JSON online instantly. Paste or upload your data, it never leaves your browser.
- YAML to JSONConvert YAML to JSON online instantly. Paste or upload your data, it never leaves your browser.
- Compress an imageShrink JPG, PNG and WebP photos: set the quality, check the result, then download.
