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.
How to embed a tweet on your website
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.
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.
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
WordPress
In your post editor, switch a block to 'Custom HTML', paste the embed code, and publish. The tweet renders automatically.
Substack
Click '+' in the editor, choose 'Embed', and paste the tweet URL directly. Substack handles the rendering without the HTML snippet.
Webflow
Add an 'Embed' element to your canvas, paste the full embed code (blockquote + script tag), and publish.
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.
Google Sites
Insert → Embed → By code. Paste the embed code. Note: Google Sites may strip scripts — use Twitter's published URL embed instead.