How to Embed a LinkedIn Post on Your Website (and When You Cannot)

How to Embed a LinkedIn Post on Your Website (and When You Cannot)

How to Embed a LinkedIn Post on Your Website (and When You Cannot)

Naïlé Titah

Naïlé Titah

|

You wrote a LinkedIn post that landed, and now you want it on your website: a testimonial on a landing page, a hot take in a blog article, proof that someone said something nice about you. The good news is that LinkedIn gives you an official embed code, and it takes about thirty seconds. The catch is that it only works for public posts, and once you understand why, the whole thing makes sense.

Here is exactly how to do it.

TL;DR: Open the post's three-dot menu, choose Embed this post, and copy the iframe code into your site. Only public posts can be embedded, and deleting the post breaks the embed.

The three steps

Embedding a public LinkedIn post is short enough to do right now:

  1. Open the post and click the three-dot menu. On the post you want to embed, click the three dots (...) in the top-right corner of the post.

  2. Click "Embed this post." LinkedIn opens a small window with a block of code in it. (If you do not see this option, the post is not public. More on that below.)

  3. Copy the iframe snippet and paste it into your page. The window gives you an `<iframe>` tag. Copy it, then paste it into the HTML of your website wherever you want the post to appear. That is it. The live post, with its likes, comments and author, renders right there on your page.

You are pasting raw HTML, so you need somewhere that accepts an HTML or "embed" block: most website builders (WordPress, Webflow, Framer, Squarespace) have a dedicated HTML or embed element for exactly this. Drop the iframe in, publish, and the post shows up.

If you are not sure which post you want or you have lost track of it, here is how to find your own posts on LinkedIn first, then come back and grab the embed code.

Everything you need to grow on LinkedIn. In one place.

Write in your voice, find ideas, schedule, analyse, engage…
MagicPost is built exclusively for LinkedIn.

Naïlé Titah

CEO at MagicPost

LinkedIn ने अपना एल्गोरिदम फिर से बदल दिया है। और इस बार, यह ध्यान देने योग्य है।


मैं जानने के लिए अच्छी स्थिति में हूँ:

Everything you need to grow on LinkedIn. In one place.

Write in your voice, find ideas, schedule, analyse, engage…
MagicPost is built exclusively for LinkedIn.

Naïlé Titah

CEO at MagicPost

LinkedIn ने अपना एल्गोरिदम फिर से बदल दिया है। और इस बार, यह ध्यान देने योग्य है।


मैं जानने के लिए अच्छी स्थिति में हूँ:

Create your first LinkedIn post in under 5 minutes

With MagicPost, you save up to 4 hours a week, starting with your very first post. Spend less time writing and more time expanding your business.

No credit card required. No commitment. Just real-time savings.

100% free trial.

Making it look right on your page

The embed works out of the box, but it rarely fits your layout perfectly on the first try. Two things to know.

Width. The iframe LinkedIn hands you has a fixed `width` attribute baked into the tag (a set number of pixels). On a wide desktop column that is fine. On a narrow blog post or a phone, a fixed width can overflow its container or sit awkwardly. The honest fix is a little CSS: wrap the iframe or target it directly and override the width so it stretches to its container, for example `iframe { max-width: 100%; }`. You set a sensible `max-width`, let the iframe shrink on smaller screens, and it behaves. There is no magic "responsive" toggle inside LinkedIn's snippet, so this small CSS nudge is the normal way people make embeds fit.

Lazy-loading. If you are embedding several posts on one page, each one is a live iframe that loads LinkedIn's content, which adds weight. Adding `loading="lazy"` to the iframe tag (or letting your site builder's lazy-load setting handle it) means the embeds only load as the reader scrolls to them, keeping the top of your page fast.

When you cannot embed a post

