How to uniformly modify headers and footers in Word: Batch replace content

In long documents, the header and footer of each section should be changed to the same content simultaneously. The key is to first check whether each section is linked, then change only one section or handle it separately. This article explains the methods for judgment, operational steps, and key points for checking after corrections.

Key Points of This Article

  • Headers and footers usually only need to be modified within one section, provided the sections remain linked, and changes will automatically sync to subsequent sections.
  • Find and replace generally only affects the main text; the header and footer must be edited separately after entering the header and footer editing mode.
  • Page numbers, dates, and other content should be inserted in the domain; do not enter numbers manually, otherwise the automatic update will be lost.
  • Different settings for the homepage and odd-even pages can cause separate headers and footers. Before modifying, check the status of these two items.
  • After revision, review section by section, especially before and after section breaks and in the appendix, to ensure no old content remains.

When writing long documents, the issue with headers and footers is often not "how to revise," but "how to complete all changes at once." A 30-page paper or a 12-page contract is divided into several sections, each requiring separate revisions, which is time-consuming and easily misses a page. Many people double-click page by page to revise, only to find halfway through that some sections haven't changed accordingly.

This article is for people who need to uniformly replace headers and footers, such as changing company names, updating project numbers, or adjusting chapter titles. After reading, you can determine which sections will be automatically synced and which need to be handled separately, and master the complete process from modification to verification. The following method is based on Word's general operation logic. The desktop and web versions may have slightly different interface names, but the approach is the same.

How to uniformly modify the header and footer of a long document? One-sentence conclusion: first change a section, confirm the link, and handle the broken sections separately.

In most cases, modifications to the header or footer of one section will be synchronized to the full text as long as the sections remain linked. What really needs work are those parts that are disconnected, or have different homepages or odd and even pages.

Your situationRecommended practicesThe reason
The entire text has only one section and no section breaksGo to header editing and just make one editThe entire article shares the same header and footer set, so there is no need to process pages individually
Multiple sections, with links between sectionsOnly modify the header or footer of the first sectionThe following sections will automatically continue the previous content
Some sections have been disconnectedFirst, relink or modify each broken section separatelyThe broken section does not change with previous modifications
The homepage is set to be different or the odd and even pages are different.Check the content of the homepage, odd pages, and even pages separatelyThese types of headers and footers are stored independently and need to be modified once each.
The page contains automatic content such as page number, date, etc.Reserved domain, only modifying fixed textDomains will automatically update based on page location or the current date

Before you start: Confirm these points first

1. Confirm whether the document is divided into sections. If you turn on the formatting mark in the text, you can see the section breaks. Documents without section breaks only need to be modified once; documents with section breaks need to check the link status section by section. Section breaks are the basis for all subsequent judgments. Seeing the structure clearly before starting can reduce rework.

2. Confirm the link status of each section. There is an option in the header and footer editing interface to control whether the current section inherits the content of the previous section. The names of different versions are slightly different, and are collectively referred to as "link options" below. When in the linked state, changes will be synchronized; when disconnected, this section will have its own header and footer.

3. Check the homepage and odd-even page settings. If the document is set to have different home pages, the headers and footers of the cover and main text will be separated; if the odd and even pages are set to be different, the odd and double pages will also be separated. These two items are not within the normal editing scope of headers and footers and can easily be ignored, resulting in old content remaining after modification.

  • 4. Distinguish between fixed text and automatic content. * fixed words such as company name and project number can be rewritten directly; page number, chapter name and date are usually fields, and the structure of the domain should be preserved and only the fixed parts around it should be changed. Enter the page number manually, and then the page will not be updated when it is added or deleted.
  • 5. Back up the original file first. * if some sections are found to have been mistakenly changed after batch modification, it will be troublesome to roll back. Save another copy of the manuscript, and then operate on the copy, which can be directly compared when something goes wrong.

# steps for uniformly modifying headers and footers in Word

  1. Open the Word document that needs to be modified, place the cursor in the body of any section, and confirm the section and page structure of the document.

two. Enter the editing state of the header or footer, usually by double-clicking in the blank area at the top or bottom of the page, and the text becomes editable.

  1. Change the text in the header or footer in the opening section, such as changing the old company name to a new name.
  2. Switch to the following section and see if the contents of the header or footer have changed synchronously. If synchronized, these sections are in a linked state.
  3. Check the link options for sections that are not synchronized. If you need to follow the previous content, reopen the link; if you do want to keep different content in the section, modify it separately in that section.
  4. Check whether the home page is different and the parity page is different. If enabled, go to the header or footer of the home page, odd page, and even page respectively, and confirm the content one by one.
  5. Use find replacement to deal with body content other than the header and footer, but don't expect it to modify the header and footer directly. The text in the header and footer should be processed manually or in sections in the edited state.
  6. After completing the modification, exit the editing state, return to the body, make sure that the page displays normally, and then save the file.

# check item by item after completion

Check itemWhat do you think?What if there's a problem?
Is the content of each section consistent?Turn to the first and last page of each section section by section and read the header and footer textFind inconsistent sections, check link options, re-link or modify separately if necessary
Whether the home page and parity page are missingView it on the home page, odd page and even page respectivelyEnter the corresponding header and footer type to correct the missing text
Is the page number normal?Flip through the pages to see if the page numbers are continuousIf the page number is wrong, check to see if the number has been entered manually and change back to the way the page number is inserted
Whether the old content remains or notUse the find function to search for old text in the header and footer editing stateFind the remaining parts and modify them one by one, and confirm the section.
Whether the format has changedCheck whether the font, font size and alignment are the same as the original.Set the paragraph format of the header and footer uniformly to avoid changing only the text and the format is different

If the document is to be handed over to someone else or used for formal submission, it is recommended to go through it in its entirety, not just a spot check. Problems with headers and footers are usually hidden after section breaks, and spot checks are easy to miss.

If you do not install Word for the time being, you can also use the UniDoc Web Page Editor (app.unidoc.top) to open the .docx file to view the structure, but the header and footer retention in different editors need to be opened and checked by yourself, which should not be considered to be exactly the same by default.

# frequently asked questions (FAQ)

1. Can the header and footer be replaced directly with find and replace?

Generally speaking, it can not be replaced directly. Finding and replacing usually works only on the body, and the header and footer need to be modified separately after entering the editing state. If you do want to replace in bulk, you can first try to find it in the header and footer editing status, then modify it one by one, and check each section when you are finished.

2. Why did you change the first section and not change the next few pages?

For the most part, the links to these sections have been broken, or different settings for the home page and parity pages have been used. Check the link options section by section and confirm the header and footer of the home page and parity page to find out why.

3. How to uniformly set the page number so that it won't make an error after adding or deleting pages?

The page number should be inserted so that the page number exists in the form of a field instead of manually entering numbers. After insertion, the page number is automatically updated with the page location. If a section needs to start with other numbers, the starting value should be adjusted separately in the page number setting of that section.

4. Can the header and footer text in the scanned file be changed in batches?

The header and footer in the scanned version of PDF is part of the image and cannot be edited directly like Word. You can first do OCR recognition of the file, convert it to editable text and then process it. Recognition results need to be checked one by one, especially numbers and proper nouns, because machine recognition can go wrong.

# Summary

The key to uniformly modifying the Word header and footer is to confirm the section and link status first, then modify it in the beginning section, and finally check it section by section. Separate the fixed text from the automatic content to avoid page number confusion and old content residue. Following the steps in this article, the header and footer of a long document can usually be changed at once and can stand inspection.

Open OmniDoc to edit and export documents online

Updated 2026-11-11