Back to Blog
Guide

Can You Embed HTML or Video in a Slack Canvas? We Tested 8 Links

A Slack canvas cannot embed raw HTML or an iframe. Paste a link and choose Card instead: YouTube played inside the card and Spotify showed its player, while Vimeo and Google Sheets did not. Tested October 29, 2026.

Slack Green Team
October 29, 2026
October 29, 2026
3 min read
Share:
slack canvas
link previews

You cannot embed raw HTML or an iframe in a Slack canvas. When we pasted iframe code into a canvas on October 29, 2026, it stayed as plain text. What a canvas does embed is a link: paste the URL, choose Card in the small "Paste as" menu, and Slack builds a preview card. For YouTube that card played the video inside the canvas, and for Spotify it showed Spotify's own player. Other links gave a title card, an error or a grey placeholder, as the table below shows.

  • Copy the link.
  • Click on an empty line in the canvas and paste.
  • In the Paste as menu that opens next to the link, pick Card. Pick URL to keep a plain link.
  • A Slack canvas with a pasted YouTube link and the Paste as menu open, offering URL and Card

    We pasted eight things into one channel canvas in a Free workspace, in Slack for web, and chose Card each time the menu offered it:

    What we pastedPaste as menuResult in the canvas
    YouTube video linkURL or CardCard with title, channel and thumbnail; the play button loaded YouTube's player in the card
    Spotify track linkURL or CardCard with Spotify's embedded player
    Web page (one of our tool pages)URL or CardCard with page title, description and image
    GitHub repositoryURL or CardCard with the repo title and description
    Vimeo video linkURL or Card"Unable to create preview."
    Google Sheets linkURL or CardGrey placeholder card, and a note "Only visible to you" asking to install the Google Drive app
    iframe code as plain textNo menuThe code as text; only the src URL became a link
    iframe code as HTML (from a web page)No menuNothing added

    So "embed" in a canvas means a link card. A card is a preview of the page, not the live page: a dashboard card will not refresh its numbers, and you cannot click around inside a web page from the canvas.

    YouTube plays inside the card

    A YouTube card in a Slack canvas playing the video inline, with the title Me at the zoo and the YouTube label above the player

    The card first showed a thumbnail with two buttons: play and open in a new tab. Play swapped the thumbnail for YouTube's embedded player inside the card, and the card stayed after we reloaded the canvas. That is the closest thing to a video embed a canvas has.

    Vimeo, Google Sheets and GitHub

    Three link cards in a Slack canvas: Vimeo with Unable to create preview, an empty grey Google Sheets placeholder, and a GitHub card with the bolt-js repo title and description

    The Vimeo link was a public video, and the card still said "Unable to create preview." The Google Sheets link was a public sample sheet; the card stayed grey because our workspace has no Google Drive app, which is what the "Only visible to you" note offered to install. If your workspace has the Google Drive app, expect a file preview instead; we did not install it to check.

    Spotify, a web page and iframe code

    A Spotify card with its embedded player, a web page card with title, description and image, and pasted iframe code shown as plain text in a Slack canvas

    The Spotify card held Spotify's player with a play button; we did not press play. The web page card is the same preview a message shows under a link, built from the page's title, description and image tags (see Slack link previews for how a bot controls them in messages). The iframe line at the bottom is exactly what we pasted. Slack did not run it.

Never appear "away" on Slack again

Cloud-based. No downloads. Works 24/7 even when your laptop is off.

What the insert menu offers instead

Typing / on an empty canvas line opens the insert menu. In our workspace it listed:

  • • Basics: Canvas, Check list, Big heading, Medium heading, Small heading, Paragraph, Table, Divider, Bulleted list, Ordered list, Blockquote, Callout, Code, Date, Reminder
  • • Media: Record video clip, Record audio clip, Image, File
  • • Slack: Profile, Channel
  • • Layout: 2 columns, 3 columns, Code block
  • There is no Embed, HTML or Web page item. For a video that is not on YouTube, upload the file with File or record a clip with Record video clip. For a chart, paste a screenshot with Image and put the live link under it. The other blocks are in Slack canvas formatting, and finished layouts that use them are in Slack canvas examples.

    FAQ

    Can I embed a Jira or Looker dashboard in a Slack canvas?

    Not as a live view. Paste the dashboard link and choose Card; you get a preview card at best. A service that needs its own Slack app may show only a grey placeholder, as Google Sheets did in our test.

    Do canvas embeds work on the mobile app?

    Our canvas vs lists comparison found that the mobile app edits canvas text but cannot add embeds. Add the cards from a computer.

    Can a Slack app add HTML to a canvas through the API?

    No HTML. The canvas API takes Markdown, as our Slack canvas API guide shows, and a bot reads a canvas back as HTML.

    Always Active

    Stop Jiggling Your Mouse.

    Join hundreds of remote workers who never worry about their Slack status. Set it up once, stay green forever.

    Related Articles

    Guide

    Slack General Channel: What You Can and Cannot Change (Tested)

    Slack's general channel (#all-<workspace> in new workspaces) can be renamed and limited to admins, but not archived, deleted, left or made private. We tried each as the workspace owner on October 29, 2026.

    Slack Green Team
    Guide

    Slack Canvas Examples: 3 Canvases to Copy, Plus Slack's 18 Templates

    Three Slack canvas examples you can paste in as Markdown (weekly update, meeting notes, onboarding checklist), the 18 templates Slack offers on the Free plan, and what broke when we pasted each one on October 29, 2026.

    Slack Green Team
    Guide

    Slack Canvas Shortcuts: Keyboard Keys, the / Menu and Dates

    Slack canvases have their own keyboard shortcuts: Cmd + Option + 1 to 3 for headings, Cmd + Shift + 7, 8 and 9 for lists and checklists, and / for an insert menu that adds dates and reminders. We pressed every formatting shortcut in a real canvas on October 28, 2026.

    Slack Green Team