URL to HTML link generator
Runs entirely in your browser — nothing you type here is uploaded.
Anatomy of an HTML link
<a href="https://example.com/guide" target="_blank" rel="noopener noreferrer" title="Read the guide">Read the guide</a>
href— where the link goes. Use a fullhttps://address for other sites, a relative path (about.html) for your own pages,mailto:for email andtel:for phone numbers.target="_blank"— opens a new tab. Pair it withrel="noopener"so the new page cannot control yours (modern browsers imply it, but older ones do not).rel="nofollow","sponsored","ugc"— hints for search engines about paid, user-generated or untrusted links.title— a tooltip. Do not rely on it for important information; touch screens never show it.
Write link text people (and Google) understand
“Click here” tells nobody where the link goes. Describe the destination: “Download the 2026 price list (PDF)”. Screen-reader users often jump from link to link, and search engines use the words inside the link to understand the target page.
Got a page, not a URL?
If what you have is the HTML page itself and you need a URL for it, use the HTML to link converter first — then come back here to build the link tag that points at it.
Questions
How do I make a link open in a new tab?
What is the difference between a URL and a link?
Can I link to a section of a page?
More free link tools
Bulk URL to HTML links
Paste a list of URLs (one per line, optional link text) and convert them all to HTML links…
Text to clickable links
Paste plain text containing web addresses and emails — get HTML where every URL and email …
HTML link extractor
Paste HTML source and extract every link: href URLs with their anchor text, plus images, s…
Mailto link generator
Create a mailto link with recipients, CC, BCC, subject and body text — correctly URL-encod…
HTML button link generator
Generate an HTML button that links to a URL: styled <a> tag with your colours and corner r…
HTML to data URL
Encode HTML as a data:text/html URL (Base64 or percent-encoded). See when a data URL works…
HTML previewer
Type or paste HTML and see it rendered live in a sandboxed frame, at phone, tablet or desk…