How to Add a Header and Footer in Word

Learn how to add a header and footer in Word online and on desktop, type content into each one, and check the result before you share the file.

A header is the text that sits at the top of each page, and a footer is the text at the bottom. Report titles, company names, author lines, dates and page numbers usually live there. If you need to add a header and footer in Word online, the work is quick once you know where the header and footer areas are. The harder part is making sure the text appears on every page and stays put when you edit the document later.

This guide is for anyone who has a Word document (.docx) and needs repeating text at the top or bottom of its pages. That includes students formatting a paper, staff preparing a report, and anyone who opened a file in a browser and found no obvious place to type. You will learn the quickest route in the browser, the desktop option, how to type and number the content, and how to check the result.

How do I add a header and footer in Word online? The short answer

Open the file in the UniDoc web editor at app.unidoc.top, enter the header and footer area, type your text, and download the file in Word format. Choose the row below that matches your situation.

Your situationWhat to doWhy
You have a .docx file and only need to edit it in the browserOpen it in the UniDoc web editor and add the header and footer thereThe web editor offers Word-compatible editing, so the layout stays close to the original
You need page numbers in the footerInsert a page number field, not typed digitsA field updates automatically when pages are added or removed
The header should not appear on the first pageLook for a different first page option in the editor and turn it onThe title page often looks cleaner without running text
You want a desktop app for editingInstall the desktop client from download.omnidoc.top and use its UniDoc document editor, or open the .docx in a desktop office suiteBoth give you a place to work on a computer, and you can compare the results before choosing one
You plan to send the file to someone using WordDownload in Word format and reopen the copy before sendingThis confirms the header and footer appear the way the recipient will see them

Before you start

Gather these items so the header and footer go in once and stay correct.

  • A copy of the file. Work on a duplicate so the original is safe if the layout shifts. Keep the original name and add a suffix, such as "report-v2."
  • The exact header and footer text. Write down the title, author, date or confidentiality line before you open the editor. Typing it from memory often leads to typos that repeat on every page.
  • A decision on page numbering. Decide whether numbers start at 1 on the first page or on the second, and whether the title page should be numbered. Settle this before you build the footer, because it changes where you insert numbers.
  • Your page count. Note how many pages the document has. You will need to check specific pages later, and a 12-page contract has different checkpoints than a 30-page paper.
  • Your browser or desktop setup. Make sure you can open app.unidoc.top, or that you have the desktop client from download.omnidoc.top installed and running.

Adding a header and footer in Word online, step by step

OmniDoc's public description covers Word-compatible editing but does not list every header control in the UniDoc editor. The steps below describe the general method used in most word processors. If a label on your screen differs, look for the header and footer area near the page margins or in the editor's insert tools.

  1. Open the Word file. Go to app.unidoc.top and open your .docx file, so the editor shows the document pages as they will print.
  2. Find the header and footer area. In most word processors, double-clicking inside the top or bottom margin of a page opens the header or footer for editing. Use the editor's insert or layout tools if that doesn't work.
  3. Type the header text. Enter the title, author or date in the header area. Text you type here repeats on every page in the same section.
  4. Format the header. Adjust alignment, font size or a line below the text using the editor's formatting controls. Keep it short so it doesn't crowd the top of the page.
  5. Switch to the footer. Move down to the bottom margin of the page and enter the footer area in the same way you opened the header.
  6. Insert page numbers. If the editor offers a page number field, place it where the number should appear. Typing the digits by hand works only until the page order changes.
  7. Return to the body text. Click back into the main text to close the header and footer areas. Your typing there should not be affected by the header or footer.
  8. Download the file in Word format. Save a copy as .docx so the header and footer travel with the document when someone opens it in another program.

For desktop, the process is similar. Open the .docx in a desktop office suite and use that suite's header and footer command, which is usually in its insert or layout tools. You can also work in the UniDoc document editor from the desktop client. Then follow steps 3 to 8 above.

Check the result

Open the finished file and check it before you share or print it. Use the table below to find problems and fix them.

CheckHow to see itIf it's wrong
Header appears on every pageScroll through the pages, including the first and lastConfirm the pages belong to the same section, or reapply the header to each section
Page numbers count correctlyLook at page 2 and the last pageIf the numbers are typed text, delete them and insert a page number field
Title page looks rightCompare page 1 with page 2Turn on the different first page option, if the editor offers it, and remove the header from page 1
Header and footer don't crowd the bodyLook for text running into the body paragraphsShorten the text or move part of it to a second line
Layout survives the downloadReopen the downloaded .docx in a word processor you useRe-export the file and check again, then correct any shifts in the editor

If you add a header and footer and the text seems to vanish, a common cause is that you typed it into the body text instead of the header or footer area. Undo the change, then return to the header area and retype it.

🎯 Which approach fits you?

Your choice depends on where you are working and who will open the file.

  • You want to add the header and footer quickly from a browser. Use the UniDoc web editor at app.unidoc.top. You can open the file, make the change, and download a Word copy when you finish.
  • You prefer an installed app for regular editing. Use the desktop client from download.omnidoc.top and its UniDoc document editor. Try one short test file first so you know how the header controls behave.
  • Your document has many sections, such as a thesis with chapters. Plan section breaks before you add headers, and check each section after you finish. Headers can carry over or reset depending on the section settings.

❓ FAQ

1. Can I add a header and footer in Word online for free?

Free online editors vary in their limits. Before you rely on one, check the maximum file size, whether a watermark appears on downloads, how the service handles your document privately, and whether the header and footer survive when you open the file in another program. Test with a short copy of your document first.

2. How do I show a header on some pages but not others?

Use section breaks or a different first page setting, if the editor supports them. A section lets you give one part of the document its own header and footer. Check each section after you change it, because edits in one section can affect the next.

3. How do I edit a header that is already in the document?

Open the header area by double-clicking it, or by using the editor's header and footer controls. Change the text, then return to the body. The change applies to every page in that section, so you only need to edit it once.

4. Why does my header move or disappear when I open the file elsewhere?

The file may use settings the other program handles differently, or the header may sit in a section that was not carried over. Reopen the downloaded .docx, scroll through each page, and fix any section problems before you send it.

📝 Summary

To add a header and footer in Word online, open the file in the UniDoc web editor, type your text in each area, and insert page numbers as a field. Check several pages and reopen the downloaded .docx before you share the document.

Open OmniDoc to edit and export your documents

Updated 2026-11-04