I have a google document in which I used the built-in "generate table of contents" function to add a table of contents. It works perfectly in the browser/online.

But my problem came after I exported the document as a PDF. When I opened the PDF and then clicked an entry on the table of contents, it directs me to the corresponding page in the web app of google docs... instead of the corresponding page in the actual PDF itself.

Am I forgetting to do something, or is this just how it normally works? I thought the table of contents that was generated in the google doc would then function like a normal, MS-Word-generated table of contents that takes you to the page IN the pdf.

[Sorry, this is really awkwardly explained. I can't think of how to better word this, though.]


What you are experiencing is the intended behavior as per the google product team.


The workaround as mentioned here is to export it to .odt (LibreOffice) or .docx (MS Office) format and then export as PDF from the respective software.

I have tested the workaround in LibreOffice (free and open source)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.