How to embed a flipbook on your website
One file, one line of code. Here's how to put a Flypbook flipbook on WordPress, Shopify, Webflow, Framer, Wix, Squarespace or a hand-coded site.
To embed a flipbook on a website, open your flipbook in Flypbook and press Embed below the book. Download the single .html file, upload it to your website or any static host, then paste the embed code (an iframe) into a custom HTML or embed block where the flipbook should appear. Embedding is included on Basic, Lifetime and Enterprise.
The 5-step method that works everywhere
- Open the flipbook and press EmbedConvert your PDF on flypbook.app, then press Embed below the book.
- Download the .html fileIt's one self-contained file that holds the whole flipbook.
- Upload the filePut it on your website's file storage or a free static host, and copy its URL.
- Paste the embed codeAdd a custom HTML or embed block to your page and paste the code.
- Publish and check on mobileTest on a phone and a desktop before you share the page.
What the embed code looks like
Flypbook gives you the exact code. It's a standard iframe, like this, with the src pointing at wherever you uploaded the file:
<iframe src="https://yoursite.com/flipbooks/spring-catalog.html"
title="Spring catalog flipbook"
width="100%" height="640" style="border:0"
allow="fullscreen" loading="lazy"></iframe>
To keep the right shape on every screen, wrap it in a box with an aspect ratio:
<div style="aspect-ratio:16/10;width:100%;max-width:1100px;margin:auto">
<iframe src="https://yoursite.com/flipbooks/spring-catalog.html"
title="Spring catalog flipbook" allow="fullscreen" loading="lazy"
style="width:100%;height:100%;border:0"></iframe>
</div>
Always give the iframe a descriptive title. Screen readers announce it, and it helps search engines understand the embed.
Where to host the .html file
The flipbook is a static file, so any web host can serve it. Two easy routes:
- Your own site's hosting. Upload through your host's file manager, FTP or your site builder's file uploads (if it accepts .html files).
- A free static host. Cloudflare Pages, Netlify and GitHub Pages all serve static HTML files on their free tiers. Upload the file, copy the URL and use it as the iframe
src.
The file is yours. It keeps working even if you cancel your Flypbook plan.
Platform-by-platform
WordPress (self-hosted)
Edit the page, add a Custom HTML block and paste the embed code. WordPress's media library may refuse .html uploads, so upload the file through your host's file manager or a static host instead.
WordPress.com
Iframes and custom HTML only work on some WordPress.com plans. If your code disappears after saving, check whether your plan allows custom code.
Shopify
In the theme editor, add a Custom Liquid section (or a Custom HTML section, depending on your theme) to a page or product template and paste the code. Host the .html file on a static host and use that URL.
Webflow
Drag a Code Embed element onto the page and paste the code.
Framer
Insert an Embed component and paste the code (or the file's URL), then set its size.
Wix
Add Embed Code → Embed HTML, choose Code and paste the iframe.
Squarespace
Add a Code block and paste the embed code. Some Squarespace plans limit custom code, so check yours if it doesn't render.
Plain HTML
Paste the iframe where the flipbook should appear and upload the .html file alongside your page.
Make the page itself findable
Search engines and AI assistants read the page around your flipbook, not the page images inside it. Give the page a clear title, a short summary of what's in the publication and the key text or headings. Link to the print-ready PDF for anyone who wants a download.
Make your flipbook now
Free and unlimited. No sign-up. Your PDF never leaves your device.
Drop a PDF on FlypbookFrequently asked questions
Which Flypbook plans include embedding?
Basic ($9 a month), Lifetime ($99 once) and Enterprise all include website embed codes.
Do I need my own hosting?
You need somewhere to put one .html file. That can be your website's hosting or a free static host like Cloudflare Pages, Netlify or GitHub Pages.
Will the embedded flipbook keep working if I cancel?
Yes. Every export is a self-contained file you own. Cancelling only stops new exports.
Is there branding on embedded flipbooks?
A small “Made with Flypbook” badge appears below the book on every plan.
Can I embed a password-protected flipbook?
Yes, on Lifetime and Enterprise. Readers enter the password inside the embed to decrypt the pages.
Why did my embed code disappear after saving?
Some site builders and some plans strip iframes or custom HTML. Use the platform's dedicated HTML or embed block, and check that your plan allows custom code.