We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Save PDF as Docx lose BookMarks


Please advise:
If I save PDF as doc, the word Doc contains bookmarks, but save as Docx not.

Here my code:

        using (Document pdfFile = new Document(Path.Combine(SampleFiles, "SampleBookMarks.pdf")))
            pdfFile.Save(Path.Combine(SampleFiles, "SampleBookMarks.doc"), new DocSaveOptions()
                Format = DocSaveOptions.DocFormat.Doc
            pdfFile.Save(Path.Combine(SampleFiles, "SampleBookMarks.docx"), new DocSaveOptions()
                Format = DocSaveOptions.DocFormat.DocX

(I know that I have workaround to use Aspose.Words …)

SampleBookMarks.pdf (286.0 KB)
SampleBookMarks.zip (285.8 KB)


Thanks for contacting support.

We have checked the data shared by you and found that the PDF file did not have any bookmark inside it. Would you please confirm if problem is related to bookmarks or TOC headings. We will test the scenario in our environment and address it accordingly.

I test it again and you right.
Doc only create Bookmarks for TOC,
All other PDF links are ignore.

  1. Please add the TOC support to docx output (In real life it the most important…)
  2. Please add request to support to all link types.

OrgSampleBookMarks.zip (493.3 KB)


Thanks for sharing further details.

We have observed the scenario at our end and logged issues as following:



We will surely look into details of your requirements and as soon as we have some definite updates regarding investigation process, we will inform you. Please be patient and spare us little time.

We are sorry for the inconvenience.