How to Password Protect a Word Document (Windows, Mac, Free)

Lock a Word file with a password in Word on Windows or Mac, and what to do when you use Word online, Google Docs or need to send it as a PDF.

How to Password Protect a Word Document (Windows, Mac, Free)
GuidesToolyfied Team

To password protect a Word document, open it in the Word desktop app and go to File → Info → Protect Document → Encrypt with Password on Windows, or Review → Protect Document on a Mac. Type a password, confirm it, save, and from then on Word asks for that password before it opens the file.

That is the whole answer if you have desktop Word. If you only have Word on the web, Google Docs, or you need to send the file to someone who may not have Word at all, the better route is to turn the document into a PDF and put the password on the PDF instead. Both methods are below, along with the mistakes that quietly leave a "protected" file wide open.

Method 1: Encrypt the file in Word on Windows

This is the built-in option in Microsoft 365, Word 2021, Word 2019 and older desktop versions back to 2010. The menu names have barely changed in that time.

  1. Open the document in Word and save any pending changes.
  2. Click File, then Info.
  3. Click the Protect Document box and choose Encrypt with Password.
  4. Type the password, click OK, type it again, and click OK.
  5. Save the document. The protection only takes effect once the file is saved.

The Info panel now shows a yellow banner saying a password is required to open the document. Close the file and reopen it to check that the prompt appears before you send it anywhere.

Method 2: Encrypt the file in Word for Mac

  1. Open the document and click the Review tab.
  2. Click Protect Document (in some versions it sits under a Protect button).
  3. In the dialog, enter a password in the field for opening the document. The separate field for modifying it is optional.
  4. Click OK, confirm the password, and save.

Mac Word also offers the same setting under File → Passwords in some versions. Either route produces an encrypted .docx that Windows Word will also ask a password for.

"Restrict Editing" is not the same thing

Word has a second feature that often gets confused with a password: Restrict Editing (Review tab). It can stop people changing a document unless they know a password, but the content is not encrypted. Anyone can open and read the file, and the restriction can be removed by other software. Use it to prevent accidental edits to a form or template, not to keep a document private.

