Skip to content

Schema markup for bookshops

Schema markup for bookshops, from ISBN to signings

Mark each book page as both Book and Product, with the ISBN, author, format, edition, publisher and page count alongside an Offer for your price. The ISBN ties your page to the same book everywhere else, and the rest says exactly which edition is on your shelf.

The type to use

Book

Book carries the bibliographic details; listing Product as a second type on the same block keeps the price and stock readable as a sale. The shop itself is a BookStore, described once with its address and hours.

Book on schema.org

What to include

The properties that matter for bookshops

Most important first. Fill in what's true for you and leave out the rest; every value must also be on the page.

isbn
The 13-digit ISBN of the edition you're selling, without hyphens, taken from your copy rather than the first search result.
gtin13
The same 13 digits again: for books the ISBN is the barcode, and gtin13 is the barcode field product markup uses.
author
A Person for each author, named as on the cover.
bookFormat
Hardcover, Paperback, EBook or AudiobookFormat as a schema.org link. Someone after the hardback wants to know that's what you have.
bookEdition
What makes your copy different: “Signed first edition”, “Independent bookshop edition with sprayed edges”.
publisher
The publisher of this edition. Australian, UK and US editions often come from different houses.
numberOfPages
From the publisher's data. Readers use it to tell a long weekend read from a quick one.
offers
Your price and stock, with itemCondition saying new or secondhand if you sell both.

Example

Copy, then make it yours

This is the markup for a made-up business. Replace every value with your own before you use it.

  1. Change every name, address, number and link to your own, and delete lines that don't apply.
  2. Paste it into your site's header code (website builders call it “code injection” or “custom code”), or let ShopCited add it for you.
  3. Check it with Google's Rich Results Test or the Schema Markup Validator.

Book JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": [
    "Book",
    "Product"
  ],
  "name": "The Salt Orchard",
  "author": {
    "@type": "Person",
    "name": "Margot Ellery"
  },
  "isbn": "9781760412388",
  "gtin13": "9781760412388",
  "bookFormat": "https://schema.org/Hardcover",
  "bookEdition": "Signed first edition",
  "numberOfPages": 384,
  "publisher": {
    "@type": "Organization",
    "name": "Kestrel House"
  },
  "inLanguage": "en",
  "image": "https://www.example.com/images/salt-orchard-cover.jpg",
  "offers": {
    "@type": "Offer",
    "url": "https://www.example.com/books/the-salt-orchard-signed",
    "price": "39.99",
    "priceCurrency": "AUD",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition"
  }
}
</script>

Watch out

Mistakes bookshops make with markup

  • The ISBN of a different edition

    Copying the first ISBN a search turns up often gives you the US paperback, not the hardback on your shelf. Use the one printed on the copy you're selling.

  • Product with no Book alongside it

    A plain Product block says nothing about who wrote the book or what format it is. Add Book to the type and the bibliographic fields come with it.

  • Signed copies on the unsigned page

    If a signed copy costs more, it needs its own page or variant with its own price. One block can't carry two prices for two different copies.

Also worth adding

  • BookStore: On your contact page, with the shop's address, opening hours and phone number.
  • Event: For signings, launches and book club nights, one per event with the date, time and ticket link.
  • ItemList: On staff-pick and prize-list pages, listing the books in the order you recommend them.

FAQ

Bookshops: markup questions

Type to search these questions, or ask anything about getting found on Google and AI.

Do secondhand copies need their own pages?

Yes, each copy you list, because condition and price differ. Use the same ISBN, set itemCondition to UsedCondition, and describe the copy (foxing, inscriptions, dust jacket) in text.

How do I mark up an author signing?

As an Event on its own page, with the date, start time, your shop as the location and a link to tickets. Event markup can appear in Google's event results.

Should books I can order in, but don't stock, have markup?

Yes, if the page sells them. Set availability to BackOrder and write the usual wait (“usually 5–10 days”) next to the price, so nobody expects it tomorrow.

Someone is asking for your product right now.

Check your store free, then press Optimize. Back to the orders.