Made on Earth Donate

Why your Word document turned into a PDF with no bookmarks, and how its headings become a clickable outline

10 November 2026 · 9 min read · by Varun Agrawal

The tool this post is aboutWord to PDF with BookmarksConvert a Word document (.docx, .doc, .rtf, .odt) to PDF, with its headings as bookmarks.

You have finished a long document: a thesis, a tender response, a policy handbook, a 60-page contract. You turn it into a PDF and send it. The reviewer opens it and finds page 1 and a scroll bar. No sidebar listing the chapters, no way to jump to section 4.2 except by scrolling and squinting at page headers. If they print it they at least have paper to flip; on a screen they have nothing.

The document had all the structure it needed. It had numbered chapters and sections, perhaps a table of contents on page 2. The PDF lost the part that makes that structure navigable. This post explains what PDF bookmarks are, why the most common ways of making a PDF drop them, what Word itself needs from you for them to exist, and how Word to PDF with Bookmarks turns a document's headings into a nested, clickable outline.

What a PDF bookmark actually is

The sidebar list that PDF viewers call bookmarks is, in the PDF specification, the document outline. It is a tree stored separately from the pages: each entry has a title, a destination (a page and a position on it), and optionally children. A viewer shows the tree in its sidebar and jumps to the destination when you click a title. Nothing about it is visible on the printed page, which is exactly why it is so easy to lose.

Two things with similar names are worth keeping apart:

  • Word's own bookmarks (Insert, Bookmark) are named, invisible anchors inside a Word document, used for cross-references and hyperlinks. They are not what fills a PDF's sidebar.
  • A table of contents on page 2 is content: text on a page, perhaps with links. It helps, but a reader on page 47 has to go back to page 2 to use it. The outline is always one click away.

The outline also isn't the same as the tag tree, a second structure an accessible PDF carries, which marks up the reading order and says which text is a heading, a paragraph, a list or a table. Screen readers navigate by tags; most sighted readers navigate by bookmarks. A good PDF of a long document has both, and both come from the same source: the headings.

Why so many PDFs come out without them

The print path only sees ink

The most common way to make a PDF is to print to one: Microsoft Print to PDF on Windows, the Save as PDF destination in a browser's print dialog, or a printer driver installed by some other software. A printer driver receives drawing instructions for each page (put this glyph here, fill this rectangle there) because that is all a printer needs. It is never told that a line of text was a Heading 2, so it has nothing to build an outline from. The result looks identical on paper and has no bookmarks, usually no working links, and no tags.

Exporting needs the right option

Word's own Save as PDF on Windows goes through the document rather than the printer, and it can create bookmarks: in the save dialog, Options has a choice to create bookmarks using headings. When that option is off, or the PDF was made some other way, the sidebar is empty.

The document has no headings to use

This is the one no converter can fix for you. A line typed in bold 16-point type looks like a heading, but to Word it is an ordinary paragraph with big letters. Bookmarks are built from paragraphs that Word knows are headings: those with an outline level. The built-in styles Heading 1 to Heading 9 carry outline levels 1 to 9, and any other paragraph style can be given one in its paragraph settings. Body text has none.

A quick test: open Word's Navigation Pane (View, Navigation Pane). It lists the paragraphs that have outline levels, nested the same way. If a chapter title is missing there, it will be missing from the PDF's sidebar too, whichever tool makes the PDF.

No Word on hand

The last reason is practical. The document came by email and you are on a phone, a Chromebook, a library computer or a machine without Office. The online viewers will display it; making a properly structured PDF from them is another matter.

How the converter builds the PDF

The converter runs LibreOffice, the open-source office suite, on the site's server, without a screen. The document is sent to the server (up to 50 MB), and a script opens it and exports it.

1. Make sure it really is a document

LibreOffice's type detection identifies the file first. Word documents (.docx, .doc, .docm, the .dotx and .dotm templates), RTF, OpenDocument text and plain text are accepted. Web pages saved with a .doc name are refused, since HTML can pull in content from elsewhere. And because LibreOffice falls back to reading anything it doesn't recognise as plain text, a damaged or renamed file that isn't really a .txt is refused with an error instead of coming out as a PDF of gibberish.

2. Open it safely

Every conversion gets a fresh, throwaway LibreOffice profile, so runs can't see each other. Uploaded files are treated as untrusted: macros are disabled and never run (even in .docm files), links to other files aren't refreshed, and images that are only linked rather than embedded aren't fetched, so a document can't make the server load a web address or read a file from its disk. What you get is what is inside the document.

3. Ask for a password only if it is needed

The document is opened first without a password, because LibreOffice refuses to open an unencrypted document if it is handed one. If the file turns out to be encrypted, the page asks for its open password, keeps the file selected, and tries again with it. The password reaches the converter on its standard input, not its command line. The PDF that comes out has no password. Word's Restrict Editing isn't encryption, so those documents convert without asking.

4. Export with an outline and tags

