Free Tool

Tweet Embed Code Generator

Paste any tweet URL and get an embed code you can drop into your website, blog, or newsletter — instantly, for free.

Works with any public tweet from twitter.com or x.com

How to embed a tweet on your website

1

Copy the tweet URL

Open any public tweet on X. Copy the URL from your browser address bar or use the 'Copy Link' option in the tweet's share menu.

2

Paste and generate

Paste the URL into the field above and click 'Get Embed Code'. The tweet is fetched instantly using Twitter's official oEmbed API.

3

Copy and paste into your site

Copy the HTML snippet and drop it anywhere in your website's code — WordPress, Webflow, raw HTML, or any CMS that accepts HTML blocks.

Embed a tweet on any platform

Step-by-step instructions for the most popular tools

W

WordPress

In your post editor, switch a block to 'Custom HTML', paste the embed code, and publish. The tweet renders automatically.

S

Substack

Click '+' in the editor, choose 'Embed', and paste the tweet URL directly. Substack handles the rendering without the HTML snippet.

Wf

Webflow

Add an 'Embed' element to your canvas, paste the full embed code (blockquote + script tag), and publish.

Sq

Squarespace

Add a 'Code Block' to your page, paste the embed code inside it, and save. Works in both Classic and Fluid Engine editors.

<>

Raw HTML

Paste the blockquote HTML where you want the tweet to appear. Add the script tag once before </body>. Done.

G

Google Sites

Insert → Embed → By code. Paste the embed code. Note: Google Sites may strip scripts — use Twitter's published URL embed instead.

Frequently asked questions