Version 1.0 · JavaScript library

Folio3D — PDFs people enjoy reading.

Folio3D turns PDFs and images into realistic 3D flipbooks. Text stays searchable, links stay clickable, and it looks great in light and dark. Try it below: drag a page corner, search, or switch modes from the ⋯ menu.

Everything a digital publication needs

Catalogs, magazines, brochures, reports, menus, portfolios.

Realistic page curl

A custom WebGL shader bends pages with real lighting. Drag a corner, or click to turn.

Three view modes

Realistic 3D, Light 3D (CSS) and Swipe. Falls back automatically when WebGL is missing.

Search & contents

Full-text search with highlights. The table of contents comes from the PDF outline, and PDF links stay clickable.

Reader mode

The text of the current pages in a comfortable column, with adjustable size. Great on phones.

Bookmarks & resume

Readers bookmark pages and continue where they left off.

Light, dark, yours

An automatic theme that follows the system, an accent color and a live theme builder.

Hotspots

Add video, iframes, links or go-to-page areas on top of any page.

Lightbox & sharing

Open books from links or covers. Deep links to pages, share, download and print.

Fast & light

Pages load lazily and render sharp on retina screens and when zoomed. Zero dependencies for image books.

Screenshots

Three lines to start

Use it on any website. No build step, no dependencies.

<link rel="stylesheet" href="folio3d.min.css">
<script src="folio3d.min.js"></script>

<div data-folio3d="catalog.pdf"
     style="height:70vh"></div>

Specs

LibraryVanilla JavaScript (ES2020), UMD + ES module
InputPDF (via pdf.js), JPG, PNG, WebP, SVG
BrowsersChrome, Edge, Firefox, Safari; iOS 15+, Android
WordPressSeparate plugin
LanguagesEnglish, Russian; every string can be overridden
Size~100 KB JS + 22 KB CSS (minified)