How to Encrypt Files on Windows: Methods, Tools, and Best Practices

Written by: Abigail Ivy
Published on:

Knowing how to encrypt files on Windows is essential when you store tax records, client documents, passwords, or other sensitive data on a PC.

Windows includes several encryption options, and the right choice depends on whether you need file-level protection, whole-drive security, or secure sharing.

What file encryption does on Windows

Encryption converts readable data into unreadable ciphertext that can only be restored with the correct key, password, or certificate.

On Windows, encryption is designed to protect data at rest, which means it helps keep files private if a device is lost, stolen, or accessed by an unauthorized user.

Windows supports multiple encryption approaches, including Encrypting File System (EFS), BitLocker, Microsoft Office document protection, and third-party file encryption tools such as 7-Zip, VeraCrypt, and AxCrypt.

Each option serves a different use case, so it helps to understand the differences before choosing one.

Which Windows encryption method should you use?

  • Encrypting File System (EFS): Best for individual files and folders on NTFS drives, especially on Windows Pro and Enterprise editions.
  • BitLocker: Best for encrypting an entire drive or removable media to protect everything stored on it.
  • Microsoft Office encryption: Best for Word, Excel, and PowerPoint files that need password protection inside Office apps.
  • Third-party tools: Best for cross-platform sharing, portable encrypted containers, or stronger workflow flexibility.

If your goal is to protect a few private folders on your own PC, EFS may be enough.

If you want broader protection for a laptop or external drive, BitLocker is usually the better choice.

How to encrypt files on Windows with EFS

Encrypting File System is a Windows feature that lets you encrypt files and folders on an NTFS-formatted drive.

It ties access to your Windows user account, so other local accounts cannot open the protected data without the proper encryption key.

Before you start with EFS

  • Use an edition of Windows that supports EFS, such as Windows Pro, Enterprise, or Education.
  • Confirm the drive uses NTFS, since EFS does not work on FAT32 or exFAT.
  • Back up your encryption certificate, because losing it can make the files inaccessible.

Steps to encrypt a file or folder with EFS

  1. Right-click the file or folder in File Explorer.
  2. Select Properties.
  3. On the General tab, click Advanced.
  4. Check Encrypt contents to secure data.
  5. Select OK, then Apply.
  6. Choose whether to encrypt just the file or the file plus any subfolders and contents.

After encryption, the file name stays visible, but the contents remain protected.

You can open it normally from your account, but other users on the same machine typically cannot read it.

Export your EFS certificate

Windows usually prompts you to back up your certificate the first time you use EFS.

If it does not, use the Certificates manager to export the personal encryption certificate and private key to a secure location such as an encrypted USB drive or password manager vault attachment.

This backup is critical for recovery if your profile is deleted or Windows is reinstalled.

How to encrypt an entire drive with BitLocker

BitLocker encrypts a full Windows drive, which protects all files, installed apps, and temporary data stored on that drive.

It is especially useful for laptops, external drives, and USB flash drives that may leave your control.

Enable BitLocker on your system drive

  1. Open Control Panel or search for Manage BitLocker.
  2. Find the system drive and select Turn on BitLocker.
  3. Choose how to unlock the drive, such as a password or TPM-based protection with startup PIN options.
  4. Save your recovery key to a secure place, such as a Microsoft account, file, or printed copy stored offline.
  5. Choose whether to encrypt used disk space only or the entire drive.
  6. Start encryption and wait for the process to finish.

BitLocker is handled at the drive level rather than per file, so it is better for protecting a laptop against theft than for sharing a single encrypted document with someone else.

Encrypt removable drives with BitLocker To Go

BitLocker To Go protects USB drives and external hard drives.

When someone connects the drive to another computer, they must enter the password or recovery key before accessing the contents.

This is a practical option for backup drives, transport drives, and portable work files.

How to password-protect Office files

If your sensitive data is in Microsoft Word, Excel, or PowerPoint, the built-in document encryption features are often the fastest option.

Office uses password-based encryption to protect the contents of the file itself.

Protect a Word, Excel, or PowerPoint file

  1. Open the document in the relevant Microsoft Office app.
  2. Go to File and select Info.
  3. Choose Protect Document, Protect Workbook, or Protect Presentation.
  4. Select Encrypt with Password.
  5. Enter a strong password and confirm it.
  6. Save the file.

Office document encryption is convenient for sharing specific files by email or cloud storage.

However, the password must be strong, because weak passwords are vulnerable to brute-force attacks and guessing.

How to encrypt files with third-party tools

Third-party encryption software can be helpful when you need cross-platform compatibility, encrypted containers, or stronger control over how files are shared.

Common options include 7-Zip for password-protected archives, VeraCrypt for encrypted volumes, and AxCrypt for simple file-level encryption.

7-Zip for encrypted archives

7-Zip can create password-protected archives using AES-256 encryption.

This is useful when you want to bundle multiple files into one secure package for upload or transfer.

Choose a strong password and enable encryption of file names if you want to hide the archive contents as well.

VeraCrypt for encrypted containers

VeraCrypt creates encrypted containers that appear as virtual drives when mounted.

It is useful for storing a group of sensitive files in a single encrypted vault.

Because VeraCrypt is cross-platform, it can work well for users who move between Windows, macOS, and Linux.

Best practices for stronger file security

Encryption is only one layer of protection.

To reduce risk, combine it with smart account and backup practices that keep your files accessible to you and difficult to reach for attackers.

  • Use strong passwords with a long mix of letters, numbers, and symbols.
  • Store recovery keys safely in an offline or separately protected location.
  • Back up certificates and keys before reinstalling Windows or resetting a device.
  • Keep Windows updated to reduce exposure to known security vulnerabilities.
  • Use full-disk encryption on laptops to protect data if the device is lost.
  • Avoid storing sensitive files in unencrypted cloud folders unless the provider and sharing settings are carefully reviewed.
  • Limit account access so only trusted users can sign in to the device.

Common mistakes to avoid when encrypting files

Many encryption problems come from setup errors rather than weak algorithms.

The most common mistake is losing the password, recovery key, or certificate and assuming the data can still be recovered later.

Another frequent issue is using encryption on a device without backing up the key material first.

It is also easy to confuse hiding a file with encrypting it.

File attributes such as “hidden” or “system” do not provide real security.

Similarly, compressing a file into a ZIP archive without encryption does not protect the contents.

How to verify your files are encrypted

You can usually confirm encryption by checking the file or folder properties in Windows.

For EFS, the file name often appears in green in File Explorer on systems with the color display enabled.

For BitLocker, the drive status in the BitLocker management screen will show that the volume is protected.

For Office files and archives, test opening them from a different account or device to verify that a password is required.

Choosing the right approach for your needs

The best way to encrypt files on Windows depends on how you use the data.

EFS is practical for keeping individual folders private on a shared PC.

BitLocker is the strongest everyday choice for protecting an entire device.

Office encryption works well for documents, spreadsheets, and presentations.

Third-party tools are useful when you need encrypted archives or portable secure storage.

For most Windows users, the strongest combination is full-disk encryption for the device plus file-level encryption for especially sensitive documents.

That layered approach protects data whether it sits on the drive, moves through email, or gets copied to external storage.