Twitch Embed Code Generator Updated 2026
Build the official Twitch embed code for a live stream, chat, VOD or clip. Set the parent domain, size, autoplay and mute, then copy the iframe or JavaScript snippet.
Client-side only · No sign-up · Official Twitch embed format · Checked 28 Nov 2026
Twitch embed code builder
yourdomain.com. Replace it with your real domain before you publish. Iframe embed code
<iframe
src="https://player.twitch.tv/?channel=twitchdev&parent=yourdomain.com"
height="480"
width="854"
allowfullscreen>
</iframe>JavaScript embed code
<div id="twitch-embed"></div>
<script src="https://embed.twitch.tv/embed/v1.js"></script>
<script type="text/javascript">
new Twitch.Embed("twitch-embed", {
width: 854,
height: 480,
channel: "twitchdev",
layout: "video",
theme: "dark",
parent: ["yourdomain.com"]
});
</script>Предпросмотр
The preview loads the player from Twitch with this page as the parent. It only starts when you click.
How Twitch embed code works
Twitch embeds come in two forms. The iframe is plain HTML: one tag that points at player.twitch.tv for video, clips.twitch.tv/embed for clips or www.twitch.tv/embed/CHANNEL/chat for chat. The JavaScript embed loads Twitch's script and builds the player for you, with an option for a player plus chat layout. Both do the same job; the iframe is simpler and works in any page builder that accepts HTML.
The parent parameter explained
Every Twitch embed needs a parent value. It is the domain of the page that shows the embed. Twitch compares it with the real address of the page and will not play the stream on a domain that is not listed. Write the hostname only, for example example.com: no https://, no path and no port. If the same page opens on example.com and www.example.com, list both, one parent= per domain in an iframe, or several strings in the JavaScript array. For local testing, use localhost.
Autoplay, muted and size
Twitch plays embeds automatically by default. Untick Autoplay to add autoplay=false, and tick Start muted to add muted=true. Autoplay only works when the player is big enough and visible on screen, and phones need a tap before video starts. Twitch lists 400×300 pixels as the minimum for embedded video, so keep the player at or above that. Width and height accept pixels or a percentage.
Embedding chat, VODs and clips
Chat has its own iframe and does not need the video. A VOD uses the video ID, which is the number in a twitch.tv/videos/… link; the generator adds the v prefix Twitch expects. A clip uses its slug, the last part of the clip link. Stream plus chat puts both frames in one block, or uses the video-with-chat layout in the JavaScript version.
More free tools for your channel are listed on the free Twitch tools page. If the stream you embed is still small, the Twitch growth hub explains how channels build an audience.
Sources, checked 28 Nov 2026: Twitch docs: video and clips · chat embed · embed everything. The dark chat option (darkpopout) is not listed in those docs; the theme option of the JavaScript embed is.
?embed=1 по этому URL — чистый виджет для iframe.5 шага · ~1 минута
Каждый шаг — одно действие: без настроек и регистрации. Результаты считаются на стороне клиента; ничего не загружается.
Choose what to embed
Live stream, chat only, stream plus chat, a past broadcast (VOD) or a clip.
Enter the channel, VOD or clip
Type a channel name or paste a twitch.tv link. For a VOD or clip paste the link or the ID.
Add your parent domain
Type the domain of the site where the embed will live, like example.com. Add every domain and subdomain that serves the page, separated by commas.
Set size, autoplay and mute
Pick a width and height (at least 400×300 for video), then choose autoplay and muted.
Copy the code
Copy the iframe, or the JavaScript version for live streams, and paste it into your page HTML.
Частые вопросы.
Результаты калькулятора — оценочные. В каждом вопросе ниже указаны исходные данные и заложенные допущения.
How do I embed a Twitch stream on my website?
What is the parent parameter in a Twitch embed?
Why does my Twitch embed show a blank player or a parent error?
Can I embed Twitch chat without the video?
How do I stop the stream from playing automatically?
What is the smallest size a Twitch embed can be?
Does this tool send my channel or domain anywhere?
Закончили с инструментом? Продвиньте канал.
Streamrise выдаёт реальные минимумы зрителей на Twitch и Kick — с резидентными IP, гео-таргетингом и присутствием в чате. Та же инженерная строгость, что вы видели в калькуляторе, только на платной стороне. Пароль не запрашиваем. Отменить можно в любой момент.