How to embed an iframe in Substack

Substack does not support custom HTML in the post editor, so you cannot paste iframe code. Paste a link from a supported service, such as YouTube, Spotify, or TikTok, and the embed shows in the draft.

2 min read · Updated

Raw iframe code
No
Embeds from a link
Supported services only
In emails
A static image with a link

Steps

  1. Step 1: Copy the URL of the media

    Use a link from a supported service, such as YouTube, Spotify, or TikTok.

  2. Step 2: Paste the URL into the draft post

    The embed shows in the draft.

  3. Step 3: Select More for other embeds

    In the post editor, select More. Choose an item such as Financial chart from the drop-down menu.

Check your URL first

If the page blocks framing, no embed on another site can show it.

Limits

  • The post editor does not support custom CSS or HTML. You cannot paste raw iframe code.

  • A code block shows code as a snippet for readers to copy. It does not run the code.

  • Substack supports a set list of embeds, such as YouTube, Spotify, TikTok, Datawrapper charts, Polymarket odds, and LaTeX equations.

  • Email posts show a static image that links to the YouTube, Spotify, or TikTok content.

  • On Safari, TikTok videos open in a new tab, not in the post.

Troubleshooting

Signed out in the embed

The browser blocks the cookies of the embedded site. Open the content in a new tab to sign in.

Login doesn't stick
Sources

Know before you embed.

Free, no sign-up, nothing stored. Paste a URL and get a verdict, a live preview, and the fix.