Fixing Blank Hyperlinks in IronPDF

This article was translated from English: Does it need improvement?
Translated
View the article in English

This is a known limitation of many web browsers when opening a PDF in a browser.

Not specific to IronPDF.

Chrome has this issue, so does Safari and we await an update from the browser developers to fix it.
_blank is not respected in PDF documents.

You can achieve the same by printing any web page to PDF in your browser print menu and notice the same behavior.

When viewing a PDF in Adobe Acrobat, or Apple Preview, you will notice that links open in a new browser tab.

Bug report for Chrome web browser:
https://support.google.com/chrome/thread/9273095/open-display-pdf-in-a-new-tab-when-click-on-a-link?hl=en

As this relates to your client software, there is nothing we can currently do to change this behavior.

Rendering this simple HTML file to PDF via print to PDF in Chrome or Safari gives the same behavior as IronPDF.
The hyperlink opens in the same tab if viewed in a browser rather than a desktop PDF client.
test.html
test.html.pdf

Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más
¿Listo para empezar?
Nuget Descargas 16,154,058 | Versión: 2025.11 recién lanzado