Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Using document info

For common information, such as Author name, File name, date, or file path, follow these steps:

  1. Double-click the header or footer .

  2. Select Document Info, and choose the information you want.

    Header ribbon with Document Info highlighted

    Note: Select Document Property to select additional information, such as Title, Company, or Subject.

  3. Select Close Header and Footer or press Esc to exit.

Using field codes

If you don't find the info you want, such as file size or who it was last saved by, you can use field codes to add a variety of document properties.

Note: If you already added a header or footer from the gallery, this procedure may replace or change the formatting of the current header or footer.

  1. Go to Insert > Header or Footer.

  2. Select Edit Header or Edit Footer.

  3. Select Quick Parts, and select Field.

    QuickParts menu with Fields highlighted

  4. In the Field names list, choose the field you want (such as FileName, Date, Author, or Title), choose the format you want in the Field properties section.

    Field selection categories and properties

  5. If a field property has addition options, choose any you like in the Field options section.

    Field code options section

  6. Select OK.

  7. Select Close Header and Footer or press Esc to exit.

Word for the web doesn't support adding file names and other document properties to a header or footer.

Select Open in Word to open your document in the desktop version of Word if you have it and follow the steps here on the Windows tab.

Image of the Open in Desktop App command

For more on headers and footers, see Headers and footers in Word.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×