Real people answer 24/7We never ask for your password

Need something not listed?Ask for a custom price →

Instagram embed generator: embed posts and Reels on any website

Paste a link to a public Instagram post or Reel. Get official embed code that loads fast, with or without the caption.

Free, alwaysNo sign-upPrivate
Example filled in. Paste your own link.Code type
Layout for several posts
Options
PREVIEW
    Your embed code

    Want more people to see your Instagram posts?Instagram followers →

    An Instagram embed generator turns a link to a public Instagram post or Reel into code that shows it on your website, with the photo or video, the account name, the caption and a link back to Instagram. This one gives you three versions: official code that loads fast, the official code as Instagram writes it, and a light version with no script. It also takes up to 10 posts and can lay them out side by side.

    How to get the embed code for an Instagram post

    1. Copy the link. In the Instagram app, tap the three dots on a post or Reel and choose Copy link. On a computer, copy the address from the browser.
    2. Paste it into the generator above. Links with tracking bits like ?igsh= work; the generator cleans them. Paste several links, one per line, to embed more than one post.
    3. Pick the code type and whether to show the caption.
    4. Copy the code and paste it where the post should appear. The buttons under the code show where to paste it in WordPress, Elementor, Wix, Shopify, Squarespace and Webflow.

    Instagram’s own Embed option sits in the same three-dot menu, but only on a computer, and it gives you one post at a time.

    What “embed” means on Instagram

    Embedding shows a real Instagram post on another website. Visitors see it the way it looks on Instagram, can play the Reel, swipe through a carousel and tap through to the account. The account keeps the credit, and if the owner edits the caption, your page shows the new one.

    Fast-loading, official or light: which code to choose

    • Fast-loading (recommended): Instagram’s official code, but Instagram’s script loads only when a visitor scrolls near the post. Your page opens faster, and the post looks exactly like the official embed once it appears.
    • Official: the same code as Instagram’s Embed button. The script loads as soon as the page opens. Use it if your page builder strips custom scripts or the post sits at the very top of the page.
    • Light (no script): a plain frame from Instagram. Nothing else loads on your page, which suits builders that block scripts. The catch: without the script the height can’t adjust itself, so set a height that fits the post and its caption.

    What you can and can’t embed

    Single photos, carousels, videos and Reels from public accounts can all be embedded. Meta’s Instagram embed documentation lists what doesn’t work: posts from private, inactive or age-restricted accounts, accounts that have turned embeds off, and Stories. A whole profile or feed can’t be embedded as a single post either.

    How to embed an Instagram Reel on a website

    Paste the Reel link exactly like a post link: /reel/, /reels/ and older /tv/ links all work. The Reel plays inside the embed, with sound once the visitor taps it. In light mode, Reels get a taller default height because the video is vertical.

    Instagram’s embed code shows one post at a time, so a “feed” on a website is usually a paid widget. If you want a fixed set of posts, for example your best client results or a product launch, paste up to 10 links and choose “Side by side (grid)”. The posts sit in columns on wide screens and stack on phones, because each post needs at least 326 pixels. The grid doesn’t update when you post something new; you add new links yourself.

    How to embed Instagram in WordPress

    Pasting an Instagram link into WordPress no longer turns it into a post: WordPress removed Instagram’s automatic embeds in 2020, after Meta started requiring an access token, as explained in the WordPress core announcement. Use embed code instead: in the block editor add a “Custom HTML” block and paste the code; in the classic editor switch to the Text tab first. With Elementor, use the HTML widget.

    Instagram embed not working? Common fixes

    It shows only “View this post on Instagram”

    Instagram’s script hasn’t run. Check that the code was pasted in full, including the script at the end, and that your page builder didn’t remove it. If your site can’t run scripts, switch to the light version.

    “This post isn’t available”

    The account is private, the post was deleted, the account turned embeds off, or the post is age-restricted. None of these can be embedded.

    The caption is cut off

    That happens in the light version when the height is too small. Raise the height, or switch to fast-loading, which sizes itself.

    It works on some pages but not inside a theme’s tabs or pop-ups

    Instagram’s embed doesn’t work inside Shadow DOM, which some themes and widgets use. Put the code in a normal content area instead.

    The post looks too wide or too narrow

    Instagram embeds work between 326 and 658 pixels wide. Set the max width in the generator; on phones the post shrinks to fit either way.

    Does embedding a post help it on Instagram?

    Embedding brings people from your site to your Instagram account: they can follow, like or comment straight from the embed. That’s useful for building an audience from website visitors. Instagram doesn’t say that embeds change how it ranks posts. If you want new posts to look established when people first see them, see our Instagram growth services.

    Is the code safe to use on any website?

    Yes. It’s Instagram’s official embed code or a frame from Instagram itself. Nothing is loaded from our site, and the post keeps working if this page ever changes. The small “Created with TheSMMExpert” line under the post is optional; untick it before you copy if you don’t want it.

    Why use this generator instead of Instagram's own Embed button or ChatGPT?

    Instagram's Embed option works one post at a time, only on a computer, and its code loads Instagram's script as soon as the page opens. This generator takes up to 10 posts, can lay them out in a grid, and can load the script only when a post scrolls into view. It also gives a light version with no script at all.

    A chatbot can write Instagram embed code, but it can't check your link, and it often uses an old format or leaves out the parts Instagram needs, so the post never appears. Here you see the real post in the preview before you copy.

    Frequently asked questions

    Why not just use the Embed option on Instagram?

    You can, on a computer. This generator also works from a phone link, handles several posts and a grid layout, offers a fast-loading and a no-script version, and shows a preview first.

    How do I get the embed code for an Instagram post?

    Open the post, tap the three dots and choose Copy link, then paste the link into this generator and copy the code. On a computer, Instagram also offers Embed in the same menu.

    Can I embed an Instagram Reel on a website?

    Yes. Paste the Reel link the same way as a post. Reels play inside the embed, and visitors can open them on Instagram.

    Can I embed a private Instagram post?

    No. Only posts from public accounts can be embedded. Posts from private, inactive or age-restricted accounts, and accounts that turned embeds off, show an error instead.

    Can I embed my whole Instagram feed?

    Not with one code: Instagram embeds one post at a time. Here you can put up to 10 posts side by side in a grid. A feed that updates itself needs a feed widget.

    Can I embed Instagram Stories?

    No. Instagram doesn't offer embed code for Stories. Save the Story as a Highlight and share it as a post or Reel if you want it on your site.

    Is my link saved?

    No. The tool runs in your browser. Nothing you paste is sent to us or stored.

    Chat with our team on TelegramChat with our team on WhatsApp