How to Make Biblatex Full Citations Clickable
At a glance
- 1. Load hyperref
Load biblatex first and hyperref after it, so biblatex can use hyperref’s link support.
- 2. Wrap the driver
Redefine fullcite and wrap its bibliography driver in biblatex’s bibhyperref format.
- 3. Print the bibliography
Use fullcite in the document and print the bibliography so the link has a destination.
- 4. Run the bibliography tool
Compile with LaTeX, Biber, then LaTeX twice to resolve the citation and link.
The usual meaning of “make \fullcite clickable” is to make the full citation in the text link to that item’s entry in the bibliography. With biblatex, you can do this by wrapping the command’s entry driver in the bibhyperref format.
This is different from linking the citation directly to the book’s or article’s web page. That alternative is covered below.
Make the full citation link to the bibliography
Load hyperref after biblatex, then redefine \fullcite as follows:
\usepackage[backend=biber,style=authoryear]{biblatex}
\addbibresource{references.bib}
\usepackage[colorlinks=true,allcolors=blue]{hyperref}
\DeclareCiteCommand{\fullcite}
{\usebibmacro{prenote}}
{\printtext[bibhyperref]{%
\usedriver
{\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}}
{\multicitedelim}
{\usebibmacro{postnote}}
Now use \fullcite{key} as usual. The citation’s formatted text becomes a link to the bibliography entry with that key. The redefinition follows biblatex’s standard full-citation pattern; the important change is that \usedriver is inside \printtext[bibhyperref]{...}.
Complete example
This example uses a small .bib file created by the filecontents* environment. Replace the sample record and citation key with your own.
\documentclass{article}
\begin{filecontents*}{references.bib}
@book{knuth1984,
author = {Knuth, Donald E.},
title = {The TeXbook},
date = {1984},
publisher = {Addison-Wesley},
}
\end{filecontents*}
\usepackage[backend=biber,style=authoryear]{biblatex}
\addbibresource{references.bib}
\usepackage[colorlinks=true,allcolors=blue]{hyperref}
\DeclareCiteCommand{\fullcite}
{\usebibmacro{prenote}}
{\printtext[bibhyperref]{%
\usedriver
{\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}}
{\multicitedelim}
{\usebibmacro{postnote}}
\begin{document}
An inline full citation: \fullcite{knuth1984}.
\printbibliography
\end{document}
Compile with LaTeX, then Biber, then LaTeX twice. For example, with a file named main.tex, run pdflatex main, biber main, and pdflatex main twice. Biber processes the bibliography data; the later LaTeX runs resolve the citation and hyperlink.
Why the redefinition works
A biblatex citation command processes each citation key and runs the appropriate bibliography driver to format its entry. The bibhyperref format adds a hyperlink to the corresponding bibliography entry when hyperref is available. Wrapping the driver links the full formatted citation rather than only a name, date, or citation label.
The bibliography entry needs to be printed—for example, with \printbibliography—so that the link has a destination. \fullcite itself counts as a citation, so the item will normally be included in the bibliography unless your filtering or bibliography settings exclude it.
The example keeps \fullcite as an inline citation. If you use \footfullcite instead, that command places the full citation in a footnote; you can apply a similar redefinition to that command if you also want its text linked.
If you mean a link to the work’s webpage
The code above links to the bibliography entry, not directly to an external website. For a DOI or URL link, include the relevant doi or url field in the .bib record and use a biblatex style or options that print and link that field. For a custom destination, use \href{https://example.com}{...} from hyperref around the text you want linked.
Common mistakes
- Loading packages in the wrong order: Load
biblatexbeforehyperrefso biblatex can integrate with its link mechanism. - Expecting an external link:
bibhyperreftargets the bibliography entry in the document; it does not turn the citation into a link to a publisher’s site. - Omitting the bibliography: Without a printed bibliography entry, there may be no destination for the link.
- Skipping Biber or a LaTeX run: Stale auxiliary files can leave citations unresolved. Run the full LaTeX–Biber–LaTeX sequence when the bibliography changes.
References
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.