Guides/Create content/Embeds/Embed ebooks from the Internet Archive

Embed ebooks from the Internet Archive

Last reviewed on October 22, 2025

Over 20,000,000 free digital books are available online through The Internet Archive’s Text Archive (Archive.org) and Open Library, an initiative of The Internet Archive. You can embed these books in a WordPress.com site so that your visitors can read the books without even leaving your website.

Obtain the ebook embed code

To embed any ebook, the first step is to choose the listing that you want:

  • Internet Archive will open the book right away.
  • On Open Library, click Read to open the ebook viewer:
On Open Library, the Read button is located just underneath the book's thumbnail image, on the left side.

📌

For Open Library: The embed code will work for a book from the eBook lending library (books that say Borrow instead of Read), but only while the book is checked out to you, and others will not be able to view the book.

Once the book is open, on either site, click the “Share this item” button below the book:

The share this item button is highlighted.

A pop-up will appear with some social media buttons and two codes. For WordPress.com, use the bottom code, known as a shortcode. Copy the shortcode to your device’s clipboard:

The embed shortcode is highlighted in an orange box.

Embed the ebook on your site

On your WordPress.com site:

  1. Edit the page or post where you want to display the ebook.
  2. Click the + block inserter and add a Shortcode block.
  3. In the Shortcode block, paste the code you copied earlier:
An archiveorg shortcode in the Shortcode block.
  1. Click the Save button and view the embed on your site.
A screenshot of an embedded ebook example

Troubleshooting Internet Archive embeds

  • If you do not see the “Share this item” button as described above, you may need to exit Full-Screen or Theater mode.
  • You can also access the shortcode from the three dots on the top left when viewing any ebook.
  • Once you have the shortcode on your site, you can modify the width and height parameters in that shortcode to change the size of your book embed, with all sizes measured in pixels.

For information about troubleshooting embeds, take a look at our Troubleshooting Embed Links guide.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!