Real people answer 24/7We never ask for your password

Need something not listed?Ask for a custom price →

X (Twitter) embed generator: embed a tweet on any website

Paste a link to a post on X (twitter.com links work too). Get official embed code that keeps the post text readable, even before X loads.

Free, alwaysNo sign-upPrivate
Example filled in. Paste your own link.Theme
Alignment
Options
PREVIEW
    Your embed code

    Want more people to see your posts on X?X followers →

    An X (Twitter) embed generator turns a link to a post on X into code that shows the post on your website, with the author, the date, any photos or video, and buttons to like or reply. This one takes up to 10 posts at once, keeps the post text inside the code so it reads well even before X loads, and can load X’s script only when a post scrolls into view.

    How to embed a tweet on your website

    1. Copy the post link. On X, tap the share icon under the post and choose Copy link. Links from x.com, twitter.com and the mobile site all work.
    2. Paste it into the generator above. For a roundup, paste several links, one per line.
    3. Pick the look: light or dark theme, width, alignment, the language of X’s buttons, and whether to hide the post it replies to or its photos and link cards.
    4. Copy the code and paste it where the post should appear. The buttons under the code show where to paste it in WordPress, Elementor, Wix, Shopify, Squarespace and Webflow.

    X also has its own route, described in its help page on embedding: open the menu on a post and choose Embed post, which takes you to X’s publishing page. That works for one post at a time. This generator is faster when you need several posts, a set width or a lighter page.

    What “embed this post” means

    Embedding shows the real post from X on your page instead of a screenshot. Visitors see the current like and reply counts, can play the video, follow the author or open the post on X, and the author stays credited. A screenshot is frozen and can’t be clicked, and its text is only a picture. An embed keeps the text as real words on your page.

    Embed options explained

    Light or dark theme

    Dark shows light text on a dark card. Match it to your page, so the post doesn’t look like a bright box on a dark site, or the other way round.

    Width and alignment

    X’s embed reference recommends widths from 250 to 550 pixels. On phones the post shrinks to fit the screen either way. Left or right alignment lets your text wrap around the post; center puts it in the middle of the column.

    Hide the post it replies to

    When the post you embed is a reply, X normally shows the original post above it. Tick this option to show only the reply, which is useful when the reply is the point and the original would distract.

    Hide photos, videos and link cards

    This keeps the post short: links stay as text instead of turning into large previews. Leave it off for posts with a video, or the video won’t appear.

    Language and Do not track

    Language changes X’s own words around the post, like “Follow” and the date, not the post itself. Do not track asks X not to use the embed to personalise suggestions and ads for your visitors. It’s on by default here.

    Fast-loading: keep your page quick

    An embedded post needs X’s script to turn the code into the full card. Normally that script starts loading as soon as the page opens, even if the post is far down the page. With fast-loading on, the code waits until a visitor scrolls close to the post, then loads the script once for every post on the page. Until then, visitors see the post text, the author and the date in plain form, so nothing is missing and nothing jumps around.

    If your site already loads X’s script, for example through a plugin, tick “Leave out X’s script” so it isn’t loaded twice.

    How to embed a video tweet

    Paste the link to the post that contains the video. The embed shows the video inside the post, and visitors can play it without leaving your page. Make sure “Hide photos, videos and link cards” is off. This generator embeds the whole post. To show only the video, upload it to a video platform and embed it from there.

    Where an embedded post works best

    • Proof on sales pages: a real customer’s post about your product carries more weight than a quote you typed, because visitors can click through and see who said it.
    • News and opinion articles: quote an announcement or a statement exactly, with the source attached.
    • Event and launch pages: show the posts people made during the launch.
    • Case studies: show a post’s reach next to your explanation of what worked. Our X engagement rate calculator helps you judge whether a post did well for its size.

    Embedded tweet not showing? Common fixes

    It shows as plain text and a link

    X’s script hasn’t run. Check that the code was pasted in full, including the script line at the end, and that the page builder didn’t strip scripts. Some ad blockers and privacy extensions block X’s script for the people who use them; those visitors still see the text, which is why the text is in the code.

    Posts added later stay as plain text

    X’s script turns posts into cards when it runs. If a page builder or your own script adds posts after that, call twttr.widgets.load() once they are on the page.

    “This post is unavailable”

    The post was deleted, or the account is protected or suspended. Only public posts can be embedded. If a post you embedded earlier disappears, the text saved in your page’s code stays, so remove the embed if the author deleted it on purpose.

    The post is wider than my column

    Lower the width, or leave it at the default: the post never grows past the space it sits in.

    Does embedding a post help it on X?

    Embedding sends visitors from your site to X when they click the post, follow the author or reply, so it can bring the author some extra attention. X doesn’t say that embeds change how it ranks posts in feeds. If you want your own posts to look more established when new people find them, see our X (Twitter) growth services.

    Is the code safe to use on any website?

    Yes. It’s X’s official embed code: a quote with the post text and a link, plus X’s own script from platform.twitter.com. Nothing is loaded from our site. The small “Created with TheSMMExpert” line under the post is optional; untick it before you copy if you don’t want it.

    Why use this generator instead of X's own Embed button or ChatGPT?

    X's own Embed post option gives you one post at a time, and its code loads X's script as soon as the page opens. This generator takes up to 10 links at once, keeps every option in one place, and can load X's script only when a post scrolls into view, so your page opens faster.

    A chatbot can't read the post for you, so the code it writes usually has no post text inside. If X's script is slow or blocked, visitors then see an empty link. Our code comes from X's official embed service and includes the post text, the author and the date.

    Frequently asked questions

    Why not just use the Embed post option on X?

    You can. This generator adds several posts at once, a fast-loading option, a width you choose and a preview, and it keeps the post text in the code so it still reads well if X's script doesn't load.

    How do I embed a tweet on my website?

    Copy the post link from Share > Copy link, paste it into the generator, pick your options and paste the code into your page HTML, a WordPress Custom HTML block or any "embed code" box.

    How do I embed a video tweet?

    Paste the link to the post that has the video. The embed shows the video inside the post. Keep "Hide photos, videos and link cards" off, or the video won't appear.

    Do twitter.com links still work?

    Yes. Links from x.com, twitter.com and mobile.twitter.com all work, and extra tracking parts of the link are removed.

    Why does my embedded tweet show only text?

    X's script turns the quote into the full post card. If it's blocked, slow, or missing from the page, visitors see the text and a link instead. With fast-loading on, the card appears as the post scrolls into view.

    Can I embed a protected or deleted post?

    No. Only public posts can be embedded. If a post is later deleted or the account goes private, the embed falls back to the saved text and link.

    Is my link saved?

    No. The tool runs in your browser and asks X for the official code directly. Nothing you paste is sent to us or stored.

    Chat with our team on TelegramChat with our team on WhatsApp