Security and compliance
Ensure data security and compliance with monitoring and change traceability
Add-in for SQL Server Management Studio & Visual Studio
SQL Prompt is Redgate's SQL code completion and formatting add-in for SQL Server Management Studio and Visual Studio - the original SQL autocomplete tool, used by the SQL Server community for nearly 20 years. It adds context-aware IntelliSense-style completion, one-shortcut formatting to shared team styles, code analysis with auto-fixes, refactoring, and optional AI-powered assistance for writing and explaining queries - all without leaving SSMS. Users report writing SQL up to 50% faster. SQL Prompt is included in SQL Toolbelt Essentials.
Writing SQL can be time-consuming, repetitive and frankly dull. SQL Prompt changes that. It works alongside you to make your SQL coding fast, accurate and effortless, whether your SQL Server databases are on-premises, in the cloud, or both.
SQL Prompt enhances SSMS and Visual Studio by automatically completing, analyzing and fixing your code, as well as taking care of formatting, refactoring, and query history. Best of all, it’s ingeniously simple to use, so you can get started in minutes.
Download free trial1 Year Subscription
Avoid last-minute rework by writing error-free code by default. Smart code completion reduces syntax errors, while real-time code analysis and auto-fixes debugs code. Tab coloring helps keep your changes in the right environment, and refactoring helps you to confidently optimize your queries, code objects and databases.
With SQL Prompt, you don’t have to worry about structuring your code as you write it. Simply write SQL your own way and use a shortcut to format your code into a team standard instantly. Same applies for reformatting legacy code, just press CTRL+K+Y to improve readability.
Use predefined styles, or create and share your own with the full formatting options in SQL Prompt.
or press Ctrl+Enter
Effortlessly format your code to match your team's style, or update legacy code for better readability, with just one click or a simple keyboard shortcut (CTRL+K+Y).
Advanced options allow you to fine-tune your formatting styles to get them exactly how you like them, and you can even share them with your team to keep code consistent.
Bookmark our online SQL formatter for access to SQL Prompt's formatting on any device.
Over 200,000 people rely on Redgate to deliver ingeniously simple software.
Gartner and Peer Insights™ are trademarks of Gartner, Inc. and/or its affiliates.
All rights reserved.Gartner Peer Insights content consists of the opinions of individual end users based on their own experiences, and should not be construed as statements of fact, nor do they represent the views of Gartner or its affiliates. Gartner does not endorse any vendor, product or service depicted in this content nor makes any warranties, expressed or implied, with respect to this content, about its accuracy or completeness, including any warranties of merchantability or fitness for a particular purpose.
$210 per user, per year
Double coding speed and improve the accuracy of your SQL code.
$1,410 per user, per year
Increase efficiency and code quality throughout your entire SQL Server database development cycle with 11 essential tools.
SQL Prompt enhances SSMS and Visual Studio by automatically completing, analyzing and fixing your code, as well as taking care of formatting, refactoring, and query history. Best of all, it’s ingeniously simple to use, so you can get started in minutes.
SQL Prompt works in SQL Server Management Studio 22, 21, 20, 19, 18, 2017, and Visual Studio 2026, 2022, 2019.
Our own AI chat Redgate Assistant (preview) is built into SSMS, is now in preview for SQL Prompt: ask it about your query or your database in plain language, and it fixes errors, optimizes queries, and explains SQL in your own style. It pulls in the context it needs on demand, so you get to the answer faster. AI features are opt‑in and available only in SSMS. AI‑generated code is context‑aware and integrates with SQL Prompt's formatting, refactoring, and code‑analysis rules so your SQL stays accurate and consistent.
SQL Prompt is included as part of SQL Toolbelt Essentials. When you get SQL Prompt as part of SQL Toolbelt Essentials, you’ll get even more from SQL Prompt with team sharing of formatting styles and snippets, bulk formatting and code analysis, and integrations with SQL Dependency Tracker and SQL Compare. Learn more about SQL Toolbelt Essentials.