Share an HTML File in Slack as a Working Page

Quick answer

Slack treats an uploaded HTML file or snippet as a file to download or view raw, not a working web page. Publish report.html on Convika and paste the link into Slack instead. Charts run on the Free plan; a private link (Pro or pass) keeps it out of search, and Pro or the pass adds a password.

Sign up free to upload

Free plan: no credit card, 1 published page, 10,000 views/month.

On this page

Your coding agent—Claude Code or Codex—just finished writing report.html: a dashboard, test results, usage insights, or a research summary with charts. You drop it into Slack so your teammates can look, and it arrives as a file rather than a web page they can just open. You want them to click a link in the message and read the report directly, without downloading a file or looking at raw code, without putting company data on the public web or in Google, and without setting up hosting.

This guide covers why an HTML file in Slack doesn't open as a page, and walks through three ways to share an agent's HTML report: as a file, a snippet, or a link. You'll see how to publish report.html and paste the link into Slack in four steps, keep access restricted to your team, bundle charts and data into a single file, update next week's report at the same link, check whether your team opened it, and prompt Claude Code or Codex to generate a single-file report from the start.

Can Slack preview HTML files as a page?

Slack's help articles cover adding files, creating code snippets, and expanding website links, but they do not describe how an HTML file is shown when uploaded to a message or opened from an external file link. While Slack's documentation says it includes a preview of a file as part of your message, the conditions it lists are for images and Microsoft Office files over 50 MB, and its code snippet feature is designed to let others download the snippet, view a raw version, or leave comments.

  • File uploads and external links (Slack help, "Add files to Slack", read October 19, 2026): You can add files up to 1 GB by dragging and dropping up to ten files on desktop or using the plus icon on desktop and mobile. Slack says it includes a preview of a file in your message (giving conditions for images and Microsoft Office files over 50 MB), scans files for viruses and malware, and lets paid subscriptions create an external link to share a file outside Slack, but it does not say how an HTML file is shown or how it opens from that link.
  • Code snippets (Slack help, "Create or paste code snippets in Slack", read October 19, 2026): On desktop, you can use the plus icon to create a text snippet for sharing code, configuration files, or log files (you cannot currently create or share snippets from the Slack mobile apps). Sharing a snippet lets teammates download it, view a raw version, or leave comments.
  • Link previews (Slack help, "Share links and set preview preferences", read October 19, 2026): Most links to websites automatically expand to show a content preview below your message, unless the web page lacks the necessary embedded data, the link is for a private page or file, the same link was shared in the conversation within the past hour, or the message has more than five links.
  • Opening a downloaded HTML file (Convika's tests, recorded in our LINE guide): In Chromium on a computer (October 13, 2026), an HTML file copied out of its folder—as when one .html file is downloaded from a chat—lost its separate CSS, images, and scripts, and only CSS written inside the file still worked; in the iPhone simulator (iOS 26.3, October 6, 2026), the Files app's preview of an HTML file ran no JavaScript and loaded no https:// images or Google Fonts.

When teammates download a single .html file from a chat to open on their own device, what they see depends on how the file was built and where they open it. In Convika's own tests (recorded in our LINE guide), downloading or opening an HTML file outside its original folder or in a mobile file preview caused separate assets and scripts to stop working.

Three Ways to Share an HTML Report in Slack

You can share an agent-generated report.html in Slack in three ways: upload the file (up to 1 GB by dragging and dropping on desktop or using the plus icon) when someone needs a copy, create a text snippet on desktop when teammates want to view the raw version or leave comments on the code, or publish it to a Convika link when teammates want to open and read the report as a page in its own tab.

WayWhat your teammates getGood for
Attach report.html to a messageA file. Slack's help says it shows a preview of a file, but not how an HTML file is shown; to see the page, each person downloads and opens itHanding over the file, or a code review
A text snippetThe code as text, with syntax highlighting. Snippets can't be created from Slack's mobile appsReading or commenting on the code
An external link to the file (paid Slack)A link to the file for people outside Slack; Slack's help doesn't say how an HTML file opens from itSharing the file outside Slack
A link to the published reportThe report as a page in the browser, with its charts runningReading the report

When a single .html file is downloaded from a chat and opened outside its original folder on a computer, it loses any separate CSS, images, and scripts, and iOS Files preview runs no JavaScript and loads no https:// images or Google Fonts. A published Convika page runs the file's scripts on every plan (including Free) along with https:// CDN scripts and stylesheets like Chart.js, Plotly, and Tailwind, plus https:// or built-in images and video embeds. Because Convika takes a single HTML file (not a folder or ZIP) and fetch only reaches the page's own address, ask your coding agent to embed the report's data and styles inside report.html before publishing.

Make sure your report.html is a single self-contained file—with its CSS, images, and chart scripts written inside the file or loaded from https:// URLs—since the upload box takes one .html or .htm file up to 2 MB.

1. Drop report.html or paste the code in the box

Go to the upload box on this page. With Upload a file selected, drop your .html or .htm file (up to 2 MB), or switch to Paste code and paste the HTML from Claude Code or Codex. Click Get my preview link. You don't need an account or an email address to get the preview, which works for 3 minutes. Scripts and forms are off in this first preview, so interactive charts won't render yet.

2. Keep the page and check your charts

Click Keep this page — free, no card and sign up. The page moves into your account exactly as you uploaded it, and its scripts run. Open the page to check that your charts, tables, and interactive filters load and work the way you expect before anyone on your team sees it.

3. Publish it out of search engines (or with a password)

On the page's screen, click Publish. In the dialog, choose Private link (Pro or pass): anyone with the link—including teammates they forward it to—can open it without a password or account, and Convika tells search engines to keep the page out of their results. The free choice, Public, may show up in search results and in Convika's gallery. You can change this later in Site settings. If you want a gate in front of the report, choose Only people with the password instead. Teammates type the password once on Convika's password screen and their browser opens the page for 7 days.

4. Copy the Live URL and paste it in Slack

Once published, your report goes live at an address like yourpage.convika.page, which stays the same until you click Unpublish. Free includes 10,000 page views a month across all your pages. Click Copy next to the Live URL, then paste the link into your Slack channel or DM. Teammates on desktop or phone can click the link and read the rendered page in their browser instead of downloading raw HTML or opening a code snippet.

Keep a shared HTML report out of Google and limited to your team

Sharing a link in Slack is fast, but keeping a report out of search results is not the same as locking it down. If you use an unlisted link, Convika tells search engines not to index the page, yet anyone who gets the URL—including someone a teammate forwards it to—can open it.

  • Private link (Pro or pass): Keeps the report out of Google and other search engines with a noindex tag, but anyone who has or receives the link can open it without signing in. A free Public page may show up in search results and in Convika's gallery.
  • Only people with the password (Pro): Locks the report behind Convika's password screen so visitors and search engines see nothing without the password; teammates enter it once and stay unlocked in that browser for 7 days.
  • When not to publish at all: Convika does not offer company sign-in (SSO or domain restrictions) or live data connections, so if your company forbids putting internal reports on outside hosts, keep the file inside your approved internal tools.

When your report needs a real lock, put a password on the page.

Will the charts and scripts in my HTML report work?

Yes. On every plan, including Free, your page's JavaScript runs as expected, along with scripts and stylesheets loaded from any https:// CDN like Chart.js, Plotly, or Tailwind. Images display whether they are embedded directly in the file or loaded from an https:// URL, and videos play from https:// links or through iframe embeds like YouTube and TikTok.

Because Convika takes a single HTML file up to 2 MB rather than a folder or ZIP, everything your report needs must be in that one file or loaded from a CDN. Published pages cannot fetch live data from external APIs or other websites, so your agent should bake the dataset directly into the HTML. Also, a published Convika page cannot be embedded inside an iframe on another site—share the link in Slack instead, and it will open cleanly in its own tab.

When your agent generates next week's report.html, you can update the page so the link pinned in your Slack channel keeps working. On the page's screen, under New version from a file, drop the new file and click Upload as a new version ("It becomes the next version of this page, at the same link."). Open the preview to check it, then click Publish v2 at the same link.

Until you publish the new version, visitors opening the link from Slack keep seeing the live version. The Free plan keeps 10 versions of a page, and Pro keeps 50.

See whether the team opened the report

Once you share the link in Slack, the page's analytics show pageviews, visitors, and clicks on links or buttons inside the report by day, along with top referrers, countries, and devices. Filter bots is on by default, so link-preview fetchers (whose user agent contains "bot", "facebookexternalhit", or "whatsapp") aren't counted when Slack builds the message preview—the numbers reflect actual opens, not the paste itself.

Convika counts visits rather than individuals, so it never shows a visitor's name, email, or account. If you post the report in more than one place, add a query tag such as ?utm_source=slack or a channel tag like ?utm_source=eng-weekly to see visits broken down in the Campaigns (UTM) card (untagged opens appear as Not tagged). The Free plan shows up to 90 days of history, and Pro adds 180 days, 365 days, and all time.

Getting a single-file HTML report from Claude Code or Codex

In Claude Code, running /insights generates an HTML report analyzing your recent sessions on your machine, writing the latest copy to ~/.claude/usage-data/report.html alongside a timestamped copy of each run. When you ask Claude Code or Codex to build any custom HTML report for Convika, ask for one self-contained HTML file with the CSS, JavaScript, and data built directly into the file:

Write this report as a single self-contained report.html: put the data inline as JSON, load Chart.js from a CDN, no other files and no API calls.

Convika takes a single HTML file rather than a folder or a ZIP, and a published page cannot fetch data from external websites, APIs, databases, or local files (fetch only reaches the page's own address). Putting your data inline ensures your charts render when teammates open the link from Slack. On every plan, Free included, the page's scripts run and scripts and stylesheets from any https:// CDN (such as Chart.js, Plotly, or Tailwind) load normally, along with built-in or https:// images and https:// or iframe-embedded videos.

Frequently asked questions

Can Slack preview HTML files?

Slack's help says Slack includes a preview of a file as part of your message, and gives conditions for images and Microsoft Office files over 50 MB, without saying how an HTML file is shown. If you share the HTML as a code snippet on desktop, Slack lets others download it, view a raw version, or leave comments. To have teammates open your HTML file as a rendered web page from Slack, publish it to a link and share that link in your message.

How do I share an HTML file in Slack so it opens in a browser?

Drop your .html or .htm file (up to 2 MB) into the upload box and click Get my preview link. For a quick look with no account and no email, that preview link works for 3 minutes with scripts and forms turned off. To share an interactive report at its own address, click Keep this page — free, no card to sign up, click Publish, and copy the yourpage.convika.page link into Slack.

How do I share an HTML report with my team without making it public?

When you publish on Convika, choose Private link (Pro or pass), which tells search engines to keep the page out of their results (noindex), though anyone with the link or anyone it is forwarded to can still open it; a free Public page may show up in search results and in Convika's gallery. To lock the report, choose Only people with the password so anyone without the password sees only the password screen. Convika has no company sign-in (no SSO or domain restriction), so if your company doesn't allow reports on an outside host at all, keep the report inside the tools your company approves.

Will the charts in my HTML report work after I share it?

If a single .html file is downloaded from a chat, our tests showed it loses any separate CSS, images, and scripts on a computer, and the iPhone Files app preview runs no JavaScript and loads no https:// images or Google Fonts. When you sign up and publish the file on Convika, your page's scripts and https:// CDNs like Chart.js, Plotly, and Tailwind run on every plan, Free included. Because Convika takes one HTML file (not a folder or a ZIP) and fetch reaches only the page's own address, keep your report's data inside the file rather than fetching it from other websites or APIs.

Can I password protect an HTML report?

Yes—when you click Publish on Convika, choose Only people with the password so people and search engines see only Convika's password screen until they enter it. Teammates type the password once and their browser stays unlocked for 7 days. Page passwords are a Pro feature ($12 a month).

No—a link that isn't in Google is not a lock. Convika's private link (Pro or pass) adds noindex so search engines keep the page out of their results, but anyone who has the link can still open it without a password or account, including anyone they forward it to. To actually lock the report, use Only people with the password, and remember to follow your company's own rules if it doesn't allow reports on an outside host.

On the page's screen in Convika, go to New version from a file, drop your updated HTML file, and click Upload as a new version. Open the preview to check your changes, then click Publish v2 at the same link. Until you publish the new version, teammates opening the link in Slack keep seeing the live version at the exact same address.

Sources

Turn report.html into a link your team can open from Slack

Publish your HTML report with working charts, and keep it out of search results with a private link (Pro or pass).

Sign up free to upload

Free plan: no credit card, 1 published page, 10,000 views/month.