SQL Formatter Online — Free SQL Query Beautifier & Minifier
Format complex and messy SQL code into clean, readable, properly indented queries in your browser.
在您的瀏覽器中執行。您的檔案不會離開裝置。 瞭解如何驗證
…
使用方法
- 1選擇設定
填寫資訊或選擇您需要的選項。
- 2檢視結果
更改任何內容時,預覽會立即更新。
- 3下載或儲存
將結果儲存到您的裝置。不會向伺服器傳送或儲存任何內容。
關於此工具
Format SQL statements with customizable indentation (2 spaces, 4 spaces, or Tabs), keyword capitalization (UPPERCASE or lowercase), and clause line breaks. Also includes one-click SQL minification.
獲得最佳結果的提示
開始之前請花一點時間閱讀選項,並先用一個小例子試用工具。一切都在您裝置的瀏覽器中執行;您輸入或新增的任何內容都不會被上傳,關閉標籤頁會清除所有內容。如果看起來不對,請重新整理頁面重試,或使用本頁的報告連結告訴我們出了什麼問題。如果結果仍然看起來不對,請每次只更改一個值,看看哪個輸入影響最大。如果您還會再用,請收藏此頁。
要點
- 分類: 文件
- 在瀏覽器中執行,無需註冊,無需上傳。
- 您輸入的資訊保留在裝置上。
- 提供多種語言。
- 內容最後稽核日期:
常見問題
Which SQL dialects are supported?
It supports Standard ANSI SQL, PostgreSQL, MySQL, MariaDB, SQLite, Oracle, and MS SQL Server queries.
Can I minify SQL queries for production?
Yes, click the Minify button to strip comments and redundant whitespace, compressing your query into a single line.
Can I change keyword casing?
Yes, choose between UPPERCASE, lowercase, or Preserve casing for all major SQL keywords.
Is my database query kept private?
Yes. Formatting is calculated directly in your browser. Your database schema and query logic never leave your browser.