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, analyze, engage…
MagicPost is built exclusively for LinkedIn.

Naïlé Titah

CEO @ MagicPost

LinkedIn has changed its algorithm again. And this time, it's noticeable.


I'm in a good position to know:

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

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

Naïlé Titah

CEO @ MagicPost

LinkedIn has changed its algorithm again. And this time, it's noticeable.


I'm in a good position to know:

Create your first LinkedIn post in less than 5 minutes

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

No credit card. 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, analyze, engage…
MagicPost is built exclusively for LinkedIn.

Naïlé Titah

CEO @ MagicPost

LinkedIn has changed its algorithm again. And this time, it's noticeable.


I'm in a good position to know:

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

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

Naïlé Titah

CEO @ MagicPost

LinkedIn has changed its algorithm again. And this time, it's noticeable.


I'm in a good position to know:

Create your first LinkedIn post in less than 5 minutes

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

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

100% free trial.

FAQ

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, analyze, engage…
MagicPost is built exclusively for LinkedIn.

Naïlé Titah

CEO @ MagicPost

LinkedIn has changed its algorithm again. And this time, it's noticeable.


I'm in a good position to know:

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

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

Naïlé Titah

CEO @ MagicPost

LinkedIn has changed its algorithm again. And this time, it's noticeable.


I'm in a good position to know:

Create your first LinkedIn post in less than 5 minutes

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

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

100% free trial.

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

Join 100k+ users

No credit card required

Related articles

Related articles

11 Best Magnettu Alternatives for LinkedIn Agencies (2026)

EN 🇺🇸

EN 🇺🇸

11 Best Magnettu Alternatives for LinkedIn Agencies (2026)

Magnettu sells per-profile tiers from €29.95 to €300/mo. 11 agency-grade LinkedIn alternatives compared with receipts on workflow, pricing and record.

...read more

11 Best Buffer Alternatives for LinkedIn Growth (2026)

EN 🇺🇸

EN 🇺🇸

11 Best Buffer Alternatives for LinkedIn Growth (2026)

Buffer is a great scheduler, but it stops at publishing. 11 alternatives that do AI writing, planning and LinkedIn depth better, compared with receipts.

...read more

11 Agorapulse Alternatives for LinkedIn Mentions (2026)

EN 🇺🇸

EN 🇺🇸

11 Agorapulse Alternatives for LinkedIn Mentions (2026)

Agorapulse's own docs say personal profiles can't mention each other on LinkedIn. 11 specialist alternatives with receipts: mentions, voice AI, benchmarks.

...read more

Best Contea Alternatives for LinkedIn Ghostwriters (2026)

EN 🇺🇸

EN 🇺🇸

Best Contea Alternatives for LinkedIn Ghostwriters (2026)

The best Contea alternatives for LinkedIn ghostwriters and agencies, compared with equal depth: best-for, key features, pros and cons, and monthly pricing.

...read more

Taplio Review: Powerful, But Are You Overpaying? (2026 Update)

EN 🇺🇸

EN 🇺🇸

Taplio Review: Powerful, But Are You Overpaying? (2026 Update)

Taplio combines AI post writing, scheduling, and LinkedIn outreach in one platform. But is it worth it for your use case? This Taplio review has the answer.

...read more

How Agencies Manage LinkedIn Engagement for Clients

EN 🇺🇸

EN 🇺🇸

How Agencies Manage LinkedIn Engagement for Clients

Engage with each client's prospects, partners and peers from a daily curated feed, comment in one click via the official LinkedIn API, and report the work.

...read more

White-Label LinkedIn Reports for Agency Clients

EN 🇺🇸

EN 🇺🇸

White-Label LinkedIn Reports for Agency Clients

Send client reports under your own brand, not the tool's. What to include in a white-label LinkedIn report and how to build one in minutes, not an afternoon.

...read more