How to Embed a Flipbook on Your Website with Iframe
Embed your FlipLink flipbook on any website using a simple iframe code — works with WordPress, Wix, Squarespace, and more.
You've created a stunning interactive flipbook from your PDF. Now what? Sharing a link is fine, but embedding your flipbook directly on your website keeps visitors engaged without sending them elsewhere. It looks professional, loads fast, and gives you full control over the experience.
In this tutorial, we'll walk through exactly how to embed a FlipLink flipbook on any website using an iframe — plus tips for making it responsive, secure, and polished on every device.
Why Embed Instead of Just Sharing a Link?
When you share a flipbook link, visitors leave your site to view it. That means you lose control of the experience — they might not come back. Embedding keeps everything on your turf.
Here's why embedding wins:
- Lower bounce rates — visitors stay on your page instead of navigating away
- Better brand experience — the flipbook feels like a native part of your site
- Higher engagement — readers are more likely to browse when content loads inline
- SEO benefits — time-on-page increases, signaling quality to search engines
- Professional presentation — perfect for product catalogs, portfolios, and sales materials
If you're embedding a PDF viewer instead of a flipbook, check out our guide on how to embed a PDF on your website.
How to Get Your Iframe Embed Code from FlipLink
FlipLink generates embed codes automatically — no coding required. Here's how to grab yours:
- Log in to your FlipLink dashboard at
go.fliplink.me - Open the flipbook you want to embed
- Click the Share button in the toolbar
- Select the Embed tab in the sharing panel
- Copy the iframe code that appears
The code looks something like this:
<iframe
src="https://go.fliplink.me/view/your-flipbook-id"
width="100%"
height="600"
frameborder="0"
allowfullscreen
></iframe>
That's it. Paste this snippet into any HTML page, and your flipbook appears with full 3D page-flip interactivity.
For more details on all the ways you can distribute your flipbook, see the sharing and distribution features.
Embedding on Different Platforms
WordPress
WordPress makes iframe embedding straightforward:
- Open the page or post where you want the flipbook
- Add a Custom HTML block (not a paragraph block)
- Paste your iframe code
- Preview the page to confirm it loads correctly
If you're using the classic editor, switch to the Text tab (not Visual) before pasting. For a deeper WordPress-specific walkthrough, read our guide on how to embed a flipbook in WordPress.
Wix
Wix doesn't support raw HTML in regular text blocks, but it has a workaround:
- In the Wix editor, click Add (+) in the left panel
- Choose Embed Code > Embed HTML
- Paste your iframe code into the HTML box
- Resize the embed widget to fit your layout
- Publish your site
Squarespace
Squarespace supports code blocks natively:
- Edit the page where you want the flipbook
- Add a new Code Block (under the + menu)
- Paste the iframe code
- Uncheck "Display Source" if that option appears
- Save and preview
Custom HTML Sites
For any static HTML site, simply paste the iframe code wherever you want the flipbook to appear in your HTML file. It works inside <div> containers, article sections, or landing page layouts — anywhere that accepts HTML.
Responsive Embed Tips
A fixed-width iframe looks great on desktop but breaks on mobile. Here's how to make your embed responsive so it adapts to any screen size.
The Aspect Ratio Wrapper Technique
Wrap the iframe in a container that maintains a consistent aspect ratio:
<div style="position: relative; padding-bottom: 75%; height: 0; overflow: hidden;">
<iframe
src="https://go.fliplink.me/view/your-flipbook-id"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
frameborder="0"
allowfullscreen
></iframe>
</div>
The padding-bottom: 75% creates a 4:3 aspect ratio. Adjust this value based on your flipbook's dimensions:
- 4:3 (landscape) —
padding-bottom: 75% - 16:9 (widescreen) —
padding-bottom: 56.25% - 3:4 (portrait) —
padding-bottom: 133% - 1:1 (square) —
padding-bottom: 100%
Quick Mobile Check
After embedding, test on a real phone — not just the browser's responsive mode. Pinch-to-zoom and touch-based page flipping should work smoothly. If the embed feels cramped on small screens, consider increasing the minimum height to 400px or 500px.
Turn Your PDFs Into Interactive Flipbooks
Free trial — all features included, no credit card required.
Start Free TrialDomain Whitelisting for Security
If your flipbook contains sensitive content — pricing guides, internal reports, client proposals — you probably don't want anyone embedding it on random websites.
FlipLink's domain whitelisting feature lets you restrict where your iframe embed can load:
- Open your flipbook's settings
- Navigate to the Security or Embed section
- Add your approved domains (e.g.,
yourcompany.com,blog.yourcompany.com) - Save the changes
Now the flipbook only renders when loaded from those domains. If someone copies your iframe code and pastes it on their site, it won't load — they'll see an access denied message instead.
This is especially useful for product catalogs shared with specific retail partners or client-facing documents that shouldn't be publicly accessible.
Alternative: Clickable Image Embed
Not every situation calls for a full iframe embed. Sometimes a clickable preview image works better — especially when you want a lightweight teaser that opens the full flipbook on click.
FlipLink generates a clickable image embed automatically. It looks like this:
<a href="https://go.fliplink.me/view/your-flipbook-id" target="_blank">
<img
src="https://go.fliplink.me/thumbnail/your-flipbook-id.jpg"
alt="View flipbook"
style="max-width: 100%; cursor: pointer;"
/>
</a>
This approach is great for:
- Email newsletters (where iframes don't work)
- Sidebar widgets with limited space
- Blog posts where you want a preview without interrupting the reading flow
- Pages with multiple flipbooks — show thumbnails, let readers choose which to open
Embed Options Comparison
Not sure which method fits your needs? Here's a quick comparison:
| Feature | Iframe Embed | Clickable Image | Direct Link |
|---|---|---|---|
| Inline viewing | Yes — reads on your page | No — opens in new tab | No — navigates away |
| Mobile responsive | Yes (with wrapper) | Yes (naturally) | N/A |
| Page load impact | Moderate (loads flipbook) | Minimal (loads image) | None |
| Works in email | No | Yes | Yes |
| Best for | Landing pages, catalogs | Blog posts, sidebars | Social media, messaging |
| Domain whitelisting | Supported | Not needed | Not needed |
| Visitor stays on site | Yes | No (opens new tab) | No |
| Setup difficulty | Easy — paste code | Easy — paste code | Just copy URL |
For most websites, the iframe embed gives the best user experience. Use the clickable image when space is tight or when you're embedding in environments that don't support iframes.
Common Troubleshooting Tips
Running into issues? Here are quick fixes for the most common problems:
- Flipbook not loading — Check that your embed URL is correct and the flipbook is published (not in draft mode)
- Blocked by browser — Some browsers block mixed content. Make sure your site uses HTTPS if your embed URL is HTTPS
- Looks tiny on desktop — Set
width="100%"and increase theheightvalue, or use the responsive wrapper technique above - Cut off on mobile — Use the aspect ratio wrapper instead of fixed pixel dimensions
- Blocked on another site — If you've enabled domain whitelisting, add the new domain to your approved list
Start Embedding Your Flipbooks
Embedding a flipbook on your website takes less than a minute with FlipLink. Upload your PDF, grab the iframe code, paste it on your site — done.
Whether you're building a product showcase, a digital magazine archive, or an interactive company report, embedding keeps your audience engaged and your content front and center.
Create your free FlipLink account and start embedding interactive flipbooks on your website today. Already have content ready to go? Check out our pricing plans — starting at just $129 for lifetime access to 100 active publications.
Ready to Create Your First Flipbook?
Transform your PDFs into interactive flipbooks and documents. Get started with FlipLink's Lifetime Deal — just $129 for 100 active publications.
Related Articles
How to Embed a Flipbook in WordPress
Step-by-step guide to embedding an interactive flipbook on your WordPress site using iframe embed codes. Works with any theme or page builder.
How to Embed a PDF on Your Website (5 Methods Compared)
Learn 5 ways to embed a PDF on your website including iframe, Google Docs viewer, browser embed, and flipbook embeds. Pros, cons, and code examples for each.
How to Create a Clickable Image Embed for Your Flipbook
Show a preview image of your flipbook on any website — readers click it to open the full interactive experience.