The export is LibreOffice's Writer PDF export with four settings: bookmarks on, built from the headings' outline levels and nested by level; tagged PDF on, so headings, paragraphs, lists and tables are marked up for assistive technology; form fields exported as PDF form fields where LibreOffice recognises them; and comments off, so review notes don't end up in the margin of a PDF you send out.

5. Report back

The status line says how many pages the PDF has, and the PDF opens in a preview on the page. It isn't set to open with its sidebar showing, so to check the outline, open your viewer's bookmarks panel. A conversion is stopped after two minutes, and only two run at once: when both are busy, a request waits up to a minute for its turn before asking you to try again.

A worked example

Take a short document laid out like the start of a thesis:

  • 1 Introduction in Heading 1, then body text
  • 1.1 Background and 1.2 Research question in Heading 2
  • a line in bold 16-point body text that looks like a heading
  • 2 Method in Heading 1
  • 2.0.1 A level-3 under a level-1 in Heading 3, directly under it, with no Heading 2 between
  • 3 Results in Heading 1

Saved as .docx and put through the converter, it comes back as a one-page PDF whose outline, read out with qpdf, is:

  • 1 Introduction
    • 1.1 Background
    • 1.2 Research question
  • 2 Method
    • 2.0.1 A level-3 under a level-1
  • 3 Results

Three things to notice. The bold line isn't there: it was never a heading. The Heading 3 that skipped a level is nested directly under the Heading 1 above it, so an unusual structure still makes a sensible tree. And the titles are exactly the heading text, numbering included, so numbered headings give numbered bookmarks.

Inside the same file, the tag tree has the matching structure: heading elements tagged H1, H2, H2, H1, H3, H1, the catalog says the document is tagged (/MarkInfo with /Marked true), and it records the document's language (en-US here). The fonts used are embedded as subsets, so the PDF looks the same on a machine that doesn't have them.

Fixing a document with no headings. If the PDF comes back with an empty sidebar, open the document, click into each chapter title and apply Heading 1 from the Styles gallery, then Heading 2 for sections. You can change how those styles look afterwards (font, size, colour) without losing their outline level. Watch the Navigation Pane fill up as you go, save, and convert again.

Fonts, and why a line can move

A PDF has to contain, or reference, every font it uses. The converter embeds the fonts it lays the document out with. The catch is that it can only use fonts the server has, and Word documents are usually written in Microsoft's fonts: Calibri, Cambria, Arial, Times New Roman.

Where the server has a metric-compatible font, it is used instead. Such a font is designed so every character takes exactly the same width as in the original: Carlito for Calibri, Caladea for Cambria, and the Liberation family for Arial, Times New Roman and Courier New. The letters look slightly different, but each line holds the same words, so line breaks and page breaks land where they did in Word, and a cross-reference that says "see page 12" stays right.

Where no metric twin exists, a similar-looking font is substituted, and because its characters are slightly wider or narrower, lines can rewrap and pages can end a few lines earlier or later. That is the main reason the preview exists. Unusual display fonts and symbol fonts are the usual suspects.

What else to expect

  • It is LibreOffice's layout, not Word's. Ordinary documents with styles, tables, headers, footers, footnotes, section breaks and embedded images convert faithfully. Heavy use of floating text boxes, SmartArt, and complex wrapped images can come out slightly differently.
  • Comments are left out. Don't leave tracked changes to chance: accept or reject them in Word first, so the PDF shows the text you mean to send.
  • Linked images are left out on purpose. Embed images in the document (insert them rather than linking to a file or web address) before converting.
  • The PDF has no password. The converter takes passwords off documents it opens; it doesn't add one to the PDF. If the PDF must be locked, encrypt it afterwards with a PDF tool.
  • Upload. The document is sent to the site's server to be converted; see the privacy policy.

Getting a PDF that people can navigate

  1. Use real heading styles. Heading 1 for chapters, Heading 2 for sections, Heading 3 for subsections. The Navigation Pane is your preview of the bookmark tree.
  2. Keep headings short. The sidebar is narrow. "4.2 Results by region" reads well there; a two-line heading gets cut off.
  3. Number them if the document is long. Numbered headings give numbered bookmarks, which match the cross-references in the text.
  4. Prefer common fonts if exact page breaks matter, ones with metric twins such as Calibri, Cambria, Arial or Times New Roman, and check the preview for anything that moved.
  5. Add alt text to images in Word. The PDF is tagged, and tags work best when the document gives them something to say.
  6. Open the sidebar before sending. Click a few bookmarks in the preview's viewer and check they land on the right pages.

The same engine handles spreadsheets in Excel Workbook to One PDF, with a bookmark for each sheet instead of each heading. And if the PDF you received is the one that's locked, Remove PDF Password takes the password off once you know it.

Try it now, freeWord to PDF with BookmarksConvert a Word document (.docx, .doc, .rtf, .odt) to PDF, with its headings as bookmarks.

More from the blog

All posts →