Zum Inhalt springen
Blog

How to share a Claude HTML artifact as a link

Email blocks HTML attachments and phones can't open them. Here's how to put a Claude or ChatGPT HTML file online and send a link, with password options.

The Liite team9 Min. Lesezeit

Short answer

Don't send the HTML file. Upload it to a static host, open the live address on your own phone, then send that link. If the page is private, pick a host with a password and send the password through a different channel.

You asked Claude or ChatGPT for a calculator, a one-page report or a small tool, and you got a single HTML file. Now you need a person who has never opened one to use it. The question people type is "how to share Claude HTML artifact" or "where to host HTML file from Claude," and the answer is almost always the same: put it on a web address.

Why an attachment doesn't work

An HTML file is a web page, not a document. It needs a browser to run it, and many places refuse to run it for safety reasons. In order of how often people hit them:

  1. Email filters. Attached HTML files are a common way to deliver phishing pages, so mail providers and company filters often block or quarantine them. Even when one arrives, opening it on a phone may show raw code or nothing useful.
  2. Phones. Mobile mail and file apps usually preview the file as text or offer a download with no obvious way to open it in a browser.
  3. SharePoint and similar document tools. People on a Microsoft community forum report that an HTML file opened in SharePoint has its scripts blocked. The usual explanation is that the file is displayed inside a sandboxed frame. An interactive page can look broken or empty there.
  4. Messaging apps. Chat apps treat the file as a generic download. The recipient has to save it, find it and open it in a browser themselves.
  5. Pasting into a document. Pasting the code into Word or Google Docs gives you text, not a working page.

A link avoids nearly all of this. The recipient taps it and the page opens in their normal browser, like any website.

Where you send itWhat usually happensBetter route
Email attachmentBlocked or quarantinedSend a link
Phone chat appDownloads as a file, no way to open itSend a link
SharePoint or a document libraryScripts blocked in a sandboxed frameHost it, link to the hosted page
Pasted into Word or DocsPlain text, no working pageHost it

Step 1: Get the file into shape

  1. Save the artifact as a .html file. Download it, or copy the code into a plain text file and name it something.html. Make sure your editor doesn't add .txt to the end.
  2. Check it locally. Double-click the file. It should open in your browser and work.
  3. Make it self-contained if you can. If images or styles are missing, ask the AI: "Put all CSS, JavaScript and images into this one HTML file." Images can be embedded in the file, which removes most broken-path problems.
  4. If there are several files, put them in one folder and zip it. The main page must be called index.html, at the top of the zip or inside one wrapper folder.

Tip

If the AI's page pulls scripts or fonts from other websites, it needs an internet connection to work. That is fine for most recipients, but test it on mobile data, not only on your office Wi-Fi.

Step 2: Choose where to host it

Any static host works, meaning one that serves files as they are without running server code. The trade-offs differ:

OptionWhat it suitsCatch
Drag-and-drop hosts such as Netlify DropQuick one-off sharingIn forum threads we checked (as of October 2026), people say it needs an account and leaves randomly named sites behind
GitHub PagesYou already use GitYou create a repository for what may be a one-file job
Your own web spaceYou already pay for hostingYou manage uploads and addresses yourself
Liite uploaded sitesNon-technical recipients, passwords, repeat updatesFree plan has limits, see below

None of these needs you to write code. The deciding questions are: does the page need to stay online, does it need a password, and will you update it?

Step 3: Upload and test

  1. Upload the file or zip to your chosen host and copy the live address.
  2. Open the link on your own phone, ideally on mobile data. Check that images load and that buttons, calculators or forms work.
  3. Open it in a private window on a computer to confirm it doesn't depend on being signed in anywhere.
  4. Send the link in a message, email or chat. A short URL is far less likely to be blocked than an attachment, though a strict company filter can still flag unfamiliar domains.

If the content is private

An unguessable address is not security. Anyone who gets the link can forward it. If the page contains client numbers or drafts, use a host that offers a password and send the password in a separate message. Check what the host actually enforces: a password is one thing, restricting access to specific email addresses is another, and many simple hosts offer only the former or neither.

How Liite handles this

Liite uploaded sites take a single .html file, a .zip, a folder or a PDF and give you a live address at <slug>.liite.site. In a zip, index.html can sit at the top level or inside one wrapper folder, which matters because many people zip a folder and end up with an extra layer. Scripts in your file run, because each uploaded site is served on its own address. There is no server-side code (no PHP or Node), which is fine for the single-file pages AI tools produce.

Upload again and the address stays the same, with older versions kept so you can roll back. That suits the usual AI workflow: ask for a change, upload the new file, and the person you sent the link to sees the update.

FreePro
Upload size per site (unpacked)3 MB25 MB
ExpiryGoes offline 7 days after the last publishNo expiry
Search enginesNever indexedNot indexed for the first 24 hours only
PasswordNoYes
Versions kept320

Warning

A Free uploaded site needs a card on file to publish, and it goes offline 7 days after the last publish. Republishing keeps it up, but don't use a Free site for something that has to stay live for weeks.

On Pro and up, visitors see a password form, and one cookie keeps the page unlocked for 30 days. The password is the only access control: you can't restrict a site to specific email addresses, and uploaded sites have no comment or feedback mode, so replies come through your usual channel. Plans start at \$8 a month, or a 14-day Pro trial that needs a card (as of November 2026).

For the click-by-click steps, see putting an HTML file, a zip or a PDF online. The free HTML hosting page covers the Free plan in more detail.

What won't help

  • Zipping the file and emailing it. Filters often block zip files too, and the recipient still has to unpack it.
  • Renaming it to .txt or .pdf. The recipient sees code, or the file fails to open.
  • Pasting the code into a Google Doc or Word file. You get text, not a working page.
  • Sending a screenshot. Fine for a static page, but anything interactive stops working.
  • Asking the recipient to "just open it in Chrome." If they have to know what that means, you have already lost them.
  • The link opens on your phone, on mobile data.
  • Images, buttons and calculators work.
  • Nothing in the page is private unless a password is set.
  • The password, if any, goes in a separate message.
  • You know whether the site expires.
  • You told the recipient it is a web page, so they don't expect a download.

If nothing works

If the link opens for you but not for the recipient, the cause is usually their email or network filter, or a page that depends on files that didn't upload. Ask them to try another network or browser first. If you still need help, contact your host's support, or your IT team if a company filter is involved. Include the exact link, what the recipient sees, their device and browser, and what you already tried.

Hello,

I uploaded a single HTML file (made with an AI tool) and shared the link: <your link>.
For my recipient, the page shows: <blank page / error text / download prompt>.
It works for me on <device and browser>. The recipient uses <device, browser, network>.
I already tried: a private window, another network, re-uploading the file.
Could you tell me whether anything on your side blocks this page?

Thank you.

Common questions

Will the page work on a phone?

Yes, if the HTML itself is responsive. A hosted link opens in the phone's normal browser. If the layout looks cramped, ask the AI to make the page mobile-friendly and upload it again.

On Liite, upload the new file and the address stays the same, so people who already have the link see the new version. Other hosts differ, so check how yours handles replacing a file.

Why does my file work when I double-click it but not online?

Usually a path problem. The page may refer to images or scripts stored next to it on your computer. Upload them with the page in a zip, or ask the AI to inline everything into one file.

Can I limit the page to certain people?

Not on Liite: the only control is a shared password on Pro and up. If you need per-person access, use a tool built for that and treat any simple host as "anyone with the link."