Twitch Embed Builder
Generate the embed code (iframe) for a Twitch player from the channel name and your site domain. Add live streams and VODs to your page in seconds.
Twitch iframe with the parent parameter right
You copy the Twitch player URL into an iframe and get a black rectangle telling you the embed was refused. Nine times out of ten the culprit is the parent parameter, which Twitch now requires and which has to match the exact domain serving your page. This builder writes the iframe with that parameter already in place, so the first attempt is not a debugging session.
Give it a channel, a parent domain and the dimensions, and you get an iframe pointing at player.twitch.tv with channel and parent in the query string. The domain goes in bare: no https://, no trailing slash, just the host, like example.com or localhost. The channel name is filtered down to letters, digits and underscores. Width and height land as attributes, so keep them 16:9 unless you enjoy letterboxing.
The generated code always targets a live channel. To embed a VOD, swap channel=name for video=v123456789 in the copied URL, since the form has no field for it. If your site answers on both the apex and www, or you also run a staging host, repeat the parent parameter once per host. Twitch also refuses to load the embed on pages served over plain HTTP, localhost aside. It all builds in the browser.
Frequently asked questions
Why is the player black or showing an error?
Can I embed a VOD or a clip?
What if the site runs on two domains?
Related Tools
Google Maps Embed Builder
Builds a simple <iframe> to embed Google Maps from an address or coordinates.
YouTube Embed Builder
Builds a YouTube embed <iframe> from the video ID with customizable width and height.
Iframe Builder
Builds a generic <iframe> with src, width, height and optional sandbox/allow attributes.
OpenStreetMap Embed Builder
Builds an OpenStreetMap <iframe> from a bounding box (lat/lng) and optional marker.
HTML Video Embed Builder
Builds an HTML5 <video> tag with source, controls, poster, autoplay and loop options.
Tel Link Builder
Build clickable tel: links from a phone number in the international E.164 format. Great for call buttons on mobile sites, email signatures and contact pages.