Whole-database batch decryption
Process every encrypted stored procedure, trigger, view and function in a database in one run, instead of scripting objects one at a time.
AzSQL Script Decryptor restores the complete T-SQL script behind encrypted stored procedures, triggers, views and user-defined functions — on your own SQL Server instances, in a few clicks.
Licensed for database owners and authorized DBAs. Use only on databases you own or are permitted to administer. Authorized-use policy.
Point the tool at a database, see the objects that are encrypted, and recover their scripts — individually or all at once.
Process every encrypted stored procedure, trigger, view and function in a database in one run, instead of scripting objects one at a time.
Recover definitions far larger than the 4,000-character output you get from ad-hoc metadata queries.
Full syntax highlighting makes recovered code easy to review, compare with other versions and commit to source control.
The interface lists encrypted objects only, so you work with the modules you need rather than scrolling through every object in a large database.
Save scripts to disk for review, or use integrated WYSIWYG printing with syntax highlighting for change documentation.
Unicode handling throughout the decryption process, for object names and code that are not plain ASCII.
Encrypted modules are common in inherited systems, vendor handovers and long-lived production databases. If the original script was never committed to source control, an encrypted definition can leave you unable to review, audit or safely change a procedure.
Connect to the SQL Server instance you administer with a login that has the required permissions.
Choose a database, filter to encrypted objects, and pick one item or the entire set.
Decrypt, review the highlighted T-SQL, then save, print or copy it into your repository.
The supported list covers versions from two decades of SQL Server deployments, including Express editions and MSDE.
| Platform | Support |
|---|---|
| SQL Server versions | 2000, 2005, 2008, 2012, 2014, 2016, 2017, 2019; Express editions; 2000 Desktop Engine (MSDE) |
| Object types | Stored procedures, triggers, views, user-defined functions, database triggers, server triggers |
| Operating system | Windows 11, 10, 8, 7, Vista, Server 2003, XP — 32- and 64-bit |
| Interface | English, Windows desktop application |
| Trial | Free; shows the first 500 characters of each decrypted object |
| Licence | Perpetual, from $99; electronic delivery |
AzSQL Script Decryptor is a tool for database owners and authorized database administrators. Use it only on SQL Server instances and databases that you own or have explicit written permission to administer. It must not be used to access third-party systems, to bypass access controls, or to recover code you are not entitled to see. Read the authorized-use policy.
Short, practical articles on how SQL Server stores encrypted modules and how DBAs recover them safely.
A catalog query that lists encrypted modules, with the caveats that produce false positives.
Read the guide →Check for a recoverable source first, then follow a documented decryption workflow.
Read the guide →Why the option hides module text from metadata functions — and what it does not protect.
Read the guide →SQL Server 2000, 2005, 2008, 2012, 2014, 2016, 2017 and 2019, including Express editions, plus SQL Server 2000 Desktop Engine (MSDE). Azure SQL Database is not on the supported list.
The SQL Server login you use must belong to the sysadmin server role. Some SQL Server 2005 and later configurations also require the Dedicated Administrator Connection (DAC) to be enabled.
The trial is fully functional but shows only the first 500 characters of each decrypted object. A licence removes that limit.
Database owners and authorized database administrators, working on instances they own or are permitted to administer. See the authorized-use policy.
Download the free trial and decrypt your first object in minutes. No account required.