If your Instagram account is public, your content (example: post, reel, guide) or profile can be shared by third-party sources like blogs and articles using an embed code. Embed codes allow your profile or content to be shared along with your username and a link to your Instagram profile.
Note that for a post or profile to be embedded, your account must be public and the Embeds setting must be turned on. Private accounts and content from private accounts cannot be embedded.
If you’d like to embed a public Instagram profile or content from a public Instagram account into your HTML editor, you can only copy the embed from Instagram.com.
Copy the embed code for a public post or profile

Instagram.com from a computer:
- From the post or profile you’d like to embed, click
in the top right. - Click Embed, then click Copy Embed Code. Note: If you don’t see Embed, the post or account may be private or may have Embeds turned off and cannot be embedded.
- The embed code will now be copied to your clipboard and can be pasted into your HTML editor.

Instagram.com from a mobile browser:
- From the post or profile you’d like to embed, tap
in the top right. - Tap Embed, then tap Copy Embed Code. Note: If you don’t see Embed, the post or account may be private or may have Embeds turned off and cannot be embedded.
- The embed code will now be copied to your clipboard and can be pasted into your HTML editor.
If your account is public,
you can turn off the Embeds setting without switching to a private account. If your content or profile is already embedded on a third-party website, it may take time for the embedded link to be removed.