Skip to content
| Marketplace
Sign in
Visual Studio Code>Azure>Benchdog SQL DocumenterNew to Visual Studio Code? Get it now.
Benchdog SQL Documenter

Benchdog SQL Documenter

Benchdog

|
1 install
| (0) | Free Trial
Browse SQL Server and Azure SQL databases, edit their descriptions, and document them as HTML, Markdown, Word or PDF.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Benchdog SQL Documenter

A VS Code extension for documenting SQL Server and Azure SQL databases. It lists your databases and everything in them, lets you edit their descriptions, and writes the documentation as HTML, Markdown, Word or PDF. All the work is done by the Benchdog engine (benchdog serve); this extension is the screen.

Install

Install it from the Marketplace in VS Code. The Benchdog engine ships inside the package for Windows (x64), so there is nothing else to install and no .NET needed. Mac and Linux are coming. The desktop app and the benchdog command for the same tool are at benchdog.dev.

What it does

  • Databases view: a SQL Documenter panel in the activity bar lists the databases you added. Expand one to see its objects in the groups SSMS uses (Tables, Views, Stored Procedures, Functions, Triggers, Types, Sequences, Synonyms, Schemas, Users, Roles), and each table, view or routine's columns and parameters with their types. Descriptions show beside each name.
  • Add Database: the + button. Pick Azure SQL to choose from the databases your Benchdog account can see, or SQL Server to type a server name, choose Windows or Entra sign-in, and pick its databases. Each one is tested before it is added; one that cannot be reached is added only if you say so. Cancel, while it lists or tests, adds nothing.
  • Edit descriptions: the pencil on an object, column or parameter, or right-click a database. It reads the current description from the database, and saves the new one as MS_Description. Clearing it removes it, after you confirm. SQL Server keeps up to 3,750 characters.
  • Generate documentation: the book button, or right-click a database. Pick the formats, and Server page under Options for a page about each server, then a folder. Several databases make one document. A notification shows each step the engine reports (reading each database, building, writing each format) and can be cancelled. When it is done, Open shows the first page: HTML in your browser, Markdown in VS Code's preview, Word and PDF in their apps.
  • Project files: a file ending in .sqldoc.json keeps the databases, formats, folder, title, author, copyright, logo, server page choice and what to leave out, so documentation can be made again the same way. It gets autocomplete, hover help and squiggles as you type, every problem the engine finds is in the Problems panel on its line, and a Generate Documentation link sits at the top with what the file would document. Right-click a project file in the Explorer to generate from it. New Project File, in the view's menu, writes one for databases in the view.
  • Test Connection: right-click a database to see who the server sees you as, and its edition and version.
  • Sign in: Azure SQL uses your Benchdog sign-in, shared with the other Benchdog tools. SQL Server with Windows sign-in needs no Benchdog sign-in.
  • SQL logins: for servers that only allow SQL logins, such as SQL Server in Docker, pick SQL login when adding a database by server name. Benchdog asks for the password, with an eye on the box to show what you typed, keeps it until VS Code closes or, if you choose, in the system's secure store, and asks again if SQL Server refuses it. When several databases need a password at once, Benchdog asks one at a time, and only once for each login. Right-click such a database and choose Forget Password to clear it. The extension itself never keeps the password.

Settings

Setting Does
benchdogSqlDoc.enginePath Full path to the benchdog executable. Empty uses the one that ships with the extension.
benchdogSqlDoc.tenant Tenant id to search for Azure SQL databases. Empty means your home tenant.
benchdogSqlDoc.useAzureCli Sign in to Azure SQL through your existing az login instead of the browser.

The settings are separate from Benchdog Key Vault's, so both extensions can be installed together.

How it stays safe

  • Every database is reached as you, with Entra or Windows sign-in, or with a SQL login you choose. The extension keeps only each database's server, name and how to sign in; a SQL login's password lives in the engine's memory, or in the system's secure store when you ask.
  • Only the structure is read, never table data. Row counts and sizes come from SQL Server's catalog.
  • A description is written only when you save it, and removed only after you confirm.
  • The output folder must be new, empty, or one SQL Documenter wrote before, apart from a .sqldoc.json project file, so it never removes files it did not write.

Diagnostics

Turn on the benchdogSqlDoc.diagnostics setting to have the engine write a debug log of what it does, for finding out why something went wrong. Run Benchdog SQL Documenter: Open Diagnostics Logs Folder to see the logs. Passwords, connection strings, tokens and your data are never written.

Trial and licence

Every Benchdog tool has a thirty day trial with every feature and no card: ask for one at benchdog.dev/trial. One licence is for one person and covers the VS Code extension, the desktop app and the command line, on every machine you work from. Prices are at benchdog.dev/pricing. The licence is checked offline; the tool contacts benchdog.dev only when you ask it to, never in the background. The terms are in LICENSE.md and at benchdog.dev/terms.

Help and support

Getting started, how to do the common jobs, the questions people ask and what to try when something goes wrong: benchdog.dev/help/sqldoc. Something else? The support form, or support@benchdog.dev, and a person replies.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft