DocStash

Guide

How to send an HTMLfile on WhatsAppthat people can open

October 10, 2026 · 3 min read

TLDR
  • WhatsApp does not display HTML. It shows an .html file as a file, not a page.
  • Put the file on DocStash and send the link instead. It opens as a real webpage, with a preview card in the chat.
  • If an AI made the HTML, connect it to DocStash and it saves the page to a link for you.
Get started

WhatsApp does not display HTML. It shows an .html file as a file, so the person you send it to sees code or a file their phone may not open. The fix is to host the page and send its link, which opens as a webpage on any phone. Here is how.

Send an HTML page on WhatsApp

  1. Drop the file into DocStash. Sign in and drag the .html file into your library. It opens as a rendered page with its own link, like docstash.ai/<slug>.
  2. Publish it. Every page starts private. Switch it to public so anyone with the link can open it, with no account. It stays off search engines unless you turn indexing on.
  3. Paste the link into the chat. WhatsApp shows a preview card with the page title and a preview image. Tapping it opens the page in the browser, on any phone.
  4. Update without resending. Upload a new version and the same link shows it, so the message you already sent stays current. Every earlier version stays in the history.

Made by an AI? Skip the download

If ChatGPT, Claude, Cursor or another AI wrote the HTML, you do not need to save the file and upload it. Connect your AI to DocStash once, then ask it to stash and publish the page. You get a link to send straight away, and any change you ask for later lands at the same link.

ClaudeClaude

Try prompting Claude…

Generate our Q3 financial report as an HTML page on DocStash.
about:blank

FAQ

Can WhatsApp display HTML?

No. WhatsApp shows an HTML file as a file, and HTML typed into a message shows as text. To share a page, send a link to it instead.

Why can my friend not open the HTML file I sent?

WhatsApp hands the .html file to the phone, and phones handle it differently. Some show the code, some ask which app to open it with. A link opens the same way on every phone.

Will the link show a preview in WhatsApp?

Yes. A published DocStash page carries a title, a description and a preview image, which WhatsApp shows as a card under the link.

Does the person need an account to open it?

No. Once you publish the page, anyone with the link opens it as a normal webpage.

Can I send it to only certain people?

Yes. Keep the page private and share it with specific people in DocStash. They sign in to open it, and nobody else can, even with the link.

Send your HTML as a link

Drop in an HTML file or connect your AI, and send one link that opens everywhere.

Get started