Skip to content
Free Tool Arena

Developer Utilities · Free tool

Facebook Embed Generator

Create iframe embed codes for posts, videos, or pages instantly. No SDK required—free online tool in your browser.

Updated June 2026
<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Ffacebook%2Fposts%2FPOST_ID&show_text=true&width=500" width="500" height="650" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>

Uses Facebook’s official Social Plugins iframe. Posts and pages must be public. Private posts won’t render.

Found this useful?EmailBuy Me a Coffee

Advertisement

What it does

Generate Facebook embed code for posts, videos, or pages. The tool produces an iframe using Facebook’s official Social Plugins endpoint — paste any public Facebook URL, pick the type (post / video / page), customize width and caption visibility, copy the iframe, paste into your blog / news article / website. The iframe renders the post inline with the same look and feel as the Facebook feed.

Why use the official embed instead of a screenshot: engagement attribution — likes, shares, and comments on the embedded post count toward the original poster’s engagement metrics, making them more likely to see your reference; always-current — if the original post is edited, the embed updates; legal compliance — Facebook’s terms of service permit embedding via their official plugins; downloading or hot-linking images is more ambiguous; interactive — viewers can like, share, or visit the original post directly from the embed.

Three embed modes available: Post (text/image post — most common embed use case); Video (Facebook-native or live videos — uses Facebook’s player); Page (a Facebook Page’s feed plugin — shows recent posts, useful for sidebar widgets). Width is customizable (340-750px, Facebook’s supported range); height auto-fits. The iframe doesn’t require the Facebook SDK or an App ID — Facebook renders the embed server-side at the plugin endpoint.

Embed this tool on your siteShow snippet

Paste this snippet into any page. Loads on-demand (lazy), no tracking scripts, and sized to most dashboards. Replace the height to fit your layout.

<iframe src="https://freetoolarena.com/embed/facebook-embed-generator" width="100%" height="720" frameborder="0" loading="lazy" title="Facebook Embed Generator" style="border:1px solid #e2e8f0;border-radius:12px;max-width:720px;"></iframe>
Embed docs →

How to use it

  1. Paste the Facebook URL: a post URL (facebook.com/USER/posts/ID), a video URL (facebook.com/watch?v=ID), or a page URL (facebook.com/PAGENAME).
  2. Pick the embed mode that matches your URL type.
  3. Set width (340-750px, default 500). Wider for full-width content; narrower for sidebars.
  4. Toggle caption visibility (off-by-default for video to keep the player clean; on for post to show the original text).
  5. Copy the iframe. Paste anywhere accepting raw HTML — Wordpress HTML block, Substack HTML, Notion embed, your own static site, etc.

When to use this tool

  • Quoting a Facebook post in a news article or blog.
  • Embedding a Facebook live or recorded video for a tutorial / event recap.
  • Showing recent posts from a Facebook Page in a sidebar (the Page plugin).
  • Press / PR pages featuring viral Facebook moments related to your topic.

When not to use it

  • Private posts — Facebook only embeds public posts. If the post is restricted to friends or a specific audience, the embed will fail to render.
  • Pages where you can't add iframes (very restricted CMS environments) — those need static-image alternatives.
  • AMP pages — Facebook's standard iframe isn't AMP-compatible. Use amp-facebook or link to the post.
  • Performance-critical pages — Facebook embeds load Facebook's full plugin SDK + analytics, adding 200-500KB and several network requests per page. For lightweight previews, link to the post and use a static screenshot.

Common use cases

  • Onboarding a colleague who needs the same calculation/conversion
  • Verifying a number or output before passing it on
  • Quick generation during a typical workday
  • Pre-decision sanity-check on inputs and outputs

Frequently asked questions

Do I need a Facebook App ID?
No — the Social Plugins iframes work without an app ID. They render server-side via Facebook's plugin endpoint, so your site doesn't need to load the FB SDK or have an App ID. (App IDs are required for OAuth login or for using the Graph API, which is a different feature.)
Can I embed private posts?
No. Facebook only allows embedding public posts. If the post is set to friends-only, friends-of-friends, or specific people, embedding will fail. Re-share publicly first, or take a screenshot if appropriate.
Will the embed track my visitors?
Yes. Facebook's plugin SDK uses cookies to maintain user session and to record analytics. Logged-in Facebook users see personalized recommendations after viewing the embed. Disclosure: if your privacy policy mentions third-party tracking, Facebook embeds qualify and should be listed. For privacy-respecting alternatives, link to the post instead of embedding.
How do I get the right URL format?
Open the Facebook post, click the timestamp (or three-dot menu → Embed) — Facebook gives you both the canonical URL and a pre-built iframe. Use the URL with this tool for full customization, or just copy Facebook's iframe directly if you want their default settings.
Will the embed work with Instagram or other Meta-properties?
Instagram has its own embed format (different endpoint, different iframe). For Instagram embeds, use a dedicated Instagram embed generator. Threads (Meta's Twitter-alternative) uses yet another format. Each Meta property has its own plugin endpoint.
Why does the embed sometimes fail to render?
Common causes: (1) post is private or has restricted audience; (2) post was deleted; (3) Facebook's plugin endpoint had a temporary outage (rare but happens); (4) ad-blockers or privacy extensions blocking the plugin script; (5) corporate networks blocking facebook.com. The iframe degrades gracefully in most cases, showing the fallback link to the original post.

Advertisement

Learn more

Explore more developer utilities tools

100% in-browserNo downloadsNo sign-upMalware-freeHow we keep this safe →

Found this useful?

The tools stay free thanks to readers who chip in or spread the word.

Buy Me a Coffee