Limited timeGSV20— 20% off applied automatically at checkout.View pricing →

100% Free

Twitch Embed Code Generator

Put your Twitch stream on any website. Enter your channel and domain, pick player, chat, or both, and copy ready-to-paste iframe code — with the parent parameter handled for you.

What to embed

Embed code

<iframe
  src="https://player.twitch.tv/?channel=yourchannel&parent=yourdomain.com&autoplay=false&muted=true"
  height="360"
  width="640"
  allowfullscreen>
</iframe>

The parent must be the exact domain where the embed is hosted. Add one parent per domain (including localhost for testing).

Why embed your Twitch stream on your own site

An embed keeps viewers on a page you control — your portfolio, a landing page, a Discord-linked hub, or a fan site. It is the difference between sending traffic away to twitch.tv and hosting the live experience yourself, where your links, schedule, and calls to action sit right next to the player. For anyone building a brand around their channel, an on-site embed is the centerpiece.

The parent parameter, explained

Twitch requires every embed to declare a parent parameter: the exact domain where the iframe is hosted. Leave it out and the player shows an error instead of your stream. This generator inserts it for you — just type the domain (for example example.com). If you embed on more than one domain, add a parent entry for each, and include localhost while you are testing locally.

Player, chat, or both

The player iframe shows your live video (or a offline screen when you are not streaming). The chat iframe shows your live Twitch chat and lets logged-in visitors talk without leaving your site. Embedding both side by side recreates the full Twitch experience on your own page. Autoplay is available but browsers require the player to be muted for autoplay to work — the generator sets that automatically.

An embed only matters if the stream looks alive

A stream embedded on your site with zero viewers sends the same signal an empty Twitch page does. Pairing the embed with a healthy concurrent count keeps it looking active for every visitor who lands on your page — the same discovery logic that drives your Twitch category ranking works on your own site too.

Twitch Embed Code Generator — frequently asked questions

Want the numbers to grow?

GetStreamViews delivers concurrent viewers on Twitch and Kick when you go live — more discovery, more subs, bigger numbers in this calculator.

Start Free Trial

More free tools