A TikTok embed generator turns a link to a public TikTok video into code that plays it on your website. This one builds TikTok’s newer light player, where you choose autoplay, loop, controls, the caption and the sound name, or TikTok’s official card, the same frame TikTok’s own Embed button gives you. It takes up to 10 videos at once and can put them side by side.
How to get the embed code for a TikTok video
- Copy the video link. In the TikTok app, tap Share on the video and choose Copy link. On a computer, copy the address from the browser bar.
- Open short links first. If the link starts with
vm.tiktok.comorvt.tiktok.com, open it in your browser, then copy the full address. It looks liketiktok.com/@username/video/123…. - Paste it into the generator above. Add more links, one per line, to embed several videos.
- Pick the code type and the player options you want.
- Copy the code and paste it where the video should appear. The buttons under the code show where to paste it in WordPress, Elementor, Wix, Shopify, Squarespace and Webflow.
On a computer, TikTok’s Share menu also has an Embed option. It gives the official card for one video, with no options.
Light player or official card: which to choose
TikTok offers two ways to put a video on a website. Its developer documentation says the older Embed Videos card will be deprecated soon and recommends the Embed Player for new sites.
- Light player (recommended): a single frame with the video. No extra script loads on your page, and you can turn controls, autoplay, loop, the caption and the sound name on or off. It is the best fit for product pages, landing pages and anywhere the video is part of your design.
- Official card, fast-loading: the full TikTok card with the account, caption, sound and a link to TikTok. TikTok’s script loads only when a visitor scrolls near the video, so your page still opens quickly.
- Official card: the same card, with TikTok’s script loading as soon as the page opens. Use it if the video sits at the very top of the page.
Player options explained
- Controls and progress bar: turn them off for a clean, background-style video. Visitors can still tap to play and pause.
- Autoplay: starts the video when the player loads. Most browsers only autoplay video without sound, so it may start muted or wait for a tap.
- Loop: plays the video again when it ends. Good for short product clips.
- Caption and sound name: show or hide the video’s description and the music it uses.
- Related videos from this creator only: after the video, suggestions come from the same account instead of other creators.
What you can and can’t embed
Any public TikTok video or photo post can be embedded. Private videos, videos the creator has blocked from sharing, and deleted videos will not play. A whole profile, a hashtag or a live stream can’t be embedded with a single video code. To show several videos, paste up to 10 links and choose the grid layout; the videos sit side by side on wide screens and stack on phones.
How to embed a TikTok video in WordPress
In the block editor, add a Custom HTML block and paste the code. In the classic editor, switch to the Text tab before pasting. In Elementor, drag an HTML widget into the section. If you choose the official card and nothing appears, a security or optimization plugin may be removing TikTok’s script; switch to the light player, which needs no script at all.
TikTok embed not working? Common fixes
- The space is blank: the video may be private, deleted or blocked from sharing. Open the link in a private browser window to check it plays for everyone.
- “Short link” message: open the vm. or vt. link in your browser and copy the full address with
/video/in it. - Only a text link shows: TikTok’s script didn’t run. Check that your page builder keeps the
<script>part, or use the light player. - The video is too small or too wide: change the max width. The player and the card both shrink on small screens.
- Autoplay doesn’t start: the browser is blocking it. That is the browser’s choice, not a fault in the code.
Does embedding a TikTok help the video?
An embed puts your video in front of people who visit your website, and the official card links them straight to your TikTok profile. That can bring new followers from your own audience. It works alongside your posting plan on TikTok, not instead of it. For help growing the account itself, see our TikTok services.
Is the code safe to use on any website?
Yes. The light player is a standard frame served by TikTok, and the official card uses TikTok’s own script. The generator runs in your browser, and nothing you paste is sent to us or stored. The optional “Created with TheSMMExpert” line under the video is a plain link, and you can turn it off before you copy the code.
Why use this generator instead of TikTok's own Embed button or ChatGPT?
TikTok's Embed option works one video at a time, only on a computer, and gives the heavy card that loads TikTok's script as soon as the page opens. This generator takes up to 10 videos, builds TikTok's newer light player with options like autoplay, loop and hidden controls, and can lay videos out in a grid. If you prefer the card, it can load the script only when the video scrolls into view.
A chatbot can write TikTok embed code, but it can't check your link, and it often uses the older embed format TikTok no longer recommends. Here you see the real video playing in the preview before you copy.
Frequently asked questions
Why not just use the Embed option on TikTok?
You can, on a computer. This generator also works with a phone link, handles several videos and a grid, offers TikTok's light player with more options, and shows a preview first.
How do I get the embed code for a TikTok video?
Open the video, tap Share and choose Copy link, then paste the link here and copy the code. On a computer, TikTok's Share menu also has an Embed option for the official card.
Why isn't my TikTok embed showing?
The video may be private, deleted or not allowed to be shared, or your page builder removed the script of the official card. The light player needs no script, so try it if the card stays blank.
Can I embed a TikTok profile or a hashtag?
Not with one video code. Here you can put up to 10 videos side by side in a grid. A feed that updates itself needs a feed widget.
Does an embedded TikTok play automatically?
Only if you turn on autoplay in the light player. Most browsers only autoplay video without sound, so it may start muted or wait for a tap.
Is my link saved?
No. The tool runs in your browser. Nothing you paste is sent to us or stored.