
TikTok Embed Code Generator: Free, Official Player
Paste a public TikTok video link. Get TikTok's official embed code and a lightweight iframe player, with a live preview, ready to paste into your website, blog or landing page.
Example data checked 16 October 2026 · How we check
Get embed code in three steps.
- 01
Paste a video link
Any public TikTok link: from the app, Share then Copy link.
- 02
Check the preview
Play it before you copy.
- 03
Copy the code
Paste the embed block or the iframe into your page.
TikTok’s official embed code, an iframe and a live preview
Paste a public video link. You get TikTok’s own embed code, which loads the full player with the caption and profile link, and a lightweight iframe that loads only the player. Check the live preview, then copy the one that fits your site.
The preview uses a public Scrub Daddy video (9,277 views on 16 October 2026). The video stays hosted on TikTok, and the player links back to the creator.
The two embed codes, as the tool writes them
Both formats use TikTok’s own player. Pick the official block for a full post with caption and profile link, or the iframe for a fixed-size player with no script. These are samples with a placeholder video; the tool fills in your video, creator and caption.
<blockquote class="tiktok-embed" cite="https://www.tiktok.com/@creator/video/1234567890123456789" data-video-id="1234567890123456789" style="max-width:605px;min-width:325px;"><section><a target="_blank" href="https://www.tiktok.com/@creator?refer=embed">@creator</a> Caption text</section></blockquote>
<script async src="https://www.tiktok.com/embed.js"></script><iframe src="https://www.tiktok.com/player/v1/1234567890123456789?rel=0" width="325" height="580" allow="fullscreen" title="TikTok video by @creator" style="border:0"></iframe>Width: the official block is set to a 605 px maximum and a 325 px minimum, so it scales down to fit a phone. The iframe is a fixed 325 by 580 px; change the width and height in the code if your layout needs another size.
How to embed a TikTok video in WordPress, Shopify, Wix and Squarespace
WordPress
In the block editor, add a Custom HTML block and paste the standard embed. If your host strips scripts, paste the iframe instead.
Shopify
In a page or blog post, press the <> button to show the HTML and paste the code. In the theme editor, add a Custom Liquid section or block and paste it there.
Wix
Add an Embed Code element, choose the HTML option and paste the iframe version, then drag the box to the size you want.
Squarespace
Add a Code block, set it to HTML and paste the standard embed or the iframe.
Questions about embedding TikTok videos
How do I embed a TikTok video on my website?
Paste the video link here and copy the code. The standard embed is TikTok's own blockquote plus its embed script, which works in most site builders and plain HTML. If your editor strips scripts, use the iframe version instead; it loads only the player.
Can I embed someone else's TikTok on my site?
TikTok's embed feature is built for sharing public videos, and the player links back to the creator. Brands should still get permission before using a creator's video in an ad or on a sales page, and private videos can't be embedded.
Why is my TikTok embed not showing?
Usually the video is private, deleted or limited, or your site removed TikTok's embed script. Check that the video plays on tiktok.com when you're logged out, then try the iframe code, which needs no script.
Research with TokConnect · Public TikTok data. Source availability and counts can change.
