HTML to link: turn an HTML file into a link you can send
How do I share an HTML file as a link? Publish it here. You get one link that stays up, and anyone you send it to can open it in their browser. Hosting is free.
How to turn an HTML file into a link in 3 steps
- Open Publish an app and choose With files I have.
- Drop in your HTML file.
- Try the draft, publish, and copy the link.
Only have the code, from a chat? Choose With a chat and paste it. Working with a coding agent? Choose With a coding agent and ask it to publish your file.
Each new app is checked before it goes public.
What your link includes
- One link that stays up, with free hosting.
- It opens in a browser, on a computer or a phone, with no account and nothing to install.
- Publish again and the same link shows the new version. Nobody needs a new link.
- What your app saves with
localStorageis kept for each person, and follows them once they sign in.
Send an HTML file to someone on WhatsApp or by email
Want your friends to try what you made? Sending the file itself is the hard way. On a phone, an HTML file often shows as a preview that does not run, or does not open at all.
Send the link instead. Paste it into WhatsApp, an email or a text, and the person taps it and your app opens.
Made it in Claude? See Publish a Claude artifact. Sending it to a phone? See Open an HTML app on a phone.
Questions about turning HTML into a link
How do I turn an HTML file into a link?
Publish it here. Drop the file in, try the draft, and publish. You get one link that stays up.
How can I convert HTML to a URL?
Publishing does it. Your HTML file becomes a page with its own address, and that address is the URL you share.
How do I get the URL of an HTML file?
A file on your computer only has a path that works on your computer. To get a URL other people can open, publish the file. The link appears when you publish.
Can I send an HTML file to someone?
Yes, and the easy way is to send a link. Once your file is published, anyone you send the link to can open it in their browser.
Can you send HTML over email?
You can attach the file, but the other person then has to open a file on their own device. A link in the email opens with one tap.
How do I share an HTML file on WhatsApp?
Publish the file, copy the link, and paste it into the chat. Your friend taps it and your app opens in their browser.
Do the people I send it to need an account?
No. Opening a link needs no account and nothing to install. You need an account to publish.
Are HTML files safe to open?
An HTML file can run code, so open only files from people you trust. Each new app here is checked before it goes public.
More help
- Free HTML hosting: put your HTML file online and get a link
- Publish a Claude artifact: a public link anyone can open
- Open an HTML app on iPhone or Android and add it to the home screen
- Hide your API key: call an AI model from an HTML or JavaScript app with no key
- How do I keep the data in an app I made with AI?
- How can my friends or family use my app together?
Updated November 16, 2026