Skip to content
100% local

Book schema generator

Build a schema.org Book JSON-LD block from a title, author, ISBN and other details.

Output

Book schema generator

Fill in a book's title, author, ISBN, publisher, publication date and a few other details, and this tool assembles a schema.org Book JSON-LD block you can paste straight into a page's <head>. It is built for authors, publishers and bookshops who want their book pages eligible for Google's book rich results without hand-writing structured data.

Beyond the core fields, add up to three edition ISBNs (paperback, e-book, audiobook) to get a workExample list, so one Book record can describe every format you sell. An optional offers block covers price, currency, a buy link and availability, and an aggregateRating block appears once you enter both a rating value and a rating count. The options control how the JSON-LD looks rather than what it contains: wrap it in a <script> tag or leave bare JSON, choose no indentation or 2/4-space indentation, sort keys alphabetically for easier diffing, and decide whether blank fields are omitted or written out as empty values. A required-properties check flags how many of the five fields Google's guidelines weigh most — title, author, ISBN, publisher and publication date — are filled in, and curly quotes pasted from a word processor are straightened by default.

The tool handles long descriptions and Windows or Unix line endings like every TextArray tool, and caps output at 10 MB so a runaway paste can't freeze the tab. The live tally under the output reports populated properties, the required-field count and the total size in characters.

Everything runs locally in your browser — the fields you fill in are never uploaded anywhere. When the schema looks right, copy it, download it as a .txt file, or send the output back into the input to keep refining it.

FAQ

Which fields does Google actually use for book rich results?
Title, author, ISBN, publisher and publication date matter most. The tally under the output shows how many of those five are filled in.
How do I show a book that comes in paperback, e-book and audiobook editions?
Enter an ISBN for each edition you want listed. Every filled-in edition ISBN adds a workExample entry with its own bookFormat and isbn value.
What happens to fields I leave blank?
By default they're left out of the JSON-LD entirely. Turn off "Omit empty fields" to write them out as empty values instead, which is useful when you want to see the full shape of the schema.
Can I use this for JSON-LD without the <script> tag?
Yes. Turn off "Wrap in <script> tag" to get bare JSON you can embed however your templating system expects.
Is my book information uploaded anywhere?
No. The schema is built entirely in your browser from what you type — nothing you enter is sent to a server.