TikTok Embed Code Generator
Paste a TikTok URL → get the official TikTok embed iframe code ready to paste into your blog post, article, WordPress site, Medium article, or newsletter. This uses TikTok's own embed mechanism (TOS-compliant, attribution-preserving, no scraping). Free, no signup.
What this generator does
It takes the TikTok URL you paste and constructs the official <blockquote class="tiktok-embed"> markup that TikTok documents in their embed API documentation. The output is two things: (1) the blockquote markup with the video ID and creator handle, and (2) the TikTok embed.js script that activates the player. Paste both into your blog post HTML and the video renders inline.
Where to paste the code
- WordPress (Gutenberg): add a "Custom HTML" block, paste the code inside.
- WordPress (Classic editor): switch to "Text" tab, paste the code at the position you want the video.
- Medium: Medium auto-embeds TikTok URLs — just paste the URL on its own line, press Enter. (Our generator's full code is useful when you need explicit control.)
- Substack: add an "HTML block", paste the code.
- Ghost: add an "HTML card", paste the code.
- Webflow / Squarespace / Wix: use the "Embed" or "Custom HTML" element, paste the code.
- Static HTML (your own site): paste anywhere in body.
- Notion: Notion auto-embeds TikTok URLs (paste URL → "Create embed").
Why use embed vs just linking
Three reasons articles get better engagement with embedded TikTok vs plain links:
- Time on page — visitors stay on your article while watching, improving your SEO signals (dwell time, bounce rate).
- Visual context — readers see the video right next to your commentary, instead of opening a new tab.
- Attribution preserved — TikTok's player displays creator handle prominently, so you're not at risk of appearing to take credit.
Embed vs download — when to use which
| Use case | Tool | Why |
|---|---|---|
| Blog article quoting/discussing a TikTok | Embed generator (here) | Reader stays on your page, attribution automatic |
| Save TikTok to your device offline | Homepage downloader | MP4 file you own; works without internet |
| Permanent archive (creator might delete) | Download | Embed breaks if video deleted; download survives |
| Re-edit for own content (Reels, Shorts) | Download → CapCut | Embed can't be edited; need MP4 file |
| Newsletter (email) | Both — embed code for web version, MP4 link for email | Most email clients don't render iframe; fallback to image + link |
Limitations of TikTok embeds
- Only public videos work. Private/friends-only/deleted/region-blocked: embed will fail to load.
- Creator can delete the video. Your embed will break if they do. For permanent archive, download a copy.
- TikTok player loads scripts. Page weight increases ~50KB for the embed.js script (shared across all TikTok embeds on a page).
- Cookie/tracking implications. TikTok's player sets cookies and tracks views per their analytics. If your site has cookie consent requirements (EU GDPR), the embed is third-party content that may need user consent.
- Player styling fixed. You can't customize the TikTok player's look beyond what TikTok exposes (controls are theirs).
Legal & etika
TikTok provides the embed mechanism specifically for external sites to display TikTok content with attribution. Using embeds is TOS-compliant and respects creator rights (player shows handle, click-through goes to TikTok). This is genuinely the cleanest way to feature TikTok content in your blog. For commercial reuse beyond simple embedding (using video in a paid course, marketing material), get the creator's explicit permission. See legal framework for the full picture.