\documentclass{article}
\usepackage{hyperref,blindtext}

\begin{document}

\tableofcontents
\blinddocument

\end{document}
