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

🚀 Quick Start
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
To automatically format your SQL every time you save:
- Press
Ctrl+, to open VS Code Settings
- Search for
format on save
- 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:
- Open Extensions (
Ctrl+Shift+X)
- Search for "SQLinForm"
- Click Install
⚙️ Settings
If you want to temporarily disable SQLinForm as the default SQL formatter:
- Press
Ctrl+, to open VS Code Settings
- Search for
sqlinform.format.enable
- Uncheck the setting
When disabled, Shift+Alt+F and Format on Save will not trigger SQLinForm.
If you have multiple SQL formatters installed, VS Code will ask which one to use. You can set SQLinForm as the default:
- Press
Ctrl+, to open VS Code Settings
- Search for
default formatter
- Under
[sql], select SQLinForm
- 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
- 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
💡 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