Guide

Share an HTML file in Teams, Slack or SharePoint

In work chat an HTML file usually lands as a download or as its code, so people never see the page. Paste a link instead: it opens as the page, in the browser, for everyone in the thread.

By the ShareHTML team. Updated .

What each app does with the file

  1. Drop the file on sharehtml.org and sign in with your email and the 6-digit code we send.
  2. Copy the link and paste it into the chat, the channel or the document.
  3. Teams and Slack show a preview with the page's title, and the page opens in the browser.

Give the file a clear <title>: it is the name people see in the preview. Replace the file later and the link stays the same.

Before you share work files

Your company's rules about where work files may go still apply. A ShareHTML link is unlisted, so search engines are asked not to index it, but anyone with the link can open the page, including people outside your company it is forwarded to. On Pro you can add a password or keep a page to yourself: see password pages.

Questions

Can SharePoint host an HTML page?
SharePoint stores .html files but downloads them rather than showing them as pages. Host the file and link to it instead.
How big can the file be?
5 MB on the free plan, 25 MB on Pro. One HTML file per link: put CSS, JavaScript and images inside it.
Do my colleagues need an account?
No. Only the person who uploads signs in.

Sharing a report or dashboard? See sharing HTML reports.