How to make a PDF look like an open book (page-flip effect)

Turn a flat PDF into a flipbook with a realistic page-turn animation — libraries, hosted services, and the export workflow.

7 min read

How to make a PDF look like an open book (page-flip effect)

By ScoutMyTool Editorial Team · Last updated: 2026-05-21

I was asked to publish a 40-page lookbook for a small studio, and a plain scrollable PDF felt wrong for something meant to be browsed like a printed catalogue. So I went looking for the "open book" effect — the realistic page-turn animation where a corner lifts and the page curls over. What I learned quickly is that the flip is never part of the PDF itself; it is a viewer wrapped around page images, built either from an open-source library you host or a hosted service that does it for you. This guide walks through both paths, the export-pages step they share, and the accessibility details that decide whether the effect helps or quietly hurts you.

How the effect actually works

A PDF is a fixed-layout format with static pages — there is no turning animation inside the file. The flipbook lives at the presentation layer: a web viewer renders each page (as an image, a canvas, or via PDF.js), then animates a page-turn using a CSS 3D transform or a WebGL effect to fake the curl of paper. Because the animation is a wrapper, anyone who downloads the raw PDF still gets the flat document; the flip exists only in the published viewer. That separation is the key mental model for everything below.

Your options compared

OptionTypeCostWhere it livesBest for
turn.jsOpen-source JS libraryFree (BSD-style licence)Self-hostDevelopers embedding a flipbook in their own site
StPageFlipOpen-source JS libraryFree (MIT)Self-hostModern, framework-agnostic, touch + mobile support
PDF.js + custom CSSRender engine + CSS 3DFree (Apache 2.0)Self-hostFull control; render PDF pages then animate them
HeyzineHosted flipbook serviceFreemiumTheir serversNo-code publishing; quick shareable link
IssuuHosted publishing platformFreemiumTheir serversMagazines, catalogues, discovery audience
FlipHTML5Hosted flipbook serviceFreemiumTheir serversMarketing brochures with analytics
Export-to-images + sliderManual / lightweightFreeAnywhereA simple page-by-page viewer without a flip animation

Step by step — build a self-hosted flipbook

  1. Export each PDF page to an image. Most flip libraries animate flat rasters, so export every page to JPG or PNG at 150–200 DPI (screen-readable; higher only wastes bandwidth). Keep the images in page order with zero-padded names (page-001.jpg) so the sequence stays correct.
  2. Pick a library that matches your stack. For a modern, touch-friendly, framework-agnostic build, StPageFlip is the strongest free option. turn.js is the classic and well documented but older. If you want the PDF rendered live rather than pre-rasterised, build on PDF.js and add a CSS 3D page-turn.
  3. Wire the images into the viewer. Drop the library onto a page, point it at your image sequence, and set the display mode — single page for phones, two-page spread for desktop. Size the container responsively so it scales on small screens.
  4. Add keyboard and touch navigation. Bind left/right arrow keys to previous/next page and confirm swipe gestures work on mobile. A flipbook a keyboard user cannot operate is broken for a real slice of your audience.
  5. Keep an accessible fallback. Link the original text-based PDF (or an HTML version) for download, and provide alt text or a transcript. The image-only flipbook is invisible to search engines and screen readers on its own.
  6. Test on a real phone before publishing. A flipbook that looks elegant on a 27-inch monitor can be unusable on a 6-inch screen. Check load time, gesture feel, and text legibility on an actual device.

Hosted service in five minutes (the no-code path)

If you do not want to touch code, a hosted flipbook service is the fast path: create an account, upload the PDF, and it returns a shareable link and an <iframe> embed code within minutes. Heyzine, Issuu, and FlipHTML5 all follow this pattern. The trade-offs are real — your document sits on their servers, free tiers commonly add their branding or page limits, and you depend on their uptime and privacy policy. For a marketing brochure aimed at a wide audience that is usually an acceptable deal; for a confidential document it is not. When privacy matters, prefer the self-hosted route, or share the file directly via a secure PDF sharing workflow instead.

Related reading

FAQ

Does a PDF itself contain a page-flip animation?
No. A PDF is a fixed-layout document format; its pages are static and there is no built-in turning animation. The "open book" effect is added at the presentation layer — a web viewer renders each PDF page as an image or canvas, then applies an animation (usually a CSS 3D transform or a WebGL effect) to simulate a page curling and turning. So the flipbook is a wrapper around your PDF, not a property of the PDF file. If a recipient downloads the raw PDF, they get the flat document; the flip effect lives only in the viewer you publish.
What is the difference between a self-hosted library and a hosted flipbook service?
A self-hosted library (turn.js, StPageFlip, PDF.js) is code you put on your own site — you control the markup, the styling, where the files live, and your visitors’ privacy, but you do the integration work. A hosted service (Heyzine, Issuu, FlipHTML5) is no-code: you upload a PDF, it generates a shareable flipbook link or embed code in minutes, but your document lives on their servers and free tiers usually add branding, page limits, or ads. Choose self-hosted when you need control, privacy, or no third-party branding; choose hosted when speed and zero code matter more than where the file sits.
How do the page images get into the flipbook?
Most flipbook engines work with one image per page rather than the PDF directly, because rendering a crisp page and animating it is far cheaper as a flat raster. The standard workflow is to export every PDF page to a JPG or PNG at a readable resolution (150–200 DPI for screen is plenty), then point the library at the image sequence. PDF.js is the exception — it renders pages on the fly from the PDF in the browser — but even then many builders pre-rasterise for performance. Exporting pages to images first is the most reliable, library-agnostic path.
Will a page-flip flipbook hurt my SEO or accessibility?
It can, if done carelessly. A flipbook built purely from page images contains no machine-readable text, so search engines and screen readers see only pictures. Two fixes: keep the original text-based PDF (or an HTML version) downloadable and linked, and provide alt text or an accessible transcript alongside the flipbook. Keyboard navigation matters too — users must be able to turn pages with arrow keys, not only by dragging a corner. Treat the flip animation as visual sugar layered on top of accessible content, never as the only way to reach the content.
Is the flip effect worth it, or is it just decoration?
It depends on the document and the audience. For magazines, catalogues, lookbooks, yearbooks, and marketing brochures, the skeuomorphic page-turn signals "leisurely browse" and measurably increases time-on-page for some publishers. For reference documents, manuals, forms, and anything users need to search or scan quickly, the animation is friction — a plain scrollable viewer is faster and less annoying. Match the metaphor to the reading mode: flip for browsing, scroll for finding.
Can a page-flip flipbook work on phones?
Yes, but check before you commit. Modern libraries such as StPageFlip support touch gestures (swipe to turn) and responsive sizing; older ones such as turn.js need extra work and can feel sluggish on mobile. Single-page-at-a-time display usually reads better on a narrow phone screen than a two-page spread. Always test on a real device — a flipbook that looks elegant on a desktop can be unusable on a 6-inch screen, and a meaningful share of your readers will arrive on a phone.

Citations

  1. turn.js — the page flip effect for HTML5 (library site)
  2. StPageFlip — open-source page-flip library (GitHub repository)
  3. Mozilla PDF.js — render PDF pages in the browser
  4. MDN Web Docs — Using CSS transforms (3D transforms behind the flip effect)

Export your PDF pages to feed a flipbook

Every page-flip library starts with one image per page. ScoutMyTool PDF to JPG runs client-side — export your pages in order, at the resolution you choose, without uploading the file. Then point your flipbook library at the image sequence.

Open PDF-to-JPG tool →