SQL Formatter

SQL Formatter is a free online tool that provides sql formatter formatting, minification, diffing, or live sandboxed execution directly in your browser. It supports HTML, CSS, JS, SQL, XML, YAML inputs and outputs using sql-formatter, DOMPurify, diff, and sandboxed iframe preview with live previews and instant export. All processing runs locally inside your browser tab with zero server uploads, no sign-up, and full offline support, plus direct AI agent access via the sql_format MCP tool.

ブラウザ完結・ファイル送信なし・登録不要。

技術仕様

Category
開発者
Formats
HTML, CSS, JS, SQL, XML, YAML
Runtime
ブラウザ完結・ファイル送信なし・登録不要。
Engine
code-format-playground
MCP
sql_format

使い方: SQL Formatter

  1. Paste source code, SQL queries, XML, or comparison snippets into SQL Formatter.
  2. Choose indentation, SQL dialect, minification, or live sandbox preview options.
  3. Copy the formatted code, inspect line diffs, or download the result locally.

よくある質問

Which SQL dialects does SQL Formatter support?
SQL formatting powered by sql-formatter supports Standard SQL, PostgreSQL, MySQL, SQLite, BigQuery, and T-SQL.
Is the HTML/JS playground isolated safely?
Yes. Live HTML/CSS/JS previews render inside a sandboxed iframe and HTML previews sanitize untrusted markup.
Does proprietary source code leave my machine?
No. Formatting, minifying, and diffing run 100% locally in your browser.

関連ツール