Facebook Embed Generator
Generate embed code for Facebook posts and videos with custom width, dark mode, responsive design, and native SDK embed.
Check the HTTP(S) URL and the available options. Invalid values clear the output.
⚠️ Enter a Facebook post, video, reel, photo or group post URL, for example https://www.facebook.com/user/posts/123456
Embed Options
Preview
Embed Code
Copied
Copy failed. Select the result and copy it manually.
About Facebook Embed Generator
The Facebook Embed Generator helps you create high-quality output on demand, for free, right in your browser. Generate embed code for Facebook posts and videos with custom width, dark mode, responsive design, and native SDK embed. Our Facebook Embed Generator uses smart defaults but lets you customize every setting so the final result fits your project. The code is assembled in your browser. A preview loads the destination or provider and makes external requests. Private content, login requirements and embedding restrictions still apply; this tool does not bypass them. Copying markup grants no content rights or permission to embed. Check the source content and provider requirements.
Use Cases
How to use
Paste a Facebook post, video, reel, photo or group post URL into the Facebook URL field. A green note confirms whether a post or a video was detected.
In Embed Options use Show Text to keep or hide the post caption, and toggle Responsive, Dark Mode and Lazy Loading.
Drag the Width slider between 300 and 750 px and the Border Radius slider, and tick Show Border to choose a border colour.
Check the preview with content you are allowed to embed. Loading it contacts the provider; availability and playback depend on that provider and your site.
Pick the html, native, wordpress or bbcode tab. Native outputs the fb-root div plus the Facebook SDK script instead of a plain iframe.
Choose the output format and copy the current code or link. Check your destination site’s format support and embedding permissions before using it.
Pro Tips
- Tweak the settings one at a time so you can see how each option affects the Facebook Embed Generator output.
- For the same input and options, this tool assembles the same code. Change the URL or settings to change the result; it does not generate random content.
- Copy several candidates to your clipboard or a notes file and compare them before committing to one.
- If the Facebook Embed Generator supports exporting, save important outputs immediately — nothing is persisted server-side.
- Combine outputs from this Facebook Embed Generator with other tools (formatters, previews, checkers) to polish the final result.
Frequently Asked Questions
Copying markup grants no content rights or permission to embed. Check the source content and provider requirements.
Some output formats include a FreeWebTools credit link. Inspect the current snippet and the destination site’s format support.
The code is assembled in your browser. A preview loads the destination or provider and makes external requests. Private content, login requirements and embedding restrictions still apply; this tool does not bypass them.
Use a Facebook post or video link and check the detected plugin type. Set width, responsive mode, text, wrapper background, border and lazy loading. Native code includes Facebook’s SDK; provider availability is not verified here.
For the same input and options, this tool assembles the same code. Change the URL or settings to change the result; it does not generate random content.
Preview availability does not establish availability on your destination site. Network errors, browser policy and provider restrictions can also prevent loading.
Use a Facebook post or video link and check the detected plugin type. Set width, responsive mode, text, wrapper background, border and lazy loading. Native code includes Facebook’s SDK; provider availability is not verified here. The code is assembled in your browser. A preview loads the destination or provider and makes external requests. Private content, login requirements and embedding restrictions still apply; this tool does not bypass them. Shortcodes need compatible site support. BBCode and Markdown may be links rather than players. Copying code grants no content rights or permission to embed.
Use a Facebook post or video link and check the detected plugin type. Set width, responsive mode, text, wrapper background, border and lazy loading. Native code includes Facebook’s SDK; provider availability is not verified here.
The code is assembled in your browser. A preview loads the destination or provider and makes external requests. Private content, login requirements and embedding restrictions still apply; this tool does not bypass them.
Shortcodes need compatible site support. BBCode and Markdown may be links rather than players. Copying code grants no content rights or permission to embed.