SQL formatter
Paste a query and choose your database.
Save answers to compare them side by side. They stay on this device.
Nothing saved yet. Press "Save" under an answer.
| Question |
Numbers |
Answer |
Actions |
Add this tool to your website
Paste this code into your page. The tool runs in your visitors' browsers: what they type is not sent to you or to us. No cookies, no tracking.
Your input never leaves your device. 100% private.
Average rating
0.0
/ 5
★★★★★
★★★★★
No ratings yet. Be the first to rate this tool.
Ratings by stars
-
5 ★5 stars
0
-
4 ★4 stars
0
-
3 ★3 stars
0
-
2 ★2 stars
0
-
1 ★1 star
0
Log in to save this tool, rate it and write a review.
Log in
Create an account
Confirm your email address to rate and review tools.
Go to your account
⚑ Report a problem
Wrong answer, a bug or a bad translation? Tell us. You do not need an account.
Do not paste personal data or the text, numbers or files you used in the tool. Describe the problem instead.
How to use the SQL formatter
- Paste your SQL.
- Choose the database and keyword case.
- Copy or download the formatted SQL.
Worked example
select id, name from users where age > 18 becomes SELECT, FROM and WHERE on their own lines.
How it is worked out
Uses sql-formatter (MIT), loaded only on this page. Queries are formatted, never run.
Limits
- Formatting does not check that tables or columns exist.
Privacy
Everything happens in your browser. What you type or choose is not sent to us, stored or logged.
A new version of Max Tamilan is ready.