Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PasswordsNew to Visual Studio Code? Get it now.
Passwords

Passwords

passwordslu

| (0) | Free
Generate passwords, passphrases, PINs, API keys, and usernames in VS Code. From passwords.lu — local generation and strength checks, optional breach lookup, copy/insert/share via PrivateNote.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Passwords (VS Code)

Passwords logo

Generate passwords, passphrases, PINs, API keys, and usernames in VS Code — from passwords.lu. Copy to clipboard, insert at the cursor, or share via PrivateNote.

Features

  • Sidebar panel — generate with live strength and breach badges
  • Command palette — generate, check selection, check clipboard
  • Strength check — local zxcvbn analysis (no network)
  • Breach check — optional Have I Been Pwned lookup via k-anonymity (hash prefix only)
  • Cryptographically secure — Node crypto.randomFillSync with rejection sampling

Privacy

  • Generation is 100% local.
  • Strength check is 100% local.
  • Breach check sends only the first 5 characters of a SHA-1 hash to Have I Been Pwned - your password never leaves your device in plain text.
  • Share opens PrivateNote in your browser (secret in URL hash only).

Commands

Command Description
Passwords: Generate… Pick a type, then copy / insert / share / regenerate
Passwords: Generate and Copy… Pick a type, copy immediately
Passwords: Check Selection for Breaches HIBP k-anonymity check on selected text
Passwords: Check Clipboard for Breaches HIBP check on clipboard
Passwords: Check Selection Strength Local zxcvbn strength on selected text
Passwords: Generate Password Password using workspace defaults
Passwords: Generate Passphrase EFF long wordlist passphrase
Passwords: Generate PIN Numeric PIN
Passwords: Generate API Key Base64url / hex / alphanumeric with prefix
Passwords: Generate Username Adjective+noun or random string
Passwords: Open Panel Focus the sidebar panel

Settings

  • passwords-lu.passwordLength (default 20)
  • passwords-lu.passphraseWords (default 5)
  • passwords-lu.pinLength (default 6)
  • passwords-lu.apiKeyPrefix (default sk_)
  • passwords-lu.usernameMode (composite or random)
  • passwords-lu.breachCheckEnabled (default false) - auto breach check after generating passwords/passphrases

Development

cd vscode-extension
npm install
npm run compile

Press F5 (open the vscode-extension folder) to launch an Extension Development Host.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft