Breaking long URLs in Latex

\usepackage[
bookmarksopen,
bookmarksdepth=2,
colorlinks=false,
urlcolor=blue]{hyperref}

or

\usepackage[hyphens]{url}