Skip to main content

TikTok Embed

Generate TikTok video and profile embed code

Generate TikTok embed code for videos, playlists, and profiles. Customize player size, autoplay, and sound for TikTok content on any website.


How to generate a TikTok embed?

Generating a TikTok embed is quick: Find the TikTok video you want to embed and tap the Share button (arrow icon), then select 'Embed' — this copies the embed URL. Alternatively, copy the video URL from your browser (https://www.tiktok.com/@USER/video/VIDEO_ID). Paste the URL into the input box on our tool. Choose your customization options: set player width (minimum 325px), enable autoplay to start playback automatically, toggle sound (muted autoplay works best across browsers), and decide whether to show the TikTok watermark. Click Generate to produce the embed code. The HTML appears in the output box — copy it and paste directly into your webpage.

Related Tools

You May Also Need

TikTok embed architecture and SDK requirements

TikTok's embedding system uses a blockquote-based approach combined with their JavaScript SDK. When you paste a TikTok URL, our tool generates a <blockquote class='tiktok-embed'> element that the TikTok SDK transforms into an interactive player. The SDK loads from embed.tiktok.com/app/embeder.js and handles video fetching, player rendering, and engagement tracking. Unlike YouTube's simple iframe model, TikTok's embed requires both the blockquote markup and the async SDK script. The SDK makes network requests to tiktok.com and v1-web.tiktok.com to fetch video metadata, thumbnails, and playback URLs. TikTok embeds automatically detect video orientation — portrait videos (9:16) get a taller player while landscape videos (16:9) get a wider player. The embed includes the creator's username, video description, music attribution, and engagement buttons (like, comment, share) within the player frame.

TikTok embed performance and mobile considerations

TikTok embeds load approximately 150KB of JavaScript and make 5-8 network requests to TikTok's infrastructure. On mobile devices, the embed player adapts to touch interactions with swipe gestures for navigation between related videos. TikTok embeds include automatic video looping by default, which keeps viewers engaged but increases data usage. For pages with multiple TikTok embeds, the SDK loads only once and serves all embeds on the page — this is more efficient than loading separate scripts for each embed. However, each embed still triggers individual video fetch requests. Implement lazy loading for TikTok embeds below the fold to improve initial page load performance. TikTok embeds respect the device's reduced motion preference setting, disabling animations for users who prefer it.

Frequently Asked Questions (FAQs)

Can I embed TikTok live streams?

TikTok live streams have limited embed support. Some live streams can be embedded during broadcasting, but support varies by region and account type. Check the specific stream's embed availability.

Why does my TikTok embed show 'Video Not Found'?

The video may have been deleted, made private, or removed due to copyright claims. TikTok also restricts embedding for certain content flagged by their moderation system.

Can I autoplay TikTok embeds with sound?

No, browsers block autoplay with sound. Combine autoplay=true with muted=true for reliable playback. Users must manually unmute to hear the video audio.

Can I remove the TikTok watermark from embeds?

No, the TikTok watermark and branding are mandatory. Removing them violates TikTok's Terms of Service. The embed always includes creator attribution and a link back to TikTok.

How do I make TikTok embeds responsive?

Wrap the embed in a container with max-width: 100%. TikTok embeds adapt to container width while maintaining aspect ratio. Use CSS to ensure the embed doesn't overflow on narrow screens.

Can I embed a TikTok profile page?

TikTok primarily supports individual video embeds. Profile embeds are not officially supported through the embed API. Use individual video embeds to showcase specific content from a profile.

Recently Used Tools