Clicky

Facebook Page Embed Code Generator

Paste your Facebook Page URL and get a ready-to-use iframe built on Facebook's Page Plugin. Set the width from 180 to 500 pixels and the height from 70 to 1,000, pick the Timeline, Events or Messages tabs, and check the live preview before you copy.

  • Standard iframe, no app ID or SDK needed
  • Timeline, Events and Messages tabs
  • Live preview updates as you change settings

Facebook Embed Code Generator

No account needed

Must be a facebook.com address of a public Page.

180 500
70 1000
Tabs to show
Appearance

Enter your Facebook Page URL and the embed code appears here.

Facebook Page Plugin settings

These are the settings the generator writes into the iframe address, and the values each one accepts.

Setting Accepted values
Width180 to 500 pixels (default 340)
Height70 pixels or more. This tool goes up to 1,000 (default 500)
TabsTimeline, Events, Messages, in any combination
Small headerOn or off. A compact header leaves more room for posts
Hide cover photoOn or off
Adapt to container widthAlways on, so the widget fits narrower columns

How to embed a Facebook Page on your website

  1. Step 1

    Paste your Page URL

    Enter the full address of your public Facebook Page, such as https://www.facebook.com/YourPage.

  2. Step 2

    Set the size

    Drag the sliders to a width between 180 and 500 pixels and a height between 70 and 1,000 pixels.

  3. Step 3

    Choose what to show

    Turn the Timeline, Events and Messages tabs on or off, and pick a small header or hide the cover photo.

  4. Step 4

    Copy the iframe

    Check the live preview, press "Copy code" and paste the iframe into your site's HTML where the widget should appear.

Frequently asked questions

How do I embed a Facebook Page on my website?

Paste your Page URL into the generator, set the width, height and tabs, then copy the iframe code it produces. Paste that code into your site's HTML, in a sidebar, footer or page body. It uses Facebook's own Page Plugin, so no app ID or developer account is needed.

What sizes does the Facebook Page embed support?

Facebook's Page Plugin accepts a width from 180 to 500 pixels and a height of 70 pixels or more. This generator lets you set the height up to 1,000 pixels. The default is 340 by 500 pixels, which fits most sidebars.

Why is my Facebook Page embed not showing?

The plugin only displays public, published Pages with no age or country restrictions, so check those Page settings first. It does not work for personal profiles or private groups. Ad blockers and browser tracking protection can also hide the widget for some visitors.

Is the embedded Facebook Page responsive?

Partly. The code sets adapt_container_width to true, so the plugin shrinks to fit a narrower container when it loads. It does not resize again when the window changes, and it never grows beyond 500 pixels wide.

Which tabs can I show in the embed?

Timeline shows your latest posts, Events lists upcoming events, and Messages lets visitors message the Page. You can turn on any combination. With no tabs selected, only the Page header with its follow button is shown.

Does it work with WordPress, Shopify, Wix or Squarespace?

Yes. The output is a standard HTML iframe, so it works anywhere you can add custom HTML: a WordPress Custom HTML block, a Shopify custom liquid section, a Wix embed element or a Squarespace code block.

Last updated by the Made to Spark team.

Your site's pages can be pins too

Made to Spark turns your posts, products and listings into finished Pinterest pins like these, with the title and description ready to publish.

No credit card required to create your account.