
Professional SQL formatting for Visual Studio Code with multiple profile support.
New here? Open the SQLinForm Settings Panel first (Ctrl+Shift+P → "SQLinForm Settings Panel"). All formatting options live there, and its Format button is the quickest way to try them out on your SQL.
Demo

🚀 Quick Start
Start Here: Open the Settings Panel
⌨️ Press Ctrl+Shift+P (Cmd+Shift+P on Mac)
🔍 Type: "SQLinForm Settings Panel"
⏎ Press Enter
The Settings Panel is the home of SQLinForm. Every formatting option lives there, sorted into tabs — and the Format button in its header applies your settings to the SQL file you are working on. That is the everyday way to format: change an option, click Format, look at the result, repeat until the SQL looks the way you want it.
Two more reasons to open it as one of your first actions:
- ⚡ Instant formatting — the formatter loads in the background while the panel is open, so every later format is super fast.
- 🧭 Everything in one place — profiles, team folder, license, extract & generate: all in the panel toolbar.
SQLinForm also integrates with VS Code's native formatting system. You can format SQL the same way you format any other language:
| Action |
Windows / Linux |
macOS |
Description |
| Format Button |
Settings Panel |
Settings Panel |
Format the current file straight from the panel |
| Format Document |
Shift+Alt+F |
Shift+Option+F |
Format the entire SQL file |
| Format Selection |
Ctrl+K Ctrl+F |
Cmd+K Cmd+F |
Format only the selected text |
| Format on Save |
Enable in Settings |
Enable in Settings |
Automatically format when saving |
| Context Menu |
Right-click |
Right-click |
Select "Format SQL (SQLinForm)" |
| Command Palette |
Ctrl+Shift+P |
Cmd+Shift+P |
Type "Format SQL" |
To automatically format your SQL every time you save:
- Press
Ctrl+, (Mac: Cmd+,) 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 (Mac: Cmd+Shift+P) → "Switch Profile (SQLinForm)"
🌟 Key Features
- ✨ Professional SQL Formatting with industry-standard rules
- ⌨️ Native VS Code Integration — Shift+Alt+F (Mac: Shift+Option+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
- 🗄️ 28 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, Mac: Cmd+Shift+X)
- Search for "SQLinForm"
- Click Install
⚙️ Settings
If you want to temporarily disable SQLinForm as the default SQL formatter:
- Press
Ctrl+, (Mac: Cmd+,) to open VS Code Settings
- Search for
sqlinform.format.enable
- Uncheck the setting
When disabled, Shift+Alt+F (Mac: Shift+Option+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+, (Mac: Cmd+,) 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
- Quick Access — Check License, Changelog, Website, and Feedback
- Import/Export Profile — Share formatting settings as JSON files
🔑 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: see the Changelog tab on this Marketplace page, or Settings Panel → Tools → View Changelog
- 🌐 Website: sqlinform.com
- 📧 Support: info@sqlinform.com
💡 Common Questions
How do I format SQL?
→ Shift+Alt+F (Mac: Shift+Option+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 (Mac: Cmd+Shift+P) → "SQLinForm Settings Panel"
How to switch profiles?
→ Click the profile name in the status bar (bottom right), or Ctrl+Shift+P (Mac: Cmd+Shift+P) → "Switch Profile"
My old settings?
→ Automatically migrated to Profile 1
Team sharing?
→ Settings Panel → Local/Team menu → Set Team Folder
Publisher: GuTheSoftware
Made with ❤️ by the SQLinForm Team