You created a Word document with numbered headings like 1, 1.1, and 1.1.1. When you export it to PDF, the heading numbers change or disappear. This happens because the numbering system in Word uses list definitions that PDF converters do not always interpret correctly. This article explains why the numbering breaks and provides three reliable methods to fix the problem.
Key Takeaways: Fix Heading Numbering in PDF Exports
- File > Options > Advanced > Preserve fidelity when sharing this document > Save numbered items as captions: Forces Word to embed numbering as static text before PDF export.
- Use the built-in Save As > PDF with the option “Document structure tags for accessibility”: Keeps heading hierarchy but may still break numbering — use only after testing.
- Print to PDF instead of Export: Bypasses the conversion engine that strips numbering, producing a faithful copy of the on-screen layout.
Why Heading Numbers Change or Disappear During PDF Export
Word stores heading numbering in a list template that is linked to paragraph styles such as Heading 1, Heading 2, and Heading 3. When you export to PDF, Word or the PDF converter must interpret these list definitions and render them as visible text. The conversion process can fail for three reasons.
The List Definition Is Not Embedded in the PDF Stream
A standard PDF file does not understand Word’s list structures. The converter must flatten the numbering into plain text. If the converter skips this step, the PDF shows only the heading text without the number. This is most common when using third-party PDF printers or older export settings.
Heading Styles Use Incorrect Multilevel List Settings
Many users attach numbering to heading styles manually by clicking the Numbering button on the Home tab. This creates a single-level list, not a multilevel list linked to the heading styles. When Word exports such a document, it cannot map the numbering to the correct heading level, and the PDF output scrambles or omits the numbers.
The Export Path Changes the Numbering Context
Word’s “Export > Create PDF/XPS” feature uses a different rendering engine than the “Save As > PDF” dialog. The export engine sometimes re-evaluates list counters and resets numbering for nested headings. This is especially noticeable in documents with multiple sections or chapter breaks.
Three Methods to Preserve Heading Numbering in PDF
Each method targets a different failure point. Start with Method 1 because it addresses the root cause. Use Method 2 if you need accessibility tags. Use Method 3 as a fallback for documents that still break.
Method 1: Enable “Save numbered items as captions”
- Open the document in Word
Make sure all heading numbers display correctly on screen before you change any settings. - Go to File > Options > Advanced
Scroll down to the section labeled “Preserve fidelity when sharing this document.” - Check the box “Save numbered items as captions”
This setting forces Word to convert list-based numbering into static caption fields before the PDF engine processes the file. The caption fields survive the export because they are treated as regular text. - Click OK to close the Options dialog
Do not save the document yet. The setting applies only during the export. - Go to File > Export > Create PDF/XPS
In the Publish as PDF or XPS dialog, click Options. Under “Include nonprinting information,” verify that “Document structure tags for accessibility” is unchecked. Click OK, then Publish.
Test the output PDF. If the numbers still change, proceed to Method 2.
Method 2: Convert List Numbering to Static Text Before Export
- Save a backup copy of the document
This method modifies the document content. Use Save As to create a copy named “export-copy.docx.” Work in the copy. - Select all text
Press Ctrl+A to highlight the entire document. - Copy and paste as plain text into a new document
Press Ctrl+C, then open a new blank document. Right-click and choose Paste Options > Keep Text Only. This strips all list definitions but keeps the visible numbers as plain text characters. - Reapply heading styles
Select each heading line and apply the correct Heading style from the Home tab. The numbers are now plain text, so they will not change during PDF export. - Export to PDF
Go to File > Save As, choose PDF from the file type list, and click Save. The numbers in the PDF will match the on-screen appearance exactly.
This method is ideal for final drafts that do not need further editing. For documents that require future revisions, use Method 1 instead.
Method 3: Use Print to PDF Instead of Export
- Open the document in Word
Confirm that heading numbers appear correctly. - Press Ctrl+P to open the Print dialog
Do not click the Print button yet. - Select “Microsoft Print to PDF” as the printer
If this printer is not listed, go to Windows Settings > Bluetooth & devices > Printers & scanners and add it. - Click Print
In the Save Print Output As dialog, choose a location and file name, then click Save.
The Print to PDF driver captures the visual layout of each page exactly as Word renders it. It does not interpret list definitions, so heading numbers appear exactly as they do on screen. The downside is that the PDF may lose accessibility tags and hyperlinks. Use this method only for distribution copies that do not require screen-reader support.
If the PDF Still Shows Wrong Heading Numbers
“The heading number is missing entirely in the PDF”
This usually means the heading style is not linked to a multilevel list. Open the document. Click inside a heading. On the Home tab, click the Multilevel List button and choose “List Library > 1 Heading 1.” Reapply the numbering to all headings, then try Method 1 again.
“The numbering restarts at 1 on every page in the PDF”
Word’s list template may have a “Restart numbering after” setting that conflicts with the PDF engine. Click inside a heading that restarts incorrectly. Right-click the number, choose “Restart at 1,” then immediately right-click again and choose “Continue numbering.” Export again using Method 1.
“The PDF shows double numbers like 1.1.1.1”
This occurs when the heading style contains both a list number and a manually typed number. Remove any manually typed numbers from headings. Then use the Multilevel List button to reapply the correct list format. Export using Method 1.
Comparison of PDF Export Methods for Heading Numbering
| Item | Export > Create PDF/XPS | Save As > PDF | Print to PDF |
|---|---|---|---|
| Preserves heading numbering | Only with “Save numbered items as captions” enabled | Often fails with complex multilevel lists | Always preserves on-screen appearance |
| Preserves hyperlinks | Yes | Yes | No |
| Preserves accessibility tags | Yes, if option is checked | Yes, if option is checked | No |
| File size | Small | Small | Larger due to rasterization |
| Best use case | Final documents that need both numbering and accessibility | Simple documents with single-level lists | Complex documents where numbering must match exactly |
You can now export Word documents to PDF without losing heading numbering. Start by enabling the “Save numbered items as captions” option in File > Options > Advanced. If that does not work, use the plain-text conversion method or the Print to PDF fallback. For future documents, build heading numbering using the Multilevel List button linked to heading styles — this prevents the problem from occurring again.