This is the part people hit unexpectedly. The "Embed this post" option is not always there, and it is not a bug.

  • Private or connections-only posts. Embeds only exist for public posts. If a post's audience is set to "Connections" (or it lives on a private account), there is no embed option, because LinkedIn will not render restricted content on an open web page. The fix is upstream: the post has to be published publicly in the first place.

  • Deleted posts break the embed. An embed is a live window into the real post, not a saved copy. If the author deletes the post, edits its audience to private, or deactivates the account, your embed goes blank. You do not control the post, so you do not control the embed.

  • Some media types. Most text, image and article posts embed cleanly, but certain post types and media (and occasionally polls or particular video formats) may not render exactly as they do in the feed. Always preview the embed on a live page before you rely on it.

When you cannot embed (a private post, a post you are worried might get deleted, or one that just will not render), the reliable fallback is a screenshot plus a link. Capture the post, place the image on your page, and link to the original with clear attribution to the author. It loses the live likes and comments, but it never breaks, and it still credits the person who wrote it.

If your goal is really to show great LinkedIn content on your site rather than one specific post, you are better served by a curated set than a single fragile embed. Our roundup of strong LinkedIn post examples is a better starting point for "what good looks like" than embedding at random.

Want posts worth embedding in the first place? MagicPost helps you write, schedule and manage all your LinkedIn content in one place, so the posts you publish are the ones you will actually want to show off on your site later.

A note on etiquette

Embedding is low-risk by design, because LinkedIn built it to be respectful: every embed carries the author's name, photo and a link straight back to the original post. The author always gets credit, automatically.

The simple rule: embed your own posts freely, and embed other people's posts only when they are public. A public post is published to be seen, and the embed credits its author by design, so showcasing one on your site is fair game. Use the screenshot-and-link fallback the same way: name the author, link to the source. If you are new to publishing in the first place, start with how to post on LinkedIn, then come back here when you have something worth embedding.

Everything you need to grow on LinkedIn. In one place.

Write in your voice, find ideas, schedule, analyse, engage…
MagicPost is built exclusively for LinkedIn.

Naïlé Titah

CEO at MagicPost

LinkedIn ने अपना एल्गोरिदम फिर से बदल दिया है। और इस बार, यह ध्यान देने योग्य है।


मैं जानने के लिए अच्छी स्थिति में हूँ:

Everything you need to grow on LinkedIn. In one place.

Write in your voice, find ideas, schedule, analyse, engage…
MagicPost is built exclusively for LinkedIn.

Naïlé Titah

CEO at MagicPost

LinkedIn ने अपना एल्गोरिदम फिर से बदल दिया है। और इस बार, यह ध्यान देने योग्य है।


मैं जानने के लिए अच्छी स्थिति में हूँ:

Create your first LinkedIn post in under 5 minutes

With MagicPost, you save up to 4 hours a week, starting with your very first post. Spend less time writing and more time expanding your business.

No credit card required. No commitment. Just real-time savings.

100% free trial.

Frequently Asked Questions

How do you embed a LinkedIn post?

Open the post, click the three-dot menu (...) in its top-right corner, and choose "Embed this post." LinkedIn gives you an `<iframe>` code snippet. Copy it and paste it into the HTML or "embed" block of your website, and the live post appears on your page, complete with the author's name and a link back to the original. This only works for public posts: if you do not see the "Embed this post" option, the post is private or connections-only and cannot be embedded.

Why is there no "Embed this post" option on a post?

Because the post is not public. LinkedIn only offers embed codes for posts shared publicly. If a post's audience is set to "Connections," or it belongs to a private account, the embed option disappears, since LinkedIn will not display restricted content on an open web page. To embed it, it has to be (re)published with a public audience.

Can I make a LinkedIn embed responsive on mobile?

Yes, with a small CSS tweak. The iframe LinkedIn gives you has a fixed pixel `width` in the tag, which can overflow narrow screens. Add CSS such as `max-width: 100%` to the iframe (or its wrapper) so it shrinks to fit its container. There is no responsive toggle inside LinkedIn's snippet itself, so this CSS adjustment is the standard way to make embeds fit any screen.

What happens to my embed if the post is deleted?

It goes blank. An embed is a live window into the real post, not a stored copy, so if the author deletes the post, switches its audience to private, or deactivates the account, the embed stops rendering. If you need something permanent, use a screenshot of the post plus a link to the original, with attribution to the author, as a fallback that will not break.

