Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

SQL Formatter (VSCode-Friendly)

Client-side SQL formatter you can use with VS Code: format messy SQL, indent clauses, break lines on commas/AND/OR, and copy clean output. No uploads, no libraries.

Tip for VS Code: paste the formatted result, then use your editor's own formatting rules consistently (language mode: SQL).
Privacy: runs locally in your browser. No uploads, no tracking scripts.

How to use

Use this to format SQL before pasting into VS Code (or to clean up SQL copied from logs/apps).

  1. Paste SQL into the input box.
  2. Pick options (indent size, keyword case, line breaks).
  3. Click Format (or Minify).
  4. Click Copy Output and paste into VS Code.

FAQ

Does this replace a VS Code SQL formatter extension?

No—this is a quick client-side formatter you can use before pasting into VS Code (or when you can’t rely on extensions).

Will it change my string literals or quoted identifiers?

It keeps quoted strings/identifiers intact and only normalizes layout and keyword casing.

Can it uppercase SQL keywords like SELECT, FROM, WHERE?

Yes—choose UPPERCASE, lowercase, or preserve under Keyword case.

How does it handle AND/OR in WHERE?

If “Break AND/OR” is enabled, it places AND/OR on new lines (best for long filters).

Does it support MySQL, PostgreSQL, SQL Server, and SQLite?

It’s dialect-agnostic for common syntax; very vendor-specific syntax may not format perfectly.

Is my SQL uploaded anywhere?

No—formatting runs in your browser and the tool does not make network requests.

Why does it break lines after commas?

It’s a readability option for SELECT lists and long expressions; you can turn it off.

Continue your workflow

Browse related tools by task. Use the improved core tools for a consistent workspace with file import, downloads and clear validation errors.