Skip to content
0
Office

How to Find Your Office Product Key

Where to find an Office product key for 2016 to 2024: your purchase record, the OSPP command for the last five characters, and what not to trust.

The best place to find an Office product key is your order or receipt. On the PC, the OSPP.VBS script shows only the last five characters of the key and the license status, not the whole key. Office does not store a full retail key where you can read it, so keep your key when you buy it.

Check your purchase record first

Look in these places, in this order:

  1. Your order page or receipt. At Webdigikey, keys are saved in My account under My orders.
  2. The packaging or card in the box, for a boxed copy.
  3. Your Microsoft account, if you redeemed a key there. The account shows that Office is linked, but it often does not show the key itself.
  4. Your company's IT department, for a work license.

See the last five characters on the PC

This works for Office 2016, 2019, 2021 and 2024, because they all use a folder called Office16.

  1. Press the Windows key, type cmd, right-click Command Prompt and choose Run as administrator.
  2. Move to the Office folder. For a 64-bit Office on 64-bit Windows, run: cd "C:Program FilesMicrosoft OfficeOffice16". If you use a 32-bit Office on 64-bit Windows, the path is C:Program Files (x86)Microsoft OfficeOffice16.
  3. Run cscript ospp.vbs /dstatus.
  4. The output lists the product name, the license status and the last five characters of the installed product key.

Compare those five characters with the key in your records. If they match, you are looking at the right key.

What you can read in the Office apps

Open Word and go to File, then Account. You see the product name, such as Office Professional Plus 2021, and whether it is activated. This confirms the version and state. It does not display the key.

Why key viewer tools mislead

Free programs that claim to show the Office key read a field in the registry. For many installs, that field does not hold the real key, or holds a fragment. Some tools show a key that belongs to a different product. Because the result looks like a real key, people paste it into another PC and then see an error. Treat any key shown by a viewer as unverified.

If you lost the key

  • Search your email and your downloads folder for the order.
  • Log in to the shop where you bought it.
  • If you bought from Webdigikey, open My account and then My orders, where the key is saved for each paid order.
  • If you cannot find it anywhere, contact the seller with the order number.

What to do next

If you are about to reinstall Office, activate again with the key. Windows versions of our Office licenses use phone activation, and the full steps are in How to activate Office by phone and How to activate Office 2021 Professional Plus.

If you are buying a new license, check support dates first. Office support end dates: 2013 to 2024 lists them. At Webdigikey you can choose Office 2016 Professional Plus, Office 2019 Professional Plus or Office 2021 Professional Plus, each a retail license for one Windows PC.

Frequently asked questions

Can Command Prompt show the full Office key?

No. The ospp.vbs /dstatus command shows only the last five characters. Office does not keep the full key in a readable form.

Is my key in my Microsoft account?

If you redeemed it there, the account links Office to you. The key itself is often hidden after redemption.

Does the Office16 folder apply to Office 2021 and 2024?

Yes. Office 2016, 2019, 2021 and 2024 share that folder name.

Can I move Office to another PC?

Retail licenses are usually moved by uninstalling from the old PC and activating on the new one. Check the terms of your edition.

Microsoft, Windows, Office and other product names are trademarks of their respective owners.

Products mentioned in this guide

Keep reading

Office

How to Activate Office 2021 Professional Plus

Install Office 2021 Professional Plus, enter your key and activate it by phone on Windows (or online on Mac). Includes how to get the Confirmation ID fast.

4 min read November 23, 2026
Office

Office 2019 vs 2021 vs 2024: Which to Buy

Compare Office 2019, 2021 and 2024 on support dates, features, Windows support and who each version suits. A clear way to choose in 2026.

3 min read November 23, 2026