Everything you need to grow on LinkedIn. In one place.

Write in your voice, find ideas, schedule, analyse, engage…
MagicPost is built exclusively for LinkedIn.

Naïlé Titah

CEO at MagicPost

LinkedIn ने अपना एल्गोरिदम फिर से बदल दिया है। और इस बार, यह ध्यान देने योग्य है।


मैं जानने के लिए अच्छी स्थिति में हूँ:

Everything you need to grow on LinkedIn. In one place.

Write in your voice, find ideas, schedule, analyse, engage…
MagicPost is built exclusively for LinkedIn.

Naïlé Titah

CEO at MagicPost

LinkedIn ने अपना एल्गोरिदम फिर से बदल दिया है। और इस बार, यह ध्यान देने योग्य है।


मैं जानने के लिए अच्छी स्थिति में हूँ:

Create your first LinkedIn post in under 5 minutes

With MagicPost, you save up to 4 hours a week, starting with your very first post. Spend less time writing and more time expanding your business.

No credit card required. No commitment. Just real-time savings.

100% free trial.

Related articles

Related articles

MagicPost guide: How to Find Your Saved Posts on LinkedIn (Desktop and Mobile, 2026)

How to Find Saved LinkedIn Posts (2026)

Learn how to quickly find and manage your saved LinkedIn posts with our simple guide. Keep track of all your favorite content and ideas on LinkedIn.

...read more

MagicPost guide: How to Schedule Posts on LinkedIn: Native Scheduling, Its Limits, and Better Options

How to Schedule a Post on LinkedIn (2026)

Learn how to schedule a post on LinkedIn in just 3 simple steps and explore proven best practices to enhance engagement and maintain consistency.

...read more

MagicPost guide: Can You Edit a LinkedIn Post? Yes: How to Edit, What You Cannot Change, and How to Delete

Can You Edit a LinkedIn Post? (Yes, Here’s What to Know)

Yes, you can edit a LinkedIn post after publishing, but each edit triggers an algorithm re-evaluation that can temporarily reduce reach. Here’s how to do it.

...read more

Preview Your LinkedIn Posts

How to Preview Your LinkedIn Post Before Publishing (2026)

LinkedIn does not support previewing your posts natively. Here’s how you can catch broken hooks, cropped images, and errors before publishing. A free tool is included.

...read more

MagicPost guide: How to See Your Own Posts on LinkedIn (Activity, Likes, Search and Stats)

How to View My Posts on LinkedIn: Simple Steps for Beginners

LinkedIn can sometimes feel like a maze. Here’s a useful guide to finding your posts: Log in to LinkedIn, go to your profile, and scroll to the…

...read more

LinkedIn post formatting guidelines

LinkedIn Post Formatting Guidelines 2026

LinkedIn post formatting for B2B with this 2026 guide. Types of posts, structural rules, and best practices.

...read more

MagicPost guide: How to Boost a LinkedIn Post (and the Free Levers to Pull First)

How to Promote LinkedIn Posts for Optimal Engagement (2026)

Do you want to learn how to promote LinkedIn posts? Discover what thought leader ads are, how to use them, and how sharing others' posts can enhance your company's engagement.

...read more

MagicPost guide: How to Comment on LinkedIn for Reach: What to Say, Where, and How Often

How to Comment Effectively for Better Reach on LinkedIn?

Maximize LinkedIn visibility by providing value through comments, insights, and questions. Build relationships, expand your network, and enhance engagement.

...read more

MagicPost guide: How to Post on LinkedIn (Desktop and Mobile): the Complete 2026 Walkthrough

How to Post on LinkedIn (Desktop and Mobile): the Complete 2026 Walkthrough

How to post on LinkedIn, step by step: desktop, mobile, every composer option, visibility settings, tagging, and what happens in the first hour.

...read more

MagicPost guide: LinkedIn Post Drafts: Where They Live, How to Find Them, and Their Limits

LinkedIn Post Drafts: Where They Live, How to Find Them, and Their Limits

Where are your LinkedIn drafts? Reopen the composer to find them, on desktop and mobile. How drafts work, their limits, and a better workflow.

...read more