コード、データと QRツール

SQL フォーマッター

「SQL フォーマッター」はコード、データと QRに使えるブラウザツールです。入力内容と結果は通常この端末内で処理され、登録は必要ありません。

ブラウザ内で処理登録不要プライバシーの説明 ↗

Up to 200,000 characters. Formatting happens locally in your browser.

Only recognized structural keywords are changed.

使い方

使い方

  1. Paste SQL up to 200,000 characters.
  2. Choose two or four spaces, or tabs, then format the query.
  3. Review the result and copy or download the SQL text.

Readable SQL without a database

The formatter works on SQL text only. It does not connect to a database, execute statements, resolve schemas, or fetch external resources.

Conservative token handling

Quoted strings, quoted identifiers, line comments, and block comments are kept as tokens while common clauses and punctuation are arranged for easier review.

よくある質問

あわせて知りたいこと

Is my SQL uploaded?

No. Formatting, copying, and downloading happen locally in your browser.

Does this validate or execute SQL?

No. It provides conservative formatting help and does not parse, validate, or execute database statements.

Which SQL dialects are supported?

The formatter targets common SQL syntax and preserves unfamiliar keywords and expressions as text. Review dialect-specific output before running it.

Are strings and comments preserved?

Yes. Quoted values, quoted identifiers, line comments, and block comments are treated as protected tokens.