On this page:
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.

numberOfPages

numberOfPages · Not mentioned by Google

Appears in

Book

What is it?

The numberOfPages property states how many pages a book contains. It accepts an integer value representing the total page count of the edition.

Why this matters for AEO

When a user asks "how long is The Catcher in the Rye," AI answer engines pull numberOfPages to provide a direct factual answer. This field converts a simple metadata lookup into a zero-click response.

What the specs say

Schema.org:Integer. The number of pages in the book.

Google: Not mentioned. Field not listed in Google's structured data documentation for Book. Source

How to find your value

  • Copyright page — Total pages listed
  • Publisher catalog — Edition details
  • Library records — WorldCat or local catalog
  • Bookseller listing — Product specifications

Format and code

{
  "@context": "https://schema.org",
  "@type": "Book",
  "name": "The Catcher in the Rye",
  "numberOfPages": 224
}

Note: use a number, not a string. 224 is correct; "224" works but is less precise.

Webflow implementation

Static pages

Add numberOfPages as an integer inside your Book JSON-LD block in Page Settings > Custom Code > Footer Code.

CMS template pages

Create a CMS number field for page count. Reference it in a custom code embed to populate numberOfPages.

In Schema HQ

The numberOfPages field does not currently generate Book markup. Add page count data manually through Webflow custom code.

Real examples

From Schema.org Book Example:

{
  "@context": "https://schema.org",
  "@type": "Book",
  "name": "Holt Physical Science",
  "numberOfPages": "598",
  "isbn": "9780030426599"
}

From JSONld.com:

{
  "@context": "https://schema.org",
  "@type": "Book",
  "name": "The Catcher in the Rye",
  "numberOfPages": "224",
  "isbn": "0316769487"
}

Related fields

FAQ

Does numberOfPages go on the top-level Book or workExample?

It can go on either. If page counts differ between editions (paperback vs. hardcover), place it on each workExample. If the count is the same across editions, the top-level Book works fine.

Should the value be a number or a string?

Schema.org specifies Integer. Use a raw number (224) for strictness. String values ("224") are tolerated by most parsers but are technically less correct.

On this page:
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.

Need help with schema on your site?

We implement structured data for Webflow sites — from audit to deployment.

Work with us

Work with us