Office Settings & Configuration

Insert a Dynamic File Name in a Word for the Web Footer

Kushani NimanthikaKushani Nimanthika Nov 18, 2026 869 views

Question details

The user wants to display a document's file name dynamically in a footer while working in Word for the web.

Insert a Dynamic File Name in a Word for the Web Footer
Product
Microsoft Word for the web
Device & OS
not provided
Scenario
A document footer should show the file name using a field rather than manually entered text.
Observed behavior
Word for the web does not provide the desktop Quick Parts field insertion feature.
Before you start

Save the document with the desired file name and check whether you have access to the desktop Word application. If you only have Word for the web, you can enter the name manually instead.

Solution 1Recommended

Insert a FileName field in desktop Word

Use desktop Word to add a field that can be updated when the document's file name changes.

Word for the web cannot reliably insert or update a dynamic file-name field. The field may need to be updated in desktop Word after a rename.

1
Open the desktop app

In Word for the web, choose Editing or Open in Desktop App, depending on the available menu, and open the document in desktop Word.

2
Edit the footer

Double-click the footer area and place the cursor where you want the file name to appear.

3
Insert the field

Select Insert > Quick Parts > Field, choose FileName, and select OK. If needed, choose the option to include the file path.

4
Update after a rename

Save the document, then right-click the field in desktop Word and select Update Field to refresh the displayed name.

Insert a FileName field in desktop Word
Web limitations: An existing field may display in Word for the web, but do not rely on the web app to update it after the file is renamed.
Free Microsoft Office alternative

Edit Word document footers with WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for editing documents and footers. Its Microsoft Word format compatibility makes moving existing files straightforward. It does not add the Quick Parts feature to Word for the web.

Edit footer text in a familiar document interfaceOpen and save Microsoft Word DOC and DOCX filesUse a free, lightweight office suiteMove existing documents into WPS Office without changing your workflow substantially
microsoft office alternative - wps office

Frequently Asked Questions

Can I insert a FileName field directly in Word for the web?

Word for the web does not provide the desktop Quick Parts field insertion feature. Open the document in desktop Word and use Insert > Quick Parts > Field > FileName.

Will the footer update automatically when I rename the file?

Do not assume it will. Open the document in desktop Word, right-click the FileName field, and select Update Field. Manually typed footer text must be changed by hand.

Can the footer show the full file path?

In desktop Word, select Insert > Quick Parts > Field, choose FileName, and select the option to include the file path before clicking OK.

What can I do if I don't have desktop Word?

In Word for the web, select Insert > Header & Footer and type the file name into the footer. Revisit the footer whenever you rename the document.