Skip to content

Twitter embed code generator

Paste any tweet or X post URL — get a ready-to-paste embed or custom preview card.

How to embed a tweet

Paste a tweet link

Copy any tweet URL from twitter.com or x.com — regular tweets, threads, or quoted posts.

Get the embed code

The tool detects the tweet and returns the interactive embed HTML ready to use.

Copy & paste

Click Copy code, then paste the HTML into your blog, docs, CMS, or any HTML editor.

Why use our twitter embed code generator

Both x.com and twitter.com

No need to convert URLs between the old and new domains. Paste either format and the tool handles the rest.

Threads & quote tweets

Handles all tweet types — single tweets, threads, quote tweets, and replies. The embed preserves the full context.

Customizable preview card

Switch to Card mode to get a styled preview with image, text, and author. Customize colors, fonts, and layout — or use the full embed tool for advanced options.

Free, no signup

Generate up to 50 tweet embeds per day for free. No login, no API key, no watermarks.

Twitter Embed

Powered by the Microlink Embed API — the same infrastructure handling embeds at scale.

  • Native tweet embed

    Get the real interactive tweet with likes, retweets, and replies — not a screenshot. Users can engage directly from the embed.
  • Works with X and Twitter URLs

    Accepts both x.com and twitter.com links. No need to convert or rewrite URLs — paste either format and get working HTML.
  • Threads and quoted tweets

    Handles threads and quote tweets too. The embed preserves the full context of the conversation.
  • Native tweet embed

    Get the real interactive tweet with likes, retweets, and replies — not a screenshot. Users can engage directly from the embed.
  • Works with X and Twitter URLs

    Accepts both x.com and twitter.com links. No need to convert or rewrite URLs — paste either format and get working HTML.
  • Threads and quoted tweets

    Handles threads and quote tweets too. The embed preserves the full context of the conversation.

FAQ

How do I embed a tweet on my website?

Paste any tweet URL into the tool above and click Generate. You'll get a ready-to-paste HTML snippet with the interactive tweet embed. Copy it and add it to your HTML, blog, CMS, or MDX file.

Does this work with X.com URLs?

Yes. The tool accepts both x.com and twitter.com URLs. You don't need to convert between the old and new domain — paste either format and get the embed code.

Can I embed a Twitter thread?

Yes. Paste the URL of any tweet in a thread and the tool will generate the embed code. The embedded tweet links back to the full thread on Twitter/X.

Is the Twitter embed generator free?

Yes — 50 requests per day, no login, no credit card. Tweet embeds are resolved instantly from cache after the first request.

What if the tweet is deleted?

If the tweet has been deleted or the account is suspended, the tool falls back to a preview card with whatever metadata is still available. The embed will show a notice that the tweet is no longer available.