Instagram Embed Code Generator
Paste a public Instagram post or Reel URL to generate Instagram's own official embed code — with a live preview — for your blog or website.
This uses Instagram's public embed widget, the same one behind the "Embed" button on Instagram itself — no account or API key needed, and it only works on public posts.
Preview
How it works
- 1Paste a public Instagram post or Reel URL.
- 2Choose whether to show the caption.
- 3Copy the embed code and paste it into your site.
When to use this
- You're writing a blog post or press page and want to embed a real Instagram post, not just link to it.
- You want the caption to show inline alongside the embedded post.
- You need Instagram's own official widget rather than a screenshot that goes stale.
A worked example
Paste a public post URL like https://www.instagram.com/p/Cxxxxxxxxx/, toggle whether to show the caption, and the tool generates Instagram's official embed code with a live preview — the same widget behind Instagram's own "Embed" button, ready to paste into your site.
Frequently asked questions
Does this work for private accounts?+
No — only posts from public accounts can be embedded. Private account content isn't accessible without logging in.
Why isn't my preview showing?+
Double-check the URL is a real, public Instagram post or Reel link (instagram.com/p/... or instagram.com/reel/...) — Instagram's widget silently shows nothing for invalid or private URLs rather than an error.
Does the embed update if the original post is edited or deleted?+
Yes — it's a live embed of the real post via Instagram's widget, so if the caption is edited or the post is deleted, that's reflected wherever the embed is placed.
Can I embed a Reel the same way as a photo post?+
Yes — the same widget and process work for both instagram.com/p/... photo/carousel posts and instagram.com/reel/... Reels.