Skip to content

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
Ecommerce
Product pages at scale
Blog / News
Article & BlogPosting
Multi-location
LocalBusiness chains
Service pages
Services & FAQs
Events
Recurring events
Custom
Build your own
Step 1Schema type
Step 2Map fields
Step 3Platform
Step 4Get code
Ecommerce: Product schema
Generates Product schema for every product page. Includes price, availability, ratings and brand, filled in from your data.
How this works: You define your field mappings in Step 2. Each field can be a static value or a dynamic variable like {{post_title}}, {{meta_price}}, or {{custom_field}}. The generator outputs ready-to-use code for your chosen platform.
Map your data fields
Tell us where each schema field comes from. Use dynamic variables or enter static values. Available variables depend on your platform (selected in Step 3).
Available WordPress variables:
{{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
Choose your platform
Pick how you want to add the schema. We'll write code for that platform with the right syntax and variable names.
WordPress
PHP / functions.php
WP + ACF
Advanced Custom Fields
JavaScript
Vanilla / React / Vue
GTM
Google Tag Manager
Pure PHP
Any PHP framework
WordPress (functions.php): Generates a PHP function that hooks into 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.
Bulk mode: CSV preview (optional)
Paste a CSV with headers to preview how your schema would look for the first few rows. Headers become variable names.

Builds a schema template with fields that fill themselves in from each page, plus the code to add it to your site.

How dynamic schema works
01
One template
You build a schema template once. Instead of static values, you map each field to a dynamic variable from your CMS or database.
02
Filled in automatically
When any page loads, the template pulls in real data (product name, price, date, author) and outputs correct JSON-LD for that specific page.
03
Grows with your site
If you add 10,000 new products, each one gets its schema automatically. No manual work, no plugin, no recurring cost.
04
AI and rich results
Structured data tells Google, ChatGPT, and Perplexity what every page is about. That makes every page eligible for rich results and easier for AI tools to cite.
Manual schema (small sites)
Fill in a form for each page
Copy-paste into every template
Update manually when data changes
Breaks when prices or dates change
Works for 5 to 10 pages at most
Dynamic schema (this tool)
Build template once, works everywhere
Drops into functions.php or GTM
Auto-updates when your data changes
Always accurate, because it pulls live data
Works for 10 or 100,000 pages
Example: a product page template for 500 products
Your template (written once)
{
  "@type": "Product",
  "name": get_the_title(),
  "price": get_post_meta($id,'_price'),
  "sku": get_post_meta($id,'_sku')
}
β†’
Output on product page 1
{
  "@type": "Product",
  "name": "SEO Clarity Report",
  "price": "100",
  "sku": "SEO-001"
}

Free on this page, or in the free app

On this pageIn the RR SEO Tools app
Use the toolFree, no sign-upFree account (just your email)
Full reportsA preview, then the full report when you sign in freeAlways shown in full
Check pages by URL10 free a day with an accountThe same free allowance
Your reportsShown on this pageSaved to your account to reopen and compare
Phone and computerWorks in any browserInstall it like an app
Every toolOne tool per pageAll 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

  1. 1
    Describe your site

    Your brand name, URL, currency and default language are reused in every template.

  2. 2
    Choose page types

    Pick the templates you need: product, article, location, service or FAQ.

  3. 3
    Map your fields

    Tell the tool where each value comes from (custom field, variable or data layer).

  4. 4
    Copy 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

Build schema into your templates

Our SEO-Ready CMS generates schema from each page automatically, or we can add it to your current platform.

See SEO-Ready CMS