Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>File LockerNew to Visual Studio Code? Get it now.
File Locker

File Locker

Preview

Adebayo Roland

|
8 installs
| (1) | Free
Lock files with password protection, encrypted storage, and easy unlocking.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

File Locker

Lock and unlock your VS Code files with password protection. Encrypts file content using AES-256 and keeps your code safe.

Features

  • Lock a file with a password
  • Unlock a file with a password
  • Keyboard shortcuts for quick access:
    • Lock file: Ctrl+Alt+L
    • Unlock file: Ctrl+Alt+U

Commands

  • File Locker: Lock File
  • File Locker: Unlock File

Usage

  1. Open a file in VS Code.
  2. Use Ctrl+Alt+L or run File Locker: Lock File to lock the file.
  3. Enter a password when prompted.
  4. To unlock, use Ctrl+Alt+U or run File Locker: Unlock File and enter the correct password.

Requirements

  • VS Code >= 1.90.0
  • Node.js (for development/build)

Extension Settings

No settings needed. Works out-of-the-box.

Known Issues

  • Locked content is only replaced in the file, not in memory. Make sure to save before locking.

Release Notes

1.0.0

  • Initial release with file lock/unlock support
  • Keyboard shortcuts added
  • AES-256-CBC encryption
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft