SQL Formatter

Format SQL using the selected dialect and indentation. Accepts TXT, JSON, MD, CSS, JS, XML files directly on your device. Configurable options include Dialect, Indent spaces, Keyword case, Indent with tabs.

Quick Reference

Format SQL using the selected dialect and indentation. Accepts TXT, JSON, MD, CSS, JS, XML files directly on your device. Configurable options include Dialect, Indent spaces, Keyword case, Indent with tabs.

  • Input: .txt, .json, .md, .css, .js, .xml, .html, .sql, .yaml, .yml
  • Runtime: On-device Browser UI, Node CLI (vipervoid), and MCP
  • Options: Dialect (default: sql); Indent spaces (default: 2); Keyword case (default: Preserve); Indent with tabs (default: false); Dense operators (default: false)
  • Example: Run directly with default or custom options -> Deterministic local output displayed for copy, download, or JSON inspection
  • CLI: vipervoid run sql-formatter --text "Sample input" --opt language="sql"

Related Developer tools