TikTok Embed Code Generator
Free tool for adding TikTok video responsive iframe to your website.
Customization options
- TikTok URL
- Size settings
- Responsive
- Aspect ratioMobile [9:16]
- Width (in px)
- Height (in px)
- Playback settings
- Autoplay video
- Loop video
- Mute
- Appearance settings
- Show controls
- Show music info
- Show description
- Closed caption
- Related videos
TikTok embed code
Supported TikTok embed generator options
Explanation of all supported TikTok embedding options. Use below options to improve TikTok HTML iframe code embedded on your website.
responsive
The "responsive" option stretches the embedded TikTok video to the full width of a website or HTML container.
aspect ratio
The "aspect ratio" option keeps the shape of the embedded TikTok player. Default is 9:16 (portrait).
width and height
Manual customization of width and height of the embedded TikTok player. Appears only when the responsive option is off.
autoplay video
Automatically start playing the TikTok video when the page loads. Requires mute to be enabled in most browsers.
loop video
Play the TikTok embedded video in a loop
mute
Mute the TikTok video by default
hide controls
Hide all player controls (progress bar, play button, volume) for a cleaner look
show description
Show the video caption/description overlay on the TikTok player
show music info
Show the music attribution overlay on the TikTok player
closed caption
Show the closed caption icon on the TikTok player
related videos
When enabled, recommends videos from all of TikTok. When disabled, only recommends from the same creator.
Supported TikTok URLs
https://www.tiktok.com/@username/video/<video-id>
https://tiktok.com/@username/video/<video-id>