How to share an HTML file as a link that opens on any phone
Quick answer
When you send an HTML file over email, WhatsApp, or Google Drive, the other person receives raw code and must find an app to open it. We tested this in Apple's simulator on iOS 26, where the iPhone Files app displayed the page without its scripts and stripped out images from the web. Upload the file to a host and send the web address instead so it opens straight in any mobile browser. Drop your file into the upload box on this page to get a private link in seconds with no signup. Without an account, your link stays active for 3 minutes, search engines are told not to index it, and scripts and forms stay off. Keep the page on Convika's Free plan to publish with working scripts and see your visit count.
Free plan: no credit card, 1 published page, 50 form entries a month.
On this page
- 4 ways to share an HTML file
- What is the best way to share an HTML file?
- Why the file doesn't open on their phone
- Sharing a page ChatGPT made
- Sharing it in Slack, Teams, or email
- Share your HTML file as a link in 4 steps
- Keep your page out of search results
- Keep the page and see whether it was opened
- Sending a draft to a client
- Opening an HTML file on a phone without a host
- Pages with images or several files
- Frequently asked questions
You built a web page by hand or with ChatGPT, Claude, Gemini, or Codex, and it looks right on your computer. Now someone else needs to see it, most likely on their phone. The obvious move is to send the .html file, but the recipient gets an attachment instead of an active page. This guide compares email attachments and Google Drive against 5 hosts that turn your file into a link: Netlify Drop, Tiiny Host, Pagelive, GitHub Pages, and Convika. Then, follow 4 steps to create your link.
4 ways to share an HTML file
- Attach the file. This is fine if your recipient sits at a computer and opens it in a browser. On an iPhone, opening it from the Files app shows only a preview. In our test on iOS 26.3, no scripts ran, and no web images loaded.
- Zip it with its images. A zip file holds the page and its image files together. Your recipient still has to unzip the archive and open the page from their local files. That leaves them with the same limits as a raw attachment.
- Send a PDF or screenshots. Print the page to a PDF in your browser, or take screenshots. Every phone opens these files without trouble. You keep the visual layout, but you lose what the page actually does: menus, forms, animations, and anything powered by scripts.
- Send a link. You upload the file to a host and get a web address. Your recipient taps the link, and the page opens right in their phone's browser. On most hosts, all scripts run. The only exception is Convika's no-signup preview, which turns scripts off (step 3 below).
If someone only needs to look at the design, a PDF works. If they must tap a button, scroll through a menu, or fill out a form, you need to send a link.
What is the best way to share an HTML file?
The best way is a link from a host when your recipient must see the page rather than its code. An email attachment hands over the file. Google Drive and Dropbox do the same. The 5 hosts differ on whether you need an account and how long the link lasts. They also differ on what you can see afterwards. Every cell comes from checks against each service's own pages and docs on October 14, 2026. A dash in a cell means the column does not apply.
| Way to share | Signup to get a link | Recipient needs an account | Opens in one tap on a phone | Scripts run | How long the link lasts | Indexed by search engines | See if it was opened | Own domain on the free plan |
|---|---|---|---|---|---|---|---|---|
| Email attachment | — | No | No, they get a file | Depends on the app; not in the iPhone Files preview | — | No | No | — |
| Google Drive or Dropbox | Yes, a Google or Dropbox account | No, if shared with anyone who has the link | No, neither serves HTML as a web page | No | Until you stop sharing it | — | — | — |
| Netlify Drop | Not to upload, but the link has a temporary password until you sign in and claim it | No, once you select Make public (new teams' projects start private) | Yes | Yes | Once claimed, until you delete it; every project pauses when the 300 monthly credits run out | Yes, like any public site | Web Analytics, kept for 1 day | Yes |
| Tiiny Host | Yes, a free account with a verified email | No | Yes | Yes | As long as you sign in once every 3 months | Yes; hiding it from search engines starts on Tiny, $9 a month | Visitor stats from Tiny, $9 a month | No; from Solo, $18 a month |
| Pagelive | No for a 7-day page; a free account keeps 2 public pages | No | Yes | Yes | 7 days without an account; until you remove it with one | No, noindex by default | A view count and an email on the first open, with a free account | No; from Solo, $15 a month |
| GitHub Pages | Yes, a GitHub account; on GitHub Free the repository must be public | No | Yes | Yes | Until you delete it | Yes, like any public site | No | Yes |
| Convika preview, no signup | No | No | Yes | No; scripts, forms, and embeds are off | 3 minutes | No, marked noindex | No | No |
| Convika Free | Yes, free, no card | No | Yes | Yes | Until you unpublish it. Free includes 10,000 page views a month; Free pages stop 7 days after reaching that in a month, until the month ends or you upgrade (pricing) | searchable (private link on Pro or pass) | Visits by day, with country, device, and referrer, for 90 days | 1 subdomain, such as www.yourname.com |
Choose by what must happen once they open it.
- A quick look, with no account. The Convika upload box gives you a link in seconds. It works 3 minutes with scripts off. That works well for checking on your phone or showing someone right now. On Pagelive without an account, your page stays up 7 days, and scripts run.
- Tabs, a quiz, or a game that has to work. Scripts run on Netlify Drop, Tiiny Host, Pagelive, and GitHub Pages. They also run on a page kept on Convika Free.
- Knowing whether it was opened. Convika Free tracks visits by day, along with country, device, and referrer for 90 days. A Pagelive free account shows a view count and sends an email on first open. Netlify Free plan gives you 1 day of Web Analytics. Tiiny Host visitor stats start from Tiny at $9 a month.
- Your own domain without paying. Netlify Drop and GitHub Pages support this. Convika Free provides a 1 subdomain.
- A folder or a zip, not one file. Netlify Drop accepts a folder, a zip, or a single HTML file. Tiiny Host accepts a zip. Convika hosts one HTML file per page.
For more detail on the hosts, see Tiiny Host alternatives and Netlify Drop alternatives.
Why the file doesn't open on their phone
An HTML file is a set of instructions for a browser, not a picture of the page. The receiving app has to read those instructions. Most places where you would send the file never pass it to a browser.
- A company's mail server can block it. Gmail does not include
.htmlon its blocked file types list. Outlook blocks.mht,.mhtml, and.hta, but does not list.htmlon its blocked attachments list. However, a company mail administrator can add file types. The Microsoft 365 common attachments filter listshtmandhtmlas types an admin can block. By default, a blocked message returns to you as undeliverable. - Google Drive and Dropbox share the file, not the page. Google stopped serving web pages from Drive on August 31, 2016, according to its announcement. Dropbox stopped rendering HTML from Public folder links on October 3, 2016 for free accounts, and on September 1, 2017 for paid accounts, per Dropbox help. Your recipient gets the raw file, not a working website.
- WhatsApp sends files as documents. You send the file through its Document option, which allows files up to 2 GB per WhatsApp's help. The person on the other end receives a document to open, not a page.
- A phone's file preview isn't a browser. When you tap a saved
.htmlfile in Files on an iPhone, you see a preview. In our test on iOS 26.3, no JavaScript ran. Nothing loaded from the web: no images, no Google Fonts, and no Tailwind from a CDN. We cover the details in the phone section below. - Images saved on your computer don't travel with the file. A path like
hero.pngpoints to a file on your own drive. That reference leaves a broken image everywhere else.
Sharing a page ChatGPT made
Get the page from ChatGPT as one .html file, or copy the code from the code block. If you use the ChatGPT share link, people see the conversation at an address starting https://chatgpt.com/share/, according to OpenAI's help center. ChatGPT Sites hosts the page only on paid plans: Plus, Pro, Business, Enterprise, and Edu. Free and Go accounts miss out, as detailed in Is ChatGPT Sites free?. On any plan, drop the file or paste the code into the upload box at the top of this page, then send the link it gives you. If you want to take that same page through to a published site with a form, read How to publish ChatGPT HTML as a live website.
From Claude
A Claude chat Share link opens only for people signed in to Claude. Download the file or copy the code, then upload it the same way. To see where each Claude app keeps the file, follow how to share an HTML file from Claude.
From Copilot, DeepSeek, or another chat
In Microsoft Copilot, DeepSeek, and other AI chats, the code appears in the conversation. Copy all of it. Go to the upload box at the top of this page, switch to Paste code, paste it, and send the link. For SharePoint users, Microsoft 365 roadmap item 569208 adds HTML pages to SharePoint, written with Copilot or uploaded, with general availability planned October 2026.
Sharing it in Slack, Teams, or email
Upload the file first, then send the link instead of the file.
- Email. A company mail server can block an attached
.htmlfile. On an iPhone, an attachment opens in a file preview with no scripts. Put the link in the email body, and the page opens in the browser. - Slack and Teams. Paste the link in the message. It opens in the browser on a phone or computer, and the recipient needs no account with the host. For Teams specifics, see how to share an HTML file in Teams.
The same applies to WhatsApp, Messenger, or a text message. Follow How to share an HTML file on WhatsApp for WhatsApp steps with documents and links. For a flyer, menu, or class slide, see how to turn an HTML file into a QR code to put the published address in a QR code. To hand a page in or post a game for a class, see how to submit an HTML file in Google Classroom.
Share your HTML file as a link in 4 steps
1. Check that the page is one file
Convika accepts one .html or .htm file up to 2 MB, or the same code pasted directly. Any image needs a full https:// link. If you built the page with ChatGPT, Claude, Gemini, or Codex, ask it: “Give me the whole page as one HTML file, with the CSS inline and full https:// links for images.” To copy code out of Gemini Canvas, follow the Gemini guide. To export your file from Claude apps, see the Claude guide.
2. Drop the file or paste the code
Go to the box at the top of this page. Drop your file there, or switch to Paste code and paste your HTML. Click Get my preview link. You do not need an account or an email address. Convika allows 10 previews a day per network. If a tag such as <img> points to an image stored on your computer, the box lists that file so you can fix its link first. Images a script loads aren't listed. You can also find this upload box on the free HTML publishing tool page.
3. Open the preview on your own phone
When you see the message “Your preview is ready,” click Copy link. Open that address on your own phone before you show anyone else. The top bar explains that someone uploaded the page to Convika's free tool, with scripts and forms turned off. A small Convika bar sits at the bottom. Make sure the layout holds and your images load. Script-driven buttons and menus do not respond in this preview, and they run once you keep the page. To handle form entries after keeping the page, click Add a form to my page on the page's dashboard screen.
4. Send the link
Send the published page's address rather than the preview link. Without an account, the preview link works for 3 minutes. That link is for checking your work yourself, not for sending to others. Once everything looks right, keep the page and publish it as shown in Keep the page and see whether it was opened below. Paste the published address into an email, WhatsApp, or any chat. It opens in one tap in the phone's browser, with no app to install and no account to create.
Keep your page out of search results
In July 2026, The Decoder and GovInfoSecurity reported that chats and artifacts shared with Claude's "share with link" were showing up in Google and Bing search results. According to The Decoder, the shared pages apparently lacked the noindex tag that tells search engines to leave a page out of their results. Anthropic said shared links stay hidden unless the people who have them post them in public themselves.
When you publish an uploaded file on Convika, the confirmation screen asks Who can open this page? Public is free, and Private link needs Pro or the pass. A Public page may show up in search results and in Convika's gallery. With a private link, Convika leaves the page out of the sitemap and adds a noindex tag so search engines keep it out of their results. The person you text or email taps the link on their phone and opens the page right away, without an account or a password.
Anyone who gets the link from them can open it too. If you want to lock the page to specific people, pick Only people with the password and set a password, which comes with Pro ($12/month). If you want the page to appear in search results, choose Public. You can change your choice any time in Page settings under Who can open this page (a private link needs Pro or the pass).
Keep the page and see whether it was opened
The preview link lets you check the layout on your screen. When you want to send it to someone else, run its scripts, or see whether they opened it, click Keep this page — free, no card above that link. Sign up, and the page moves into your account as uploaded. Convika creates a new preview link with working scripts, and the first link stops working. Click Publish page. Under Who can open this page?, choose Public and click Next. The first time you publish, Convika shows Publish free, and under it Publish without the Convika bar, which opens an order for Pro monthly (1 day free with a card, then $12 a month). To publish on Free, click Publish free. The page goes live at an address like yourpage.convika.page. The address stays the same until you unpublish it. Free includes 10,000 page views a month across all your pages. If you built a landing page, click Add a form to my page to collect signups, and connect your own subdomain. Convika allows commercial use on every plan, Free included.
The Free plan asks for no credit card. It includes 1 published page, 50 form entries a month, 1 custom subdomain, such as www.yourname.com, and a small Convika bar. Once you publish, the dashboard tracks your visits by day, each visitor's country, their device, and the site they came from over the last 90 days. It records no names and no email addresses, so it will not tell you who opened the link. Your own visits count, too. Note the visit number on the dashboard before you send the link to anyone. For help reading these numbers, check How to see who visits your page.
Sending a draft to a client
Keep the page and publish it before you send anything for a client review. A no-signup link works for 3 minutes, and a kept page's preview link for 3 minutes, but clients often open links the next day. The preview is enough to walk a client through the page on a call; for a review on their own time, send the published address. Here are 4 things to know before sending.
- The no-signup preview shows Convika's bar. It places a top bar stating that someone uploaded the page to Convika's free tool. A kept page removes that upload bar. The Free plan shows a small Convika bar at the bottom, and Pro at $12 a month removes it.
- Nothing interactive works in the no-signup preview. If your review involves a menu, slider, or form, keep the page. Scripts run on its dashboard preview and on the published page.
- It can stay out of Google while your client reviews it. The free choice when you publish is Public, which may show up in search results and in Convika's gallery. Choose Private link (Pro or pass) and anyone with the link can open it without a password or account, while Convika leaves the page out of the sitemap and tells search engines to keep it out of their results. If you want the page in search later, open Page settings, go to Who can open this page, and choose Public; the change applies the next time the page is opened (if a page is already in search results, each search engine decides when it drops out). Or, once your client has signed off, click Unpublish and the page goes offline.
- A password needs Pro. If you have a confidential proposal, keep the page, click Publish page, choose Only people with the password, type a password, and click Next. Then order Pro monthly (1 day free with a card, then $12 a month), or the 1-year pass ($29, paid once, no renewal) from the link under the order's button. Visitors see a password screen first, and Convika sends the page only after they enter the right password. You cannot add a password to a no-signup preview link. Read what visitors see and see how other hosts compare in How to password protect an HTML page.
Opening an HTML file on a phone without a host
Someone emailed you an HTML file, or you must send the file anyway. It is already on the phone. Here is what to expect when you open it.
On an iPhone
In Mail, touch and hold the attachment and tap Save to Files (Apple's iPhone guide). Tap the file in Files to open the preview. We tested this on October 6, 2026, on iOS 26.3 in Apple's iPhone Simulator:
- showed text, layout, and CSS written inside the file
- ran no JavaScript at all
- loaded nothing from the web:
https://images, Google Fonts, and Tailwind from a CDN all failed, leaving the Tailwind page unstyled
A plain HTML file with inline CSS reads fine. A page that relies on Tailwind's CDN, web fonts, web images, or scripts does not.
To see the file as intended without putting it online, open the free HTML viewer in Safari. Tap Choose an .html file and pick the file from Files. It runs in the browser. The page gets its scripts and web images, and the file is not uploaded. If someone sends an unexpected file, do not open it. Ask the sender first. For an unsure file, turn off Run scripts before choosing it. No scripts run, and forms cannot send.
On Android
Which app opens an .html file depends on the phone and installed apps, so results vary. Check on the recipient's kind of phone first. In Chrome, the HTML viewer shows the page with scripts, with no file upload. For an unsure file, turn off Run scripts first, as on iPhone.
If you are sending a page that needs scripts or web images, send a link.
Pages with images or several files
Convika hosts one HTML document per page, so your page must be a single file.
- Images. Give each image a full
https://link to your site or an image host. Images built into the code also show. They count toward the 2 MB limit, so large files push you over. - A page split into HTML, CSS, and JavaScript files. VS Code projects often split work across
index.html,style.css, andscript.js. Paste the CSS and JavaScript inside your HTML file before you upload. Follow how to share an HTML file from VS Code for the 4 edits. - Several pages, or a folder of files. Convika cannot host these as one site. Ask the AI that made them to combine everything into one page. You can also pick a host that takes a folder or zip: Netlify Drop accepts either, and Tiiny Host takes a zip.
- Requests to other websites. On Free, a script's fetch and XHR requests on a Convika page reach only the page's own address. On Pro, MAX, and the 1-year pass, they also reach the analytics tools Convika supports, Google's addresses among them, and up to 20 hosts you list for your own ad network in the page's settings. So a script that loads a feed or a spreadsheet from another site gets blocked on Free, and on those plans unless its host is on one of those lists. Ask the AI to put that data directly in the page.
Frequently asked questions
How do I share an HTML file as a link for free?
Upload your file to a host that creates a web address, and send that address to your recipient. Drop your .html file or paste your code into the upload box on this page, then click Get my preview link. You get a private link in seconds without signing up. The link works for 3 minutes unless you keep the page with a free account. Other free options include Netlify Drop, Tiiny Host, Pagelive, and GitHub Pages. You can compare their trade-offs in the table above.
How do I share an HTML file on WhatsApp?
Send a link to your page instead of sending the file directly through WhatsApp. WhatsApp delivers files through Document, which forces the recipient's phone to open a document file instead of rendering a web page. Upload your file to a host first, then paste the web address into your chat. You can follow WhatsApp's own steps in how to share an HTML file on WhatsApp.
How do I share an HTML file with others?
Upload your file to a host and send the link to your recipients. A link created without an account lasts 3 minutes in the Convika upload box, or 7 days on Pagelive. When you publish the page from a free account on either service, it keeps its address until you take it down; Convika's Free plan includes 10,000 page views a month. Send the file itself as well if someone needs to grade your code or edit it.
How do I share an HTML file on Instagram?
Upload your file to a host and share the link to your page. You can paste the link into a direct message, add it to a story with the link sticker, or display it on your profile. Instagram allows up to 5 websites on your profile.
How do I share an HTML file in Google Drive?
Upload your file to Google Drive and set the sharing permission to Anyone with the link. Your recipient receives the file without signing in to Google. Google Drive shares the file itself rather than serving a web page, because Google stopped serving web pages from Drive on August 31, 2016. Upload the file to a host and send that link to open the page inside a browser.
How do I send an HTML file in Gmail or Outlook?
Attach your .html file directly to an email message just like any other attachment. Neither Gmail's blocked file types nor Outlook's blocked attachments list .html files. A company mail server can still block the file, and your recipient receives a raw attachment rather than a live page. Upload the file to a host and paste its link into your email to send the page itself.
How do I share an HTML file in Slack or Teams?
Upload the file to a host first, then paste the link directly into your message. The page opens inside your recipient's browser on a phone or computer without requiring an account. The upload box on this page puts your file online in seconds. You can also keep the page, publish it, and paste your published address.
How do I send an HTML file in Google Classroom?
Upload your page to a host, copy the link, and submit it through Google Classroom. On a computer, open the assignment, click Add or create under Your work, select Link, and enter the page's address (Classroom's help). In the Classroom app, tap Expand on the Your work card, then tap Add and Link on Android, or Add work and Insert Link on an iPhone. A preview link created without an account stops working after 3 minutes, so keep and publish the page before turning it in.
How do I share an HTML file from ChatGPT?
Download the page as a single .html file or copy its code, upload it to a host, and send the link. The upload box on this page gives you a private link in seconds with no signup. The link works for 3 minutes unless you keep the page with a free account. Using ChatGPT's built-in share link reveals your chat conversation instead. ChatGPT Sites hosts the page directly, but it requires a Plus, Pro, or workspace plan.
How do I share an HTML file from Claude?
Download the file or copy the code from Claude, upload it to a host, and send that link. Sharing the Claude chat directly allows access only to people signed in to Claude. Check How to share an HTML file from Claude to see where each Claude app stores your file.
How do I share an HTML file from VS Code?
Place your CSS and JavaScript inside the HTML file, upload that single file to a host, and send the link. A Live Server address such as http://127.0.0.1:5500/index.html opens only on your own computer. You can follow the 4 edits in How to share an HTML file from VS Code.
How do I share a local HTML file as a link?
Upload the file to a host to create a public address starting with https://. When you view the file locally, your browser shows an address starting with file:///. That address points only to your local disk, so nobody else can open it. The upload box on this page creates an https:// link in seconds without signup, and it works for 3 minutes unless you keep the page with a free account.
How do I open an HTML file on my phone?
Open the file inside your phone's browser with our free HTML viewer, or ask the sender for a web link. On an iPhone, saving the file to Files and tapping it shows the text and CSS stored inside the file. In our test on iOS 26.3, Files blocked scripts, web images, and external fonts. On Android, the behavior depends on which app opens the file. Never open an unexpected file, and ask the sender first. If you are unsure about a file, turn off Run scripts in the viewer before choosing the file. To pass a page on to others, drop it into the upload box here, keep and publish it, and send the published address.
How do I send an HTML file with images?
Use a full https:// web address for each image so it loads wherever the page opens. A local path like hero.png points to a file on your computer, so the image breaks for everyone else. Images built directly into your HTML code display properly, but they count toward Convika's 2 MB limit. If you have a folder of files, choose a host that accepts a folder or zip file, such as Netlify Drop.
Is there a free online HTML file to link converter?
Yes, drop your .html file or paste your code into the upload box on this page or on the free HTML publishing tool, then click Get my preview link. You get a link without signing up. It works for 3 minutes, with scripts and forms turned off. If you keep the page on Convika's Free plan, Convika publishes it with scripts running at its own address.
Can I see if they opened it?
You cannot track views with the no-signup preview link, because it records no visits. Keep the page on the Free plan and publish it to see daily visitor counts on your dashboard, broken down by country, device, and referring site. The dashboard does not show visitor names or email addresses, and your own visits count toward the total. If you only need an email when someone first opens the page, Pagelive's free account sends one.
Will my page show up on Google?
Preview links do not appear on Google, because Convika tells search engines not to index preview links. A preview link created without an account also stops working after 3 minutes unless you keep the page. When you publish a page, you decide under Who can open this page?. Public is free, and search engines can find and list it; it may also appear in Convika's gallery. Private link (Pro or pass) marks the page noindex and leaves it out of your sitemap. You can switch this later under Who can open this page in Page settings (a private link needs Pro or the pass). If you set a password, search engines see only the password screen, which is marked noindex.
Next step
How to password protect an HTML page without code, on your own domain
JavaScript passwords sit in the page code. Put an HTML page from ChatGPT or Claude behind a server-checked password on your own domain.
Related articles
- Tiiny Host alternatives in 2026: 9 hosts compared on what's freeTiiny Host free limits you to 1 project and a banner. Compare 8 alternatives on free pages, custom domains, forms that keep entries, and stats.
- How to send an HTML page on WhatsApp so it opens in one tapSent through WhatsApp's Document option, an HTML file arrives as a file. Send a link instead so it opens in their phone's browser.
- How to send an HTML file on Instagram or Messenger so it opensInstagram's help lists no files for chats, and Meta doesn't say Messenger delivers .html files. Put the page online and paste its link in the DM instead.
- ChatGPT, Claude, or Gemini gave me HTML code: how do I run it and see the page?Copy the whole code block, paste it into a free HTML viewer, and the page runs in your browser. What each AI's own preview does, and how to save it as .html.
- My HTML file opens but the images and styling are missing. Why?An .html file is only the page: its images, style.css, scripts, and fonts are other files. Our October 2026 tests show what goes missing, and how to fix each.
- Free HTML hosting compared (2026)Netlify Drop, Cloudflare, GitHub Pages, Vercel, Tiiny Host, and 6 more free HTML hosts compared: sign-up, link expiry, custom domain, forms, stats, and badge.