How to Edit Header and Footer Text in Word

Change header and footer text that already exists in a Word-format file, then check page numbers and first-page settings on every page.

A header that still shows an old project name, a footer with last year's date, or a "DRAFT" label that should be gone can ruin a document you otherwise finished. You need to change text that is already there, not add a new header from scratch. If you are searching for how to edit header and footer in Word online, this is the situation you are in: an existing file, a few lines to fix, and several pages that might show the same text.

The core task is the same wherever you work. You enter the header or footer area, change the words, and leave that area. The details are what cause trouble: a different header on the first page, page numbers that were typed by hand, and PDFs that look like Word files but cannot be edited the same way.

Below you will find a short answer, what to check before you start, step-by-step editing in the UniDoc web editor, and how to verify the result. The steps describe the general method. Exact controls vary between editors, so follow what you see on your screen.

How do you edit an existing header and footer? The short answer

Open the Word-format file in an editor that supports Word-compatible editing, click into the header or footer area of a page, change the text, and click back into the body. Then check every page where that header appears.

Your situationWhat to doWhy
Word-format file, editing in a browserOpen the file in the UniDoc web editor at app.unidoc.top and edit inside the header areaThe editor supports Word-compatible editing, so the header stays part of a Word-format document
Word-format file, desktop office suiteDouble-click the header or footer area on the page, edit the text, then close the header areaThe same general method works in most desktop office suites, and your suite's help shows the exact labels
PDF with selectable header textEdit the text in the PDF editor in the OmniDoc desktop clientThe editor can edit paragraph text in place
Scanned PDFRun OCR first, then edit the recognized header textScanned pages are images, so the text cannot be changed until it is recognized

Before you start

  • Confirm the file type. A Word-format (.docx) file keeps its header as editable text. A PDF may hold only a picture of the page, which changes which steps apply.
  • Check whether headers differ by page. Many documents use a separate first-page header or different headers for odd and even pages. If you edit only one header, the others stay the same, so you need to know which pages to check.
  • Find out whether page numbers are inserted or typed. An inserted page number updates on every page. A typed number stays fixed, so it will show the same number on every page after you copy it. Look at the number on two different pages before you edit.
  • Keep a copy of the original. A header change applies to every page that uses it. A copy lets you compare the before and after versions if something looks wrong.
  • Decide on the exact wording first. Edit the header once, correctly. Retyping it several times, with different spellings or spacing, makes the final result harder to check.

Editing header and footer text in Word online, step by step

  1. Open the document. Open the file in the UniDoc web editor at app.unidoc.top. Make sure the document opens for editing, not just viewing.
  2. Go to a page that shows the header you want to change. If the first page has its own header, go there first, because a change on page 2 will not appear on page 1.
  3. Enter the header area. Click inside the top margin of the page, where the header sits. Check that the cursor is in the header before you type, since typing in the body by mistake is easy to miss.
  4. Edit the text. Select the words you want to change and type the new text over them. Keep the same font and size as the rest of the header unless you mean to change them.
  5. Leave inserted fields alone. If the page number or date is an inserted field, change only the static words around it. Deleting the field and retyping it can turn it into fixed text.
  6. Repeat the change in the footer. Click inside the bottom margin of the page and make the same change there, if the footer needs it.
  7. Return to the body. Click in the body text to exit the header or footer area. Leaving the area open can lead to accidental edits later.
  8. Save as a Word-format file. Keep the file in the same format so the header stays editable for the next person who opens it.

If you use a desktop office suite instead, the steps are essentially the same. Double-click the header or footer area, edit the text, and close the header area.

If the header is in a PDF, use the PDF editor in the OmniDoc desktop client. It can edit paragraph text in place, which works when the header is real text. If the header came from a scan, run OCR on the page first. The recognized text may contain small errors, so compare it with the page image before you rely on it.

Check the result

Once you have saved the file, look at the header and footer on several pages, not only the one you edited. The table below lists what to check and what to do if something is wrong.

CheckHow to see itIf it's wrong
Header text on every pageScroll through the document, including the first page and pages after section breaksGo to the page that differs and edit its header, since it may use a separate header
Page numbersCompare the number on page 2 with the number on a later pageIf the number is fixed, delete it and insert a page number field from the editor's header options
Body text positionCheck the first lines of body text on several pagesIf body text overlaps the header or moves unexpectedly, shorten the header text or reduce its spacing
Footer textScroll to the bottom of several pagesRepeat the edit in the footer area on the pages that show the wrong text
Recognized text in a scanned PDFCompare the header text with the page imageCorrect any misread characters, and check every important word, because OCR can make mistakes

❓ FAQ

1. Why did my header change appear on only some pages?

The document probably has a separate first-page header or different headers for odd and even pages, or it uses section breaks. Each of those headers has to be edited on its own. Check the first page and a few later pages to find which version each one uses.

2. Why won't my cursor go into the header?

Try clicking directly in the top margin, close to where the header text sits. If the cursor still stays in the body, make sure the document is open for editing rather than view-only. Closing and reopening the file can also help.

3. Do I need to delete the old header before adding the new text?

No. Select the old words and type over them, which keeps the header area and any fields in place. Deleting the whole header can also remove page numbers or other fields you want to keep.

4. Can I edit a header in a scanned PDF without OCR?

Usually not as editable text. A scanned page is an image, so the words cannot be selected or changed until OCR recognizes them. After OCR, check the recognized header against the page before you finish.

📝 Summary

Editing an existing header or footer means entering the area, changing the text, and checking every page where it appears. Confirm the file type first, and watch for first-page headers and page numbers that were typed instead of inserted. If you need to edit header and footer in Word online, the UniDoc web editor at app.unidoc.top is a good place to start with a Word-format file.

Open OmniDoc to edit and export your documents

Updated 2026-11-04