How to embed an Instagram feed on your website (3 ways)

There are three ways to show Instagram on your website. You can copy Instagram’s own embed code to show one post, use a feed widget that lists your latest posts and updates by itself, or build your own feed with the Instagram API. This guide compares the three, walks through each one, and shows where to paste the code on the most common website builders. Facts about Instagram’s features are limited to what we could confirm in Instagram’s Help Center and Meta’s developer documentation.

Updated October 14, 2026

What “embedding Instagram” means

Embedding Instagram means showing Instagram content inside a page of your own website, so visitors can see it without leaving your site. In practice it comes in two shapes:

  1. One post on a page. You pick a specific post, reel or profile and place it in a blog post or announcement. Instagram’s built-in Embed option does this.
  2. A feed of your latest posts. A grid or slider of your recent posts, for example on your homepage, that changes when you post something new. This needs a feed widget or your own code.

People usually embed Instagram to make a site feel current, to show their products, food or work in real photos, and to turn website visitors into followers.

The 3 ways at a glance

Instagram’s embed codeFeed widgetBuild it with the API
What appearsOne post, reel or profileYour latest posts as a grid or sliderWhatever you build
New postsNot added (paste a new code each time)Added automaticallyUp to your code
Account neededPublic account with Embeds turned onUsually a professional account (Business or Creator)Professional account
CostFreeDepends on the tool (many have a free plan)Your development and upkeep time
Best forFeaturing one specific postKeeping a page fresh with no extra workDevelopers who need full control

A quick rule: if you want one specific post, use the embed code. If you want your latest posts, always up to date, use a feed widget.

Way 1: Instagram’s embed code (one post)

According to Instagram’s Help Center, posts, reels and guides from public accounts can be embedded, and so can a public profile. The embedded post shows the account name and a link back to Instagram.

  1. Open Instagram in a browser on your computer or phone. Instagram’s Help Center says you can’t copy embed codes from the Instagram app.
  2. Go to the post, reel or profile and open its Options menu (the three dots).
  3. Choose Embed, then Copy Embed Code.
  4. Paste the code into a part of your site that accepts HTML, such as a WordPress Custom HTML block, and publish.

If the Embed option is missing, the post or account is private, or the account has turned Embeds off. See Instagram’s Allow embeds setting for how to check it.

Keep in mind that an embed code always shows that one post. When you publish something new on Instagram, your website does not change until you paste another code. If the owner later makes the account private or turns Embeds off, the embedded post stops showing.

The full walkthrough, including the phone steps, is in How to embed a single Instagram post on your website.

Way 2: a feed widget that updates automatically

A feed widget connects to your Instagram account and shows your recent posts as a grid or slider. You paste its code once, and from then on every new Instagram post appears on your site without any extra work.

When you compare widgets, look at:

  1. Free plan limits: monthly views, how many posts are shown, how often new posts appear, and whether a credit link is added.
  2. Design options: grid or slider, columns, spacing and whether it fits your site’s look.
  3. Where it works: whether your website builder lets you paste the code.
  4. Which posts it shows: for example leaving out Reels or showing only posts with a certain word in the caption.

We compared 10 tools, their free plans and prices in Instagram feed widgets compared.

Example: Social Feed by grip space. With Social Feed you sign up with an email address, connect an Instagram professional account (Business or Creator), choose a grid or slider in a live preview, and paste one line of code. You can set the columns, number of posts and spacing, choose what happens when someone clicks a post (open it larger, open Instagram, or nothing), and filter posts by Reels or by a caption keyword. It shows posts from your own connected account only. It cannot collect posts by hashtag, show other people’s accounts or show Stories.

PlanWidgetsViewsNew posts appear
Free ($0)1Up to 3,000 / monthOnce a day
LightUp to 3Up to 30,000 / monthInstantly
StandardUnlimitedUnlimitedInstantly

The Free plan shows a “Powered by Social Feed” link below the feed. Prices are on the pricing section, and what the Free plan includes is explained in Free Instagram feed widget.

Way 3: build your own feed with the Instagram API

If you are a developer, you can fetch your posts through Meta’s APIs and render the feed yourself.

  1. oEmbed returns the official embed HTML for a single post. Meta’s documentation says it is meant for embedding on websites and apps, and it does not work for private accounts, accounts that turned off embedding, or Stories.
  2. The Instagram API can list the posts of your own professional account. You need a Meta app, access tokens that you refresh, caching, and upkeep when the API changes. The older Instagram Basic Display API was shut down on December 4, 2024.

What this involves in detail is in Building your own Instagram feed with the Instagram API. If you only need to show a feed, a widget saves you the token and maintenance work.

Where to paste the code on your website builder

Both Instagram’s embed code and a feed widget’s code contain a script, so they need a place that keeps HTML as it is. A normal text block usually shows the code as text or removes the script.

PlatformWhere to pasteStep-by-step guide
WordPressA Custom HTML blockWordPress guide
WixEmbed Code → Embed HTMLWix guide
SquarespaceA Code block (JavaScript needs a Core, Plus or Advanced plan)Squarespace guide
ShopifyA Custom Liquid section or blockShopify guide
WebflowA Code Embed element (paid plan)Webflow guide
Any HTML siteInside the <body> where the feed should appearHTML guide
Google SitesInsert → Embed → Embed codeGoogle Sites
FramerAn Embed componentFramer
GoDaddyAn HTML sectionGoDaddy
Editor vs. live page: many editors don’t run scripts while you edit, so the post or feed can look empty in the editor. Check the published page before deciding something is broken.

Not sure where on the page to put it? See Where to put an Instagram feed on your website.

If the embed doesn’t show or doesn’t update

  1. The account is private or Embeds are off. Instagram’s embed code can’t show these posts.
  2. The script was removed when you saved. Some platforms, plans or user roles strip scripts.
  3. The Instagram connection has expired. A feed widget stops updating when its connection breaks. Reconnect it in the dashboard.
  4. Update timing or filters. Some plans add new posts on a schedule, and filters can hide posts.

Step-by-step fixes: Instagram feed not showing on your website? and Why your Instagram feed isn’t updating.

Frequently asked questions

Can I embed Instagram on my website for free?
Yes. Instagram’s embed code is free. Many feed widgets also have a free plan; Social Feed’s Free plan gives you one widget, with new posts appearing once a day.

Where do I find the Instagram embed code?
Open the post in a web browser, open the Options menu and choose Embed. The Instagram app does not offer embed codes.

Does an embedded Instagram feed update automatically?
An embed code does not; it always shows the same post. A feed widget does: new posts are added to your site by themselves.

Can I embed a personal Instagram account?
Instagram’s embed code works for public accounts with Embeds turned on. Feed widgets generally need a professional account (Business or Creator), which you can switch to for free in the app. See why you need a professional account.

Does embedding Instagram help SEO?
Not much directly. Feeds are usually drawn by a script, so search engines don’t treat them as your page text. See Does an Instagram feed on your website help SEO?

Get your embed code in a few minutes. The Free plan needs no credit card.

Sign up free