TikTok embed code generator
A TikTok embed is a short block of HTML that shows a TikTok video, profile, hashtag or sound on your website inside TikTok's own player. Paste a TikTok URL below to get the blockquote markup and embed.js script tag, with a live preview for videos and profiles. The tool is free, needs no signup and checks the URL in your browser.

Generate an embed
Paste the link to a TikTok video, profile, hashtag or sound. The tool checks the URL against the type you selected and builds the markup TikTok's embed.js expects.
Which type of embed would you like to create?
Example:
How do I embed a TikTok video on my website?
Embedding a TikTok takes four steps: copy the URL, generate the code, paste it into your page’s HTML and publish. TikTok’s script does the rendering, so no plugin or account is involved.
Copy the TikTok URL
Open the video, profile, hashtag or sound on tiktok.com and copy the address from the browser bar. Short links from the app must be opened first so the full URL appears.
Pick the embed type and paste
Select Video, Profile, Hashtag or Sound above, paste the URL and choose Get code. The tool validates the URL in your browser and builds the markup TikTok's script expects.
Copy the code into your HTML
Paste the blockquote and script tag where the embed should appear: a blog post, a product page or a CMS HTML block. The script tag can sit once per page, even with several embeds.
Publish and check the live page
On load, TikTok's embed.js replaces the blockquote with the player iframe. If the spot stays empty, confirm the post is public, embedding is allowed and a video URL contains /video/ and a numeric ID.
TikTok embed questions
Accepted URL formats, how the code renders, sizing, and what happens when a post is private or removed.
Is the TikTok embed code generator free?
Yes. Tokturbo's TikTok embed code generator is free to use, needs no account and has no usage limit. The URL you paste is checked in your browser and is not sent to Tokturbo; the preview itself loads from TikTok. A Tokturbo account is only needed to order the paid services.
Which TikTok URLs can I embed?
The generator accepts four kinds of TikTok URL: a video (tiktok.com/@user/video/ID), a profile (tiktok.com/@user), a hashtag (tiktok.com/tag/name) and a sound (tiktok.com/music/name-ID). Short links from vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ are not accepted. Open a short link in a browser first, then copy the full address it opens.
How does TikTok embed code work?
TikTok embed code has two parts: a blockquote with the class tiktok-embed and a data attribute naming the video, creator, hashtag or sound, and a script tag that loads embed.js from tiktok.com. When the page loads, embed.js finds each blockquote and replaces it with an iframe of TikTok's player. The markup follows the format TikTok uses for its own embed code.
Will an embedded TikTok video play on my website?
Yes, as long as the post is public and the creator allows embedding. The player loads from tiktok.com with TikTok's own controls, the same player shown in this tool's preview. If the creator deletes the video, makes it private or turns off embedding, or the video is unavailable in a viewer's region, TikTok shows its standard unavailable message in that spot.
Can I change the size of a TikTok embed?
Yes, the width is adjustable. The generated blockquote sets max-width 605px and min-width 325px for videos, and max-width 780px and min-width 288px for profiles, hashtags and sounds. Edit those inline values to fit your layout and TikTok's player scales to the new width. The height is set by TikTok's player, not by your CSS.
Why is my TikTok embed preview blank?
A blank preview usually means TikTok's player could not load the post. Check that the post is public, has not been removed and is available in your region. Browser extensions that block third-party scripts can also stop TikTok's embed.js, so try again with them paused. Hashtag and sound embeds show Code ready instead of a preview, because this tool previews only videos and profiles.

