Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>SQLinForm SQL FormatterNew to Visual Studio Code? Get it now.
SQLinForm SQL Formatter

SQLinForm SQL Formatter

Gu.The Software

|
7,093 installs
| (7) | Free
SQL Formatter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

sqlinform README

SQL Formatter for VS Code

Getting Started

Professional SQL formatting for Visual Studio Code with multiple profile support.


Demo

Getting Started


🚀 Quick Start

Format SQL

SQLinForm integrates with VS Code's native formatting system. You can format SQL the same way you format any other language:

Action Shortcut Description
Format Document Shift+Alt+F Format the entire SQL file
Format Selection Ctrl+K Ctrl+F Format only the selected text
Format on Save Enable in Settings Automatically format when saving
Context Menu Right-click Select "Format SQL (SQLinForm)"
Command Palette Ctrl+Shift+P Type "Format SQL"

💡 TIP: Open the Settings Panel first for instant formatting!
The formatter loads in the background, making all subsequent formatting operations super fast.

How to open: Ctrl+Shift+P → SQLinForm Settings Panel

Enable Format on Save

To automatically format your SQL every time you save:

  1. Press Ctrl+, to open VS Code Settings
  2. Search for format on save
  3. Enable Editor: Format On Save

Switch Profiles

The active formatting profile is shown in the status bar (bottom right) when editing SQL files.

  • Click the status bar item to switch between profiles
  • Both Local and Team profiles are shown — selecting a profile from the other group switches automatically
  • Or use Ctrl+Shift+P → "Switch Profile (SQLinForm)"

Open Settings Panel

⌨️ Press Ctrl+Shift+P (Cmd+Shift+P on Mac)
🔍 Type: "SQLinForm Settings Panel"
⏎ Press Enter

🌟 Key Features

  • ✨ Professional SQL Formatting with industry-standard rules
  • ⌨️ Native VS Code Integration — Shift+Alt+F, Format on Save, Format Selection
  • 📊 Status Bar Profile Indicator — see and switch the active profile with one click
  • 🎭 5 Independent Profiles — different styles for different projects
  • 👥 Team Profile Sharing — share formatting profiles via shared network or cloud directory
  • 🔄 Cross-Plugin Sync — profiles shared across VS Code, SSMS, Notepad++, JetBrains, DBeaver, Desktop App
  • 🗄️ 30+ Databases — SQL Server, PostgreSQL, Oracle, MySQL, DB2, BigQuery, Snowflake, Trino, Athena, and many more
  • 💎 Free & Pro Versions — Pro version unlocks 200+ advanced options

📥 Installation

From VS Code Marketplace:

  1. Open Extensions (Ctrl+Shift+X)
  2. Search for "SQLinForm"
  3. Click Install

⚙️ Settings

Disable Formatter

If you want to temporarily disable SQLinForm as the default SQL formatter:

  1. Press Ctrl+, to open VS Code Settings
  2. Search for sqlinform.format.enable
  3. Uncheck the setting

When disabled, Shift+Alt+F and Format on Save will not trigger SQLinForm.

Default Formatter

If you have multiple SQL formatters installed, VS Code will ask which one to use. You can set SQLinForm as the default:

  1. Press Ctrl+, to open VS Code Settings
  2. Search for default formatter
  3. Under [sql], select SQLinForm

🔧 Toolbar & Tools

Integrated Toolbar (Settings Panel)

  • Format Button — Format SQL directly from the Settings Panel with one click
  • Smart File Display — Button shows current target file: Format <filename.sql>
  • Selection Support — Format only selected text or the entire document

Tools Menu

  • Extract SQL — Extract SQL from source code (Java, C#, etc.)
  • Generate Code — Generate source code strings from formatted SQL
  • Import/Export Profile — Share formatting settings as JSON files
  • Quick Access — Check License, Changelog, Website, and Feedback

🔑 License

Free Version

  • ✅ Full SQL formatting
  • ✅ All 5 profiles
  • ⚠️ Pro settings use defaults

Pro Version

  • ✅ All 200+ advanced options
  • ✅ Priority support
  • 💎 Pro badge

Upgrade to Pro


📚 Documentation & Support

  • 📖 Full Release Notes: CHANGELOG.md
  • 🌐 Website: sqlinform.com
  • 📧 Support: info@sqlinform.com

💡 Common Questions

How do I format SQL?
→ Shift+Alt+F or right-click → "Format SQL (SQLinForm)"

How do I format on save?
→ VS Code Settings → enable "Editor: Format On Save"

Where are my settings?
→ Ctrl+Shift+P → "SQLinForm Settings Panel"

How to switch profiles?
→ Click the profile name in the status bar (bottom right), or Ctrl+Shift+P → "Switch Profile"

My old settings?
→ Automatically migrated to Profile 1

Team sharing?
→ Settings Panel → Local/Team menu → Set Team Folder


Version: 26.3.30
Publisher: GuTheSoftware

Made with ❤️ by the SQLinForm Team

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft