The short answer
In DocFila's Word editor, click Add a footer or page number at the bottom of a page, type the footer text and choose Page numbers: Current page or Current and total. For a header, click Add a header at the top. Margins and paper size sit under Layout and Page setup.
Works on: The Word editor is in the DocFila app on macOS, Windows and Linux, in the web app, and on phones, where the toolbar becomes one row that scrolls sideways. It edits .docx files. A free account is enough; creating a new document in the web Workspace asks guests to sign up first.
What do you need?
- A .docx in editing mode. Header and footer changes are not allowed while Track my changes is on.
What are the steps?
- Open the document for editing. Press Edit document. Scroll to any page; the header area and the footer area appear at its top and bottom edge.
- Add a header. Click Add a header, type your text in the Header text box, for example a title or a client name.
- Add a footer. Click Add a footer or page number and type the Footer text. Leave it empty if you want the number alone.
- Choose the numbering. Open Page numbers and pick No page numbers, Current page (7) or Current and total (7 / 12).
- Check other pages. The header and footer apply to the whole section, so look at a later page to confirm the number counts up.
- Set margins. Open the Layout tab, choose Margins and pick a preset, or choose Page setup to type the Top margin, Bottom margin, Left margin and Right margin yourself.
- Set paper size. In Page setup, choose Paper size from the list or Custom size. If the margins leave no room for text, DocFila says so.
What is worth knowing?
- Header and footer also have their own button on the Layout tab, labelled Header and footer, if you prefer it to clicking the page edge.
- A header or footer that already holds pictures, tables or formatting is kept exactly as it is, and DocFila points you to the app that made it for changes.
- Use a section break when a different part of the document needs different margins or an unnumbered title page.
- Print preview or a PDF export is the quickest way to confirm page numbers on the final pages.
What DocFila does not do here
Numbering formats beyond the three offered, such as roman numerals, and a different first page, may not be editable in every file. A complex existing header is preserved as is rather than rebuilt, which means it is also not editable here.
Where to go next
Edit Word documents online Make a table of contents in a Word document Add page numbers to a PDF Edit a Word document on a Mac
More word, excel and powerpoint how-to guides
How to compare two versions of a document and accept or reject each change How to create or edit a Word document in your browser with no install How to edit a Word document on a Mac without Microsoft Word
Questions
How do I show page 7 of 12 in the footer?
Open Page numbers in the footer and choose Current and total (7 / 12). DocFila inserts the page and total-page fields, so the numbers update as the document grows.
Can I change the margins for the whole document?
Yes. On the Layout tab choose Margins for a preset, or Page setup to set the top, bottom, left and right margins exactly and to pick the paper size.
Why can I not edit my header?
Either Track my changes is on, which blocks header edits, or the header already contains pictures, tables or formatting that DocFila keeps untouched. Turn tracking off or edit that header in the app that created it.
Related DocFila tools
Keep going with the document workflow that matches this page. Open the tool you need, then finish the file in DocFila.