Review Schema Generator

Rating given—
Schema type—
Code length (characters)—

How Review Schema Generator is calculated: Review = itemReviewed + author + reviewRating + review body, written as JSON-LD

What is a review schema generator?

A review schema generator writes the Review block for a page that reviews something: a small piece of JSON-LD that tells a search engine who reviewed what, what rating they gave, and what they said. The block uses the Review type from schema.org, and it is the schema that makes a review result show stars in search — the row of yellow stars under a link that tells a searcher, before they click, that someone rated this product, book, or restaurant.

Those stars are the whole point. A plain result shows a title and a short snippet. A result with review schema shows the rating next to it, and a searcher choosing between two similar products picks the one with stars and a good rating. The stars do not change where a page ranks, but they change how it looks, and a result that shows a rating earns more clicks than one that hides it.

This generator builds the block from seven fields. Type the name of the thing reviewed, pick its type, add the reviewer's name, the rating, the best possible rating, the review text, and the date. Press the button and the code appears below, ready to copy. Paste it into the head of the review page, and the search engine will read it on its next visit.

How review schema works

The block is a JSON-LD object with the type Review. After the two lines every schema carries — @context and @type — come the review's own properties. itemReviewed is an object holding the type of the thing and its name: a Product called Example Wireless Headphones, or a Book called Example Novel. author is a Person with the reviewer's name. reviewRating is a Rating object with a ratingValue and a bestRating. Then come reviewBody, the review text, and datePublished, the date of the review.

The rating and the best rating travel together. A rating of 4.5 with a best rating of 5 means four and a half out of five. A rating of 3 with a best rating of 5 means three out of five. The search engine reads the pair, not the single number, so the scale is always clear. Get the best rating wrong and the stars come out wrong — a 4.5 out of 10 is a poor review, and a 4.5 out of 5 is a good one.

Every field you leave blank is left out of the output, except the rating, which is always written. A review with no body still has its rating, and one with no author still has its item. The block is valid with the item and the rating alone, because it only ever writes what you typed. A JSON validator can check the finished block if you want a second opinion before you paste it in.

Rating, best rating, and review text, explained

The rating is the score the reviewer gave, on the scale you set. The default scale is 0 to 5, which is the scale most readers know: 5 is excellent, 4 is good, 3 is average, and anything below 3 is a warning. The rating should match the review text — a glowing review with a rating of 2 makes no sense, and a harsh review with a rating of 5 makes even less. Readers notice the mismatch, and so does the search engine.

The best rating is the top of the scale. For most reviews it is 5, and the default here is 5. It only changes when the review uses a different scale — a 10-point scale, for example, where the best rating is 10. Set it to the scale the review actually used, not the scale you wish it used. A rating of 8 out of 10 is not a rating of 8 out of 5.

The review text is the review itself, in one or two sentences. The default here — The sound is clear, the battery lasts all week, and the fit is comfortable — is a good model: specific, plain, and short. The text in the schema must match the review on the page. Schema is a label on visible content, not a second place to write a review. If the page shows the review, the schema can mark it up. If it does not, the schema is false data. A meta tag generator writes the title and description that sit above the review in the results.

A worked example: a review of headphones

Take the defaults on this page. The item is Example Wireless Headphones, a Product. The reviewer is Example Reviewer, the rating is 4.5 out of 5, the review says the sound is clear, the battery lasts all week, and the fit is comfortable, and the date is 2026-11-15. Press Generate Review Schema and the rating shown is 4.5, the type reads Review, and the code is 489 characters long. The reviewRating holds ratingValue 4.5 and bestRating 5, and the itemReviewed holds the type Product and the name Example Wireless Headphones.

Now change the item to Example Novel, a Book, the rating to 3 out of 5, the review to A slow start, but the last third is hard to put down, and the date to 2026-11-10. The rating shown becomes 3, the code is 448 characters long, and the itemReviewed now holds the type Book and the name Example Novel. The shape of the block does not change — only the facts inside it do.

That is the check to run before you publish. Read the rating in the block and read the rating on the page: the two must match, and the review text must match too. Paste the block into the head of the review page, save, and test it with the search engine's rich results test. A SERP preview tool shows how the title and description around the review will look in the results.