OptionStops people reading it?Stops people editing it?Good for
Encrypt with PasswordYesYes (they can't open it)Confidential files
Password to modifyNoPartly (can open read-only)Discouraging casual edits
Restrict EditingNoPartlyForms and templates
Password-protected PDFYesYes, and it's no longer a Word fileSending a final version to anyone

What if you don't have desktop Word?

This is where most people get stuck. Word for the web (the free version at office.com) does not let you add a password to a document, and Google Docs has no password feature at all; it relies on sharing permissions instead. Pages on a Mac can lock its own files, but that lock does not survive exporting to Word format.

If the person receiving the file only needs to read or print it, a password-protected PDF solves the problem on every device:

  1. Export or download the document as .docx (in Google Docs: File → Download → Microsoft Word).
  2. Convert it with the Word to PDF converter, which keeps fonts, tables and layout.
  3. Open Protect PDF, upload the new PDF, set a password and download it. The file is encrypted with AES-256, so the password is required to open it in any PDF reader.

The recipient opens it in Adobe Reader, Preview, a browser or a phone and types the password. Nobody needs Word, and the layout can't shift on their screen.

Shrink it first, lock it last

If the PDF is too big to attach, run it through the PDF Compressor before you add the password. Most tools, ours included, cannot rework the contents of a file that is already encrypted, so the order matters: convert, compress, then protect. The same goes for combining several documents into one with the PDF Merger: merge first, then put one password on the finished file.

A note on privacy: the Word to PDF converter, compressor and Protect PDF tool process files on Toolyfied's server. Files are used only to produce your result and old files are cleaned from the server automatically every day. If a document is so sensitive that it must not be uploaded anywhere, use Word's own encryption from Method 1 or 2 on your own computer.

Choose a password that actually protects the file

Encryption is only as strong as the password on it. A short word, a pet's name or the client's company name can be guessed by password-cracking software that tries millions of combinations. A few practical rules:

  • Use at least 12 characters, and mix upper case, lower case, numbers and symbols.
  • Use a different password for each file or each recipient, not the one you log in with.
  • Generate it rather than invent it. The Password Generator creates random passwords up to 20 characters right in your browser; nothing is sent to a server.
  • Store it in a password manager. Word cannot recover a forgotten open-password, and neither can Microsoft support.

Send the password separately

The most common mistake is emailing the protected file and writing the password in the same email. If that email is forwarded, misdirected or the mailbox is compromised, the lock is useless. Send the file by email and the password by a different channel: a text message, a phone call, or a messaging app. For recurring exchanges, agree a password once in person and reuse it only for that person.

Protecting several documents at once

If you regularly send a batch of documents to the same person, such as a payslip, a contract and a set of scanned receipts, protecting each Word file separately means several passwords to manage and several prompts for the recipient. A simpler pattern is to convert each document to PDF, combine them in the order the reader expects, and put a single password on the combined file. The recipient types one password and gets everything, in the right order, in one attachment.

This also helps when files come from different sources. A scanned receipt saved as an image, a Word letter and a PDF statement can all end up in one protected PDF: turn the images into PDF pages, convert the Word file, merge, compress if needed, then protect. Keep the unprotected pieces in a folder on your own computer so you can rebuild the bundle if anything changes.

Will the recipient be able to open it?

An encrypted .docx opens in any reasonably recent version of desktop Word on Windows or Mac, and in some mobile versions of Word after the password is entered. Older or third-party word processors may refuse to open it or open it as garbled text. A password-protected PDF is more predictable: every mainstream PDF reader, including the ones built into browsers and phones, asks for the password and then shows the document. If you are not sure what software the other person uses, the PDF is the safer choice.

How to remove the password later

To unlock a Word file you protected yourself, open it with the password, go back to File → Info → Protect Document → Encrypt with Password (or Review → Protect Document on Mac), delete the dots in the password box, click OK and save. A password-protected PDF is easiest to "unlock" by keeping your original unprotected copy and simply sending that instead when protection is no longer needed.

Quick checklist before you hit send

  • Reopen the file and confirm it asks for a password.
  • Make sure you used Encrypt with Password, not just Restrict Editing.
  • Keep an unprotected original in a safe place.
  • Share the password through a different channel than the file.
  • If the recipient doesn't use Word, send a protected PDF instead.

This is general information about file protection, not security advice for a specific situation. For legal, medical or financial records, follow your organisation's data-handling policy.

Frequently Asked Questions

How do I put a password on a Word document?

In desktop Word on Windows, go to File, Info, Protect Document, Encrypt with Password, type the password twice and save. On a Mac, use Review, Protect Document and fill in the password to open. Reopen the file afterwards to check the prompt appears.

Can I password protect a Word document in Word online?

No. The free web version of Word cannot add a password to a document. Either open the file in the desktop app, or convert it to PDF and password protect the PDF, which works without Word.

Can you password protect a Google Doc?

Google Docs has no password option; it controls access through sharing settings. If you need a password, download the document as Word or PDF and protect that file before sending it.

Is Restrict Editing the same as a password?

No. Restrict Editing limits changes but leaves the content unencrypted, so anyone can still open and read it. Only Encrypt with Password stops people opening the file without the password.

What happens if I forget the password on my Word file?

Word cannot recover a forgotten open-password and Microsoft support can't either. Keep the password in a password manager and keep an unprotected copy of important files somewhere safe.

Should I send the password in the same email as the file?

No. If that email is forwarded or the mailbox is accessed by someone else, both the file and its password are exposed. Send the password by text, phone or a separate messaging app.

Guides & Tips from the Toolyfied Blog

How-to guides and practical tips for converting, compressing and editing your files.

Frequently Asked Questions

Answers to common queries for quick and clear user support.

What types of tools are available on this website?

We offer a wide range of tools, including productivity, design, development, and utility tools tailored to meet diverse user needs.

Are the tools free to use?

Many tools are free to use, while some premium tools may require a subscription or one-time payment for advanced features.

Do I need to create an account to use the tools?

You can access most tools without an account, but creating one unlocks additional features such as saving progress or personalized settings.

Are the tools safe and secure?

Yes, we prioritize user privacy and security by implementing robust encryption and regularly monitoring for vulnerabilities.

Can I access the tools on mobile devices?

Absolutely! Our tools are optimized for use on both desktop and mobile devices, ensuring seamless functionality across platforms.

How often are new tools added to the website?

We continuously update our platform with new tools and features to provide users with the most relevant and innovative solutions.

Can I suggest a new tool or feature?

Yes, we welcome user feedback and suggestions! Please contact us through the Contact Us or email to share your ideas.

What should I do if I encounter an issue with a tool?

If you face any issues, please check our support section or contact our customer service team for prompt assistance.