Công cụ định dạng SQL
Công cụ định dạng SQL miễn phí. Định dạng SQL một dòng xấu thành một truy vấn dễ đọc, thụt lề. Hỗ trợ SELECT, JOIN, WHERE, GROUP BY trên hầu hết các ngôn ngữ SQL.
Runs in your browserUpdated Apr 26, 2026
SQL Input
Formatted SQL
⌘⇧C
Các câu hỏi thường gặp
›Which SQL dialects are supported?
Standard ANSI SQL works across PostgreSQL, MySQL, SQLite, MS SQL and most others. Vendor-specific extensions may format imperfectly.
›Does it modify the query?
Only whitespace and case — keywords are uppercased by convention but the logic is identical to your input.
›Is my SQL sent to a server?
No — formatting happens entirely in your browser. Useful when working with sensitive queries.
›Can it format very long queries?
Yes — anything your browser can hold in memory. Multi-thousand-line queries work fine.
›Is the formatter free?
Yes — fully free, no signup.