Why review schema matters

Review schema is how a search engine shows trust. A product page with stars and a rating looks like a product people have tried; a product page without them looks like a product nobody has touched. Shoppers read stars before they read words, and a good rating next to a link is worth more than a clever title above it.

It also matters for the review itself. A review page that states its rating plainly — 4.5 out of 5, from a named reviewer, on a named date — reads as honest. A review page that hides its rating reads as if it has something to hide. The schema forces the facts into the open, and the openness is what earns the click.

The same block feeds the features that show reviews: star ratings in search, review snippets, and the review cards in shopping results. A review with no schema is invisible to those features, even if the words on the page are perfect. A meta tag generator writes the title and description that sit above the review in the results.

Review schema generator vs writing the block by hand

Writing a review block by hand means typing the same nested shape three times: an itemReviewed with a type and a name, an author as a Person, and a reviewRating with a value and a best value, each with its own braces and commas. One missing brace breaks the whole block, and the error is invisible until you test the page — a search engine simply ignores broken schema and shows the plain result.

A generator removes those errors. It builds the nesting from your fields, so the item is always an object with a type and a name, the author is always a Person, and the rating is always a Rating with both numbers. It writes the best rating next to the rating, so the scale is never left unclear, and it leaves empty fields out, so a review with no body still produces a valid block.

Hand-writing still has a place on a site that builds its reviews from a database, where the block is written once in a template. But for a single review, a small blog, or a quick check of what the block should look like, the generator is faster and safer. The same rating can be checked against the review text on the page before you publish.

Common mistakes with review schema

The most common mistake is marking up a review that is not on the page. Schema must label visible content. If the review exists only in the code, the search engine treats the block as false data and can drop the stars — or drop the page's extras entirely. Write the review on the page first, then mark it up.

The second mistake is a rating that does not match the review. A glowing review with a rating of 2, or a harsh review with a rating of 5, is a contradiction, and readers notice it before the search engine does. The rating and the words should agree. If they do not, fix one of them before you publish.

The third mistake is the wrong scale. A rating of 8 out of 10 written with a best rating of 5 reads as 8 out of 5, which is nonsense, and the search engine may show stars that make no sense. Set the best rating to the scale the review actually used. And the fourth mistake is forgetting to test: run the block through the rich results test before you move on, and check that the stars appear as you expect.

How to use this review schema generator

First, type the name of the thing reviewed — the product, book, film, restaurant, or business. Pick its type from the dropdown. Add the reviewer's name, the rating given, and the best possible rating — 5 is the default scale, and it fits most reviews.

Write the review text in one or two sentences, in plain words, and set the review date. Press Generate Review Schema. The block appears in the box below, and the results box shows the rating, the schema type, and how long the code is. Check the rating against the review on your page: the two must agree.

Finally, copy the whole block and paste it into the head section of the review page, before the closing head tag. Save the page and test it with the search engine's rich results test, which reads the block and reports any errors. If it reports none, the stars should appear under your link the next time the search engine shows the page. If the page also needs its title and description tags, a meta tag generator writes those.

Frequently Asked Questions

Review schema is a block of JSON-LD code with the type Review that describes a single review: the item reviewed, its type, the reviewer, the rating given, the best possible rating, the review text, and the date. Search engines read the block and can show the star rating directly in the search results, under the page link.

A Review describes one person's review, with one rating and one review text. An aggregateRating describes the average of many reviews, with a ratingValue and a reviewCount. A product page with many reviews uses aggregateRating; a page with a single review uses Review. The two should not be mixed up: one review is not an average.

Yes. The review text, the rating, and the item in the schema must match the review a visitor can read on the page. Schema is a label on visible content, not a second place to write a review. If the review exists only in the code, the search engine treats the block as false data and can drop the stars.

The top of the scale the review actually used. For most reviews that is 5, and the default here is 5. If the review used a 10-point scale, the best rating is 10. A rating of 8 out of 10 written with a best rating of 5 reads as 8 out of 5, which is nonsense, so set the scale to match the review.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.