The new LibreOffice Page Number Wizard simplifies inserting and formatting page numbers across documents by guiding users through a series of clear, interactive steps. It automatically handles headers/footers, alignment, numbering styles, and starting numbers—no manual formatting needed. To use it, you need LibreOffice Writer version 7.6 or later (the wizard debuted in 7.6) and a document open in Writer. No additional plugins or permissions are required.

What You'll Need

  • LibreOffice Writer (v7.6 or newer)
  • A document open in Writer (new or existing)
  • Access to the header or footer area (the wizard handles this automatically)

Step-by-Step

  1. Open your document in LibreOffice Writer.
  2. Go to Insert > Page Numbers from the top menu bar. If you’re using a non-English locale, the exact wording may differ slightly (e.g., "Numérotation des pages"), but the menu path remains consistent across versions and platforms (Windows, macOS, Linux).
  3. In the dialog that opens, click the Wizard button at the bottom-right corner. This launches the Page Number Wizard—a modal window with navigation controls.
  4. On the first wizard screen, choose where to place the page numbers: Header (top of page) or Footer (bottom). Select your preferred side (Left, Center, Right) for alignment. Click Next.
  5. On the second screen, pick the numbering format. Options include standard numerals (1, 2, 3), lowercase/uppercase letters (a, b, c), Roman numerals (i, ii, iii), or custom formats. You can also preview the selected style in real time. Click Next.
  6. On the third screen, set the starting number. By default, it begins at 1, but you can enter any integer (e.g., start at 5 if your document follows a preface with roman numerals). You may also check Restart numbering for each section if your document uses multiple sections with independent numbering. Click Next.
  7. On the final screen, review your choices in the summary. If everything looks correct, click Finish to apply the settings. The wizard inserts the page numbers into the header or footer and closes automatically.
  8. Verify the result by switching to Print Layout view (View > Print Layout) or pressing Ctrl+Shift+P (Windows/Linux) / Cmd+Shift+P (macOS). Check multiple pages, especially section breaks, to confirm numbering is consistent and correctly positioned.

Common Mistakes

  • Using the wizard on a protected document: If the document is locked for editing (e.g., read-only or password-protected), the wizard will fail silently. Save a copy first and ensure it’s editable.
  • Skipping header/footer preview: The wizard applies changes globally to all pages by default. If you only want numbers on odd pages (e.g., for binding), you must manually adjust page styles afterward—this wizard doesn’t support odd/even page separation.
  • Overlapping with content: If your margins are narrow, page numbers may appear too close to text. After applying, go to Format > Page Style and increase the header/footer margin under the Page tab.
  • Assuming it works in Calc or Impress: The Page Number Wizard is exclusive to Writer (for documents). It does not exist in LibreOffice Calc (spreadsheets) or Impress (presentations).

Tips

  • Preserve existing headers: If your document already has a header, the wizard replaces it entirely. To keep existing content, copy it first, then reinsert after applying numbers.
  • Use section breaks for mixed numbering: For front matter (roman numerals) and main text (arabic), insert a section break before the main content, then run the wizard separately for each section with different starting numbers and formats.
  • Keyboard shortcut for quick access: Press Alt+I, then N, then Z (on Windows) to open the wizard directly—no mouse needed.
  • Template reuse: After configuring a preferred style, save it as a template (File > Templates > Save). Future documents can reuse the template, skipping the wizard entirely.

Troubleshooting

If the wizard doesn’t insert page numbers or behaves unexpectedly, follow these steps in order:

  1. Restart Writer: Close all LibreOffice windows and reopen. Sometimes the header/footer cache corrupts temporarily.
  2. Check for updates: Go to Help > Check for Updates. Older versions (pre-7.6) lack the wizard entirely—upgrade if needed.
  3. Verify header/footer is enabled: Go to Format > Page Style > Page and ensure Header or Footer is checked (not disabled).
  4. Reset page style: Right-click the page style in the Styles sidebar (F11), select Modify, then Reset. Reapply the wizard.
  5. Check for hidden fields: Press Ctrl+Shift+F8 to toggle field codes. If stray fields exist, delete them manually before re-running the wizard.
  6. Reinstall LibreOffice: As a last resort, uninstall and reinstall the latest version. Back up your templates and user profile first (Tools > Options > LibreOffice > Paths shows the user profile location).

Frequently Asked Questions

Does the wizard work with headers that already have text?

No. The wizard overwrites the entire header or footer. To preserve existing text, copy it first, apply the wizard, then paste the text back and add the page number field manually using Insert > Field > Page Number.

Can I change the page number format after applying the wizard?

Yes. Go to Insert > Header > Edit Header (or Footer), click the page number field, then use the Fields sidebar (F2) to switch format or alignment. You can also re-run the wizard to overwrite the current settings.

Why are my page numbers missing on the first page?

By default, Writer hides headers/footers on the first page (controlled by the First Page Header/Footer setting in Page Style). To show them, go to Format > Page Style > Page, check First page header/footer, then click OK.

Does the wizard handle continuous section breaks?

Yes, but only if you run the wizard separately for each section. Place your cursor in the section, run the wizard, and specify a new starting number. The wizard does not auto-detect sections—it applies to the current page style only.

Is the wizard available in LibreOffice online or mobile apps?

No. The wizard is only in the desktop version of LibreOffice Writer. It is not present in LibreOffice Online (web) or LibreOffice Mobile (Android/iOS), where page numbering must be added manually via Insert > Field > Page Number.

Can I add page numbers to only certain pages (e.g., odd pages only)?

Not with the wizard. Use Format > Page Style to create an Odd Page style, assign it to odd-numbered pages, then apply headers/footers there. The wizard only supports uniform placement across all pages in the current style.