Skip to content
Free converter · Google sign-in

HTML to link generator

Two kinds of people search for this: those who want their HTML page to become a clickable link, and those who need the HTML code for a link. This page does both.

Free: 3 URLs × 24 hours, 2 MB · custom address, password & editing included · permanent from $9

 · 
.htmltourl.dev
Stays online
24 hours on Free · keep it forever
Password protect this link

Free plan · Google sign-in · URLs are noindex · permanent from $9 · rules

1 · Your HTML page → a clickable link

Use the converter above: paste the page or upload it, press Get my URL, and you have a link like https://menu.htmltourl.dev/. Paste it into WhatsApp, Slack, email, a Google Doc, Notion or a bio — it becomes clickable automatically in all of them, and it opens the rendered page, not the code.

2 · A link → the HTML code for it

If you already have a URL and need the HTML that makes it clickable on a web page, this is the tag:

<a href="https://menu.htmltourl.dev/">See our menu</a>

Useful extras:

  • target="_blank" rel="noopener" opens the link in a new tab safely.
  • href="mailto:hello@example.com" makes an email link; href="tel:+15551234567" a phone link.
  • download makes the browser save the file instead of opening it.

The free HTML link code generator builds these tags (and button-style links) for you, with a live preview.

3 · Make the link look good when shared

When you paste a link into iMessage, WhatsApp, LinkedIn or Slack, they show a preview card built from the page's <title>, <meta name="description"> and Open Graph tags. Add these to your HTML before converting:

<title>Spring menu — Café Lumen</title>
<meta name="description" content="Seasonal dishes, prices and opening hours.">
<meta property="og:title" content="Spring menu — Café Lumen">
<meta property="og:image" content="https://example.com/cover.jpg">

Short, memorable links

A random address is private but hard to read aloud. Type a custom address (3–40 letters, numbers and hyphens) to get something like quiz-week3.htmltourl.dev — easy to dictate in class or print on a flyer. For printed material add the QR code too.

Related guides

Frequently asked questions

How do I make an HTML file into a clickable link?

Upload or paste it in the converter at the top of this page and press Get my URL. The result is a normal https:// link that becomes clickable wherever you paste it.

What is the HTML code for a link?

<a href="https://example.com/">Link text</a>. Use the link code generator for new-tab, email, phone and button variants.

Can I choose the words in my link?

Yes — the custom address. Type a name like spring-menu to get spring-menu.htmltourl.dev, on every plan.

Does the link work in WhatsApp and Instagram?

Yes. It is a standard HTTPS URL, so messaging apps make it tappable and in-app browsers open it as a page.

Other converters

Paste HTML. Get a URL.

Code, an .html file, a ZIP or a whole folder becomes a live HTTPS URL with your own address, an optional password and a QR code. Free to start with Google sign-in; paid plans keep URLs online for good.

Convert HTML to URL