Free twitter / x embed tool

Twitter Embed Code Generator

Create Embed Code for a Public Twitter / X post, Preview it and add it to your Website.

By entering your email, you agree to receive emails from Taggbox.

Create Your Embed Code

Embed a Public Post from X

Paste a Full Public Post URL from X.com or Twitter.com.

Display Options

X controls the Final Widget Design and Content.

Need a Feed? Twitter Sources Are Premium in Taggbox.

See the Taggbox Twitter Widget

Preview

Your Twitter / X Embed

Your Embed Will Appear Here

Enter a Public Post URL to Generate Your Code.

How to Embed a Twitter Post

Generate the Code, Then Add it Where You Want Your Content to Appear.

1

Choose Your Content

Copy the URL of a Public Post on X and Paste it into the tool.

2

Generate and Preview

Choose a Theme and Generate Your Embed Code.

3

Add it to Your Page

Copy the Code into a Custom HTML Block that Accepts Scripts, then Publish and Check it.

Want a Customized Feed That Fits Your Brand?

Choose What Fits Your Goal

X Embed or Taggbox Twitter Widget?

Use X’s Embed for a Single Post, or Build a Customizable Feed with Taggbox.

For a Single Post

X Embed Code

Display one public post using X’s widget.

  • Basic Light or Dark Theme
  • X Controls the Embed’s Appearance
  • Requires X’s Widget Script

For a Customized Feed

Taggbox Twitter Widget

Show X Content in a Website Widget Tailored to Your Brand.

  • Hashtag, Handle, Mention and Advanced Sources
  • Customize the Feed’s Appearance
  • Twitter Feed Sources Require a Premium Plan
Create a Twitter Widget

Twitter Feed Sources are Premium; Check the Current Plan Details. Compare Plans.

Before You Embed

What to Know About Twitter Embeds

This Generator Produces X’s HTML and Widget Script. X Renders the Content in Its Own Embedded Widget; the Generated Code is Not a Standalone iframe.

X Controls Whether a Post Can Be Embedded. Generating Code Does Not Guarantee That a Particular Post Will Display.

Your Website Must Allow Third-Party JavaScript. X’s Script Loads Resources from X, So Check Your Site’s Privacy and Consent Requirements. Use Content You Have Permission to Display.

Supported Inputs

Post

x.com/username/status/POST_ID or the equivalent twitter.com URL

Hashtags and lists

Not supported by this generator. X’s Official Publishing Tool Offers Other Embed Options.

Frequently Asked Questions

Know all about Taggbox with these frequently asked questions.

Paste a public post URL, choose your theme and copy the generated code.
This generator embeds individual posts. For a customized feed, explore the Taggbox Twitter Widget; Twitter feed sources require a premium plan.
It generates X’s HTML and JavaScript embed code. X creates and controls the rendered widget; this tool does not produce a standalone iframe.
The content may be protected, removed or unavailable, or your site or browser may block X’s script. Check the source on X and your website’s script settings.
This generator supports a single post. For other supported timeline types, check X Publish.
Customer success manager 1
Customer success manager 2
Customer success manager 3

Get Help with Your Twitter Widget

Find Guidance for Connecting and Publishing Your Widget in the Taggbox Help Center.

pattern