How to Create PDF Bookmarks from Custom Heading Styles in Word
Question details
The user wants to generate functional PDF bookmarks based on custom heading styles, but the PDF exporter is only recognizing default built-in heading styles.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Exporting a formatted Word document to a PDF file while retaining a custom navigational bookmark structure.
- Observed behavior
- The PDF conversion process ignores custom styles, only creating bookmarks for built-in styles such as Heading 1 and Heading 2.
Before attempting to export your file, double-check your Styles pane to identify exactly which custom styles you want to appear as bookmarks in the final PDF.
Modify Built-in Heading Styles to Match Custom Formatting
The most reliable way to ensure headings convert to PDF bookmarks is to repurpose the built-in heading styles by changing their appearance to match your custom design.
Since the PDF export engine natively looks for built-in headings (Heading 1, Heading 2, etc.), utilizing these styles guarantees your bookmarks will be created successfully without complex configuration.
Navigate to the 'Home' tab on the ribbon and click the small dialog box launcher arrow in the bottom right corner of the 'Styles' group to open the Styles pane.
Locate 'Heading 1' (or the respective level you need) in the list, right-click it, and select 'Modify' from the context menu.
In the Modify Style dialog box, change the font, size, color, and paragraph settings to perfectly match your desired custom formatting, then click 'OK'.
Highlight your document's section titles and apply this modified built-in heading style. Once applied throughout the document, go to File > Save As, choose PDF, and ensure 'Create bookmarks using Headings' is checked in the Options menu before saving.

Assign Outline Levels to Custom Styles
If you must keep your custom style names, changing their underlying outline level ensures they are recognized by the document's structure, allowing the PDF exporter to convert them into bookmarks.
Easily Create PDF Bookmarks from Headings in WPS Writer
WPS Writer offers a seamless, user-friendly process for exporting documents to PDF with fully functional bookmarks, natively supporting customized outline levels without complex workarounds.
- 1. Set Heading Outline Levels: Open your document in WPS Writer. Select your custom text, right-click, choose 'Paragraph', and assign an Outline Level (e.g., Level 1, 2, or 3).
- 2. Access PDF Export: Click the 'Menu' button in the top left corner, then navigate to and select 'Export to PDF'.
- 3. Configure Bookmark Settings: In the Export to PDF dialog, click on 'Advanced settings' and ensure you check the option to generate bookmarks based on headings.
- 4. Export Your PDF: Click the 'Export to PDF' button. Your generated PDF will now contain a fully navigable bookmark pane based on your custom formatting.

Frequently Asked Questions
Why are my custom headings missing from the exported PDF bookmarks?
Most PDF export features scan specifically for built-in heading styles (Heading 1, Heading 2, etc.) by default. If your custom styles are mapped to a 'Body Text' outline level, the converter will treat them as standard paragraphs and ignore them during bookmark generation.
Can I generate PDF bookmarks directly from a Table of Contents?
Yes. If your custom styles are configured with the proper outline levels, they will successfully populate a Table of Contents. When exporting to PDF, the software can often convert this Table of Contents structure directly into navigable bookmarks.
Will modifying built-in headings ruin the formatting of my other documents?
No. When you modify a built-in heading style, the changes apply only to the current document you are working on, provided you do not check the 'New documents based on this template' option in the Modify Style menu.




