a11y.skipToMainContent
1

SQLフォーマッタとミニマ

任意のSQLクエリを貼り付け、適切なインデント、キーワードのケーシング、および句のブレイクでフォーマットします。 PostgreSQL、MySQL、SQLite、BigQuery、Snowflake、Redshift、T-SQLなどの10のダイアレクトをサポートしています。 minify モードが含まれています.

Was this tool helpful?
Send output to:
Advertisement

How to use SQL Formatter

  1. SQL クエリを貼り付けます.
  2. ダイアレクト、キーワードケース、インデントを選ぶ.
  3. フォーマットまたはマイファイをクリックします.

SQL フォーマッターとは?

sql-formatter ライブラリで動作します。 フォーマットの設定には、キーワードケース(UPPER / bottom / keep)、タブ幅、およびダイアレクトが含まれます。 minify モードはコメントをストライプし、文字列リテラルを保存しながら空白を崩壊させます。

Advertisement

FAQ

SQL を実行しますか?
いいえ — 純粋にフォーマッタ。 クエリはデータベースに対して実行されません.
SQL がアップロードされましたか?
いいえ。 フォーマットはブラウザで完全に実行されます.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement