Dynamic Schema Generator
Schema templates that fill themselves in from each page, for sites with hundreds of products, services or locations.
- Free, no sign-up
- One template, every page
- WordPress and any CMS
{{post_title}}, {{meta_price}}, or {{custom_field}}. The generator outputs ready-to-use code for your chosen platform.
{{post_title}}, {{post_excerpt}}, {{post_url}}, {{featured_image}}, {{post_date}}, {{post_modified}}, {{author_name}}, {{author_url}}, {{category}}, {{tags}}, {{meta:field_name}}, {{acf:field_name}}
| Schema field | Required | Your value or variable | Example |
|---|
PHP / functions.php
Advanced Custom Fields
Vanilla / React / Vue
Google Tag Manager
Any PHP framework
wp_head. Uses native WordPress functions like get_the_title(), get_post_meta(), get_the_permalink(). Drop into your theme's functions.php or a custom plugin.
Builds a schema template with fields that fill themselves in from each page, plus the code to add it to your site.
{
"@type": "Product",
"name": get_the_title(),
"price": get_post_meta($id,'_price'),
"sku": get_post_meta($id,'_sku')
}
{
"@type": "Product",
"name": "SEO Clarity Report",
"price": "100",
"sku": "SEO-001"
}
Free on this page, or in the free app
| On this page | In the RR SEO Tools app | |
|---|---|---|
| Use the tool | Free, no sign-up | Free account (just your email) |
| Full reports | A preview, then the full report when you sign in free | Always shown in full |
| Check pages by URL | 10 free a day with an account | The same free allowance |
| Your reports | Shown on this page | Saved to your account to reopen and compare |
| Phone and computer | Works in any browser | Install it like an app |
| Every tool | One tool per page | All tools, one sign-in and one history |
Open this tool in the app Free. Sign in with just your email.
Schema for hundreds of pages, written once
Hand-written JSON-LD works for a handful of pages. It breaks down on an online store with 5,000 products, a blog with 800 posts or a business with 40 locations, where every price change, new post or new branch means more markup to keep up to date. The Dynamic Schema Generator turns your schema into a template that reads each page's own values.
How it works
You describe your site once (brand, URL, currency and language), choose the page types (product, article, local business, service, FAQ and more) and map each schema property to where that value lives on your site: a WordPress custom field, a PHP variable, a data layer value or an element on the page. The tool writes the code in the format you deploy:
- WordPress (PHP): a snippet for your theme or a code snippets plugin, using your post and custom field values.
- Plain PHP: for custom platforms and frameworks.
- JavaScript: builds the JSON-LD in the browser from the page's data.
- Google Tag Manager: a Custom HTML tag that reads data layer variables.
Server-side is best where you can
Google can read schema added by JavaScript, but markup printed by the server is read on the first pass, every time, by every crawler, including AI crawlers that don't run JavaScript. Use the PHP output when you can, and GTM or JavaScript when you can't change the templates.
How to use this tool
- 1Describe your site
Your brand name, URL, currency and default language are reused in every template.
- 2Choose page types
Pick the templates you need: product, article, location, service or FAQ.
- 3Map your fields
Tell the tool where each value comes from (custom field, variable or data layer).
- 4Copy the code and test
Deploy the snippet, then test a few pages of each type in the Rich Results Test.
Frequently asked questions
Do I need a developer?
For the WordPress snippet, anyone comfortable adding code to a theme can do it. For custom platforms, a developer will put the PHP or JavaScript in the right template.
Will it slow my site down?
No. Server-side JSON-LD is a few hundred bytes of text, and the JavaScript and GTM versions add a small script.
Does Google read schema added by Tag Manager?
Usually, yes, because Google renders pages. Some other crawlers, including many AI crawlers, don't run JavaScript, so server-side output is safer.
What if a page is missing a value?
The generated code skips empty properties instead of printing blank values, so a page without a rating, for example, simply leaves it out.
Is this tool free?
Yes, the Dynamic Schema Generator is free to use.
Get help beyond the tool
Our SEO-Ready CMS generates schema from each page automatically, or we can add it to your current platform.
Part of the free schema markup tools Β· See all free tools
Β© 2026 RR Web Services. This free tool, its code and its methodology are proprietary. You may not copy, reproduce or reuse any part of it without our written permission.