Hardcover · paperback · tablet · box set · PNG over 2000 px

3D Book Cover Mockup

Put a flat cover on a 3D book with a spine, lighting and a soft shadow, turn it with the mouse, and export a PNG with a transparent or coloured background.

Front cover

A flat cover picture

Drop the front cover here or click to choose

Up to 25.00 MB; kept at 2048 px on the long side.

Spine (optional)

A tall narrow picture; without one the spine takes a colour

Drop the spine (optional) here or click to choose

Up to 25.00 MB; kept at 2048 px on the long side.

Back cover (optional)

Without one the back is a plain colour

Drop the back cover (optional) here or click to choose

Up to 25.00 MB; kept at 2048 px on the long side.

Book

A 300-page paperback is roughly 6 to 8% of its height.

View and light

Positive angles show the spine side.

Output

At least 2000. The size your graphics card allows may be lower.

Mockup

Add a front cover to see the book.

3D Book Cover Mockup

Operator: Abdulla Al Fahad. How tools are built and checked

A flat cover file is what you upload to a distributor, but a shop page, a newsletter or a social post looks better with the book standing up, turned a little, with its spine showing and a shadow on the ground. Making that picture by hand means a 3D program or a template with a smart object. This page builds the book from the cover you give it. It places the cover on a box with the right proportions, adds the spine and back if you supply them, lights it, and lets you turn it with the mouse before exporting a PNG at the size you need.

Key features

  • Hardcover with separate boards, a spine panel and an inset page block; paperback with a hinge crease; tablet with a bezel and the cover as its screen; and a box set of three
  • Front cover, spine and back from your own pictures; a colour fills the spine and back when you give none
  • Turn, camera height, zoom, field of view, light direction, gloss and shadow strength
  • Transparent background, or any colour, on a square, 4:5, 3:2 or 16:9 canvas

How the book is built and lit

The book is built from boxes whose proportions come from your cover: the height is 1 unit, the width is the cover's width divided by its height, and the thickness is a percentage of the height that you set (the defaults are 10% for a hardcover, 7% for a paperback or box set and 5% for the tablet). A 600 × 900 px cover therefore makes a book 0.667 units wide.

A hardcover is four boxes: a front board and a back board a few percent of the thickness deep, a spine panel along the left edge, and a page block inset by 1.6% of the height at the top, bottom and fore-edge so the boards overhang the pages as they do on a real book. The paperback is one box with the cover on the front, the spine on the left, and page texture on the other three sides.

How it works

Pictures are decoded in the browser and kept as canvases. The preview uses WebGL 2 at about 900 pixels on the long side. For export a second, larger canvas is created, the same renderer draws into it at the chosen size with browser antialiasing, the PNG is encoded, and the canvas and its textures are released.

The camera sits on a line from the book at the elevation you set, at a distance chosen so that the book's bounding circle fills about 83% of the frame at zoom 1. A lower field of view flattens perspective, which suits catalogue images, and a higher one exaggerates depth.

A transparent background keeps the shadow as a semi-transparent black layer, so the PNG drops onto any page colour. The pixels are stored premultiplied, as canvases do, and the browser converts them when it saves the file.

Common use cases

  • An author uploads the 1,600 × 2,400 px cover of a novel and exports a 3,000 px paperback on a transparent background for the book page of her website, where it sits on a coloured section.
  • A publisher shows a trilogy: the box set mode places three copies of the cover in a fan, which works as a series banner when the three volumes share a design.
  • A self-publisher with an ebook-only title has no spine or back cover to show. Choosing the tablet product puts the cover on a screen with a bezel, and the 16:9 canvas gives a wide image for a landing-page header.

How to use this tool

  1. Add the front cover; add a spine and a back cover if you have them.
  2. Pick the product, then drag the picture to turn the book and tilt the camera.
  3. Adjust thickness, gloss, light and shadow, and choose the background and canvas shape.
  4. Choose the export size and press Download PNG.

Example

A 600 × 900 px cover, paperback, 7% thickness, turned 28° to show the spine, 4:5 canvas, 3,000 px long side

Transparent background, shadow 0.5, gloss 0.4, field of view 24°, camera height 10°

What you get

A 2,400 × 3,000 px PNG with a transparent background
Book 0.667 units wide by 1 high by 0.07 deep, so a 230 mm tall paperback is drawn about 16 mm thick
The spine takes the cover's average colour, darkened by 20%, when no spine picture is given

Tips for best results

  • Use a spine picture whenever you have one; the default spine is a flat colour, which looks plain next to a printed cover.
  • Keep the camera height between 5° and 15° for a shop-style picture, and raise it to 30° or more to show the top edge of a box set.
  • A lower gloss suits matte paperback finishes; raise it for a laminated hardcover jacket.

Common pitfalls

This is a rendering of a simple box, not a photograph. The spine edge is square, pages do not curl, and a dust jacket's flaps are not modelled.

The box set uses the same cover for all three books. For three different covers, render each as a paperback and combine the PNGs in an image editor.

Common errors and how to fix them

"This browser could not start WebGL 2"
Turn on hardware acceleration in the browser settings, or use a current version of Chrome, Edge, Firefox or Safari.
"This graphics card draws at most N pixels on a side"
Choose a smaller export long side; the message names the limit.
"The graphics context was lost"
The driver reset. Reload the page and add the pictures again.
The cover looks stretched or the book is the wrong shape
The book's width comes from the cover's pixel shape. Crop the picture to the real trim ratio first, for example 6 × 9 in is 0.667.

How the shadow is made

The shadow is not a traced shadow. The ground plane darkens by the distance from the book's footprint rectangle, which is a signed distance function, with a soft edge that widens with the thickness. It follows the book as it turns and, in a box set, merges the three footprints.

Texture filtering and light

The cover texture is uploaded at up to 2,048 pixels on the long side with mipmaps and, where the graphics card has it, anisotropic filtering up to 8×, which keeps small type readable when the cover is seen at an angle. The light is one key light plus a constant ambient term, with a specular highlight whose strength is the gloss slider.

Frequently asked questions

How should the spine picture be made?

Make it as tall as the cover and as wide as the spine is thick, with the title reading from top to bottom as on printed American and British books. The page maps it onto the spine face without rotation.

Why does a very large export fail on my computer?

The export draws into a canvas of the size you choose, and the browser and graphics card set the maximum. The page asks the card for its limit and says so, or reports that the drawing surface could not be created; pick a smaller long side, such as 4,000 px, which is still ample for a book page.