TikTok Embed Code Generator 2026 | WordPress Embed Tool | OmniCalculator

Free TikTok embed code generator. Paste any TikTok video URL and get clean, responsive embed code for WordPress, blogs, and websites. Copy and paste ready.

๐Ÿ“น TikTok Embed Code Generator

Generate Clean Embed Code for WordPress & Blogs

๐Ÿ”— URL to Code
๐Ÿ“‹ Copy Ready
โšก Responsive
โœจ Clean Output

Paste TikTok URL โ†’ Get embed code โ†’ Paste in WordPress

TikTok Embed Code Generator

๐Ÿ“น Generate Embed Code
Please enter a valid TikTok video URL

Supports: tiktok.com/@username/video/ID, vm.tiktok.com/XXXX, or vt.tiktok.com/XXXX

Embed Options Explained

OptionDescriptionDefault
Responsive WidthEmbed scales to container widthOn
Hide CaptionHides the video caption textOff
Max WidthMaximum width of the embed325px
AlignmentLeft, center, or right alignmentCenter

Code Formats

Full Code

Complete embed with blockquote and TikTok script. Use for first embed on page.

Blockquote Only

Just the blockquote element. Use when script is already loaded.

Shortcode

WordPress shortcode format (if using TikTok Embed plugin).

Embed Code Structure

โš ๏ธ Important: TikTok embeds require JavaScript. The TikTok embed script should only be loaded once per page, even if you have multiple videos.

How to Embed TikTok Videos

  1. Copy the TikTok video URL โ€” From browser address bar or Share button.
  2. Paste the URL above โ€” Our tool extracts the video ID automatically.
  3. Customize options โ€” Set width, alignment, and other preferences.
  4. Copy the embed code โ€” Click the copy button to get the code.
  5. Paste in WordPress โ€” Add HTML block in WordPress and paste the code.

WordPress Specific Instructions

EditorHow to Add
Gutenberg (Block Editor)Add "Custom HTML" block โ†’ Paste code
Classic EditorSwitch to "Text" tab โ†’ Paste code
ElementorAdd "HTML" widget โ†’ Paste code
DiviAdd "Code" module โ†’ Paste code

Official TikTok Resources

Frequently Asked Questions

Why isn't my TikTok embed showing?+

Common reasons: 1) JavaScript is disabled, 2) TikTok script not loading (ad blockers), 3) Video was deleted or made private, 4) Code pasted in wrong editor mode. Make sure you're using the HTML/Text editor, not Visual.

Can I embed any TikTok video?+

You can embed public videos only. Private videos or videos from private accounts cannot be embedded. The creator can also disable embedding for individual videos.

Do I need to load the script multiple times?+

No. Load the TikTok embed script only once per page. If you're embedding multiple videos, use "Full Code" for the first one and "Blockquote Only" for the rest.

How do I make the embed responsive?+

Enable "Responsive Width" option. This wraps the embed in a container with max-width. TikTok embeds are already somewhat responsive, but this helps on mobile devices.

Does embedding affect my site speed?+

TikTok embeds load external JavaScript and iframes, which does impact page speed. For better performance, consider lazy-loading embeds or limiting the number per page.

Can I customize the embed appearance?+

Limited customization is available through TikTok's official options (hide caption, width). You cannot change the player design itself. Use CSS for container styling only.

What URL formats are supported?+

We support: tiktok.com/@user/video/ID, short links like vm.tiktok.com/XXXX, and vt.tiktok.com/XXXX. Mobile share links work too.

Is the embed GDPR compliant?+

TikTok embeds load third-party content and may set cookies. For GDPR compliance, consider using a consent management solution or placeholder that requires user opt-in before loading.

Why use this instead of WordPress oEmbed?+

WordPress oEmbed works but offers less control. Our generator lets you customize width, alignment, hide captions, and provides clean code you can modify. It's also useful for non-WordPress sites.

Is this generator free?+

100% free! No sign-up required. Generate unlimited embed codes.

Created by OmniCalculator.space โ€” Your trusted source for free online tools.

Last Updated: January 2026