Schema markup generator
Pick a page type, fill in the fields, and copy a JSON-LD script tag you can paste into the page. Empty fields are left out, so the output only contains what you entered.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization"
}
</script>Which type to use
- Organization on the homepage: name, logo, and sameAs links to your official profiles, so engines connect your site to the same company elsewhere.
- LocalBusiness for a business with a physical location or service area: address, phone and opening hours.
- FAQPage only where the page really is a list of questions and answers that are visible on the page.
- Product on product pages: price, currency and availability that match what the page shows.
- Article on blog posts and guides: headline, author, and published and updated dates.
Rules that keep structured data useful
Mark up only what a visitor can see on the page, keep prices and dates in step with the page, and use one main type per page. Markup that contradicts the page is ignored at best and can lead to a manual action.
Adding schema across a site
This generator handles one page at a time. Connected to XeoRank, your AI assistant can generate schema from each page's actual content and add it to WordPress pages, including Elementor layouts, after you approve the change. See the XeoRank MCP server.
Questions
- Where do I paste the JSON-LD?
- Inside the HTML of the page it describes, in the head or the body. On WordPress, most SEO plugins and header-script plugins accept it; on Shopify, add it to the relevant theme template.
- Will schema markup get me rich results?
- It makes a page eligible, it does not guarantee them. Google decides when to show rich results, and some types are restricted: FAQ rich results, for example, no longer appear in Google Search.
- Does schema help with AI answers?
- Structured data helps machines read what a page is about, such as the business name, address and prices. Google says there is no special schema required to appear in AI Overviews or AI Mode, and the markup must match the visible text on the page.
- How do I test the result?
- Paste the page URL or the code into Google's Rich Results Test or the Schema Markup Validator at validator.schema.org before you publish.
More free tools
Reads your sitemap and page titles and drafts an llms.txt file you can edit and download.
Robots.txt generatorBuild a robots.txt that allows AI search crawlers and blocks AI training crawlers, with a WordPress preset.
AI crawler checkerShows which AI crawlers your robots.txt lets in: GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended and more.
Meta tag checkerTitle, meta description, canonical, robots, H1 and Open Graph tags for up to 10 pages, with length checks and duplicates.
Sitemap checkerFinds every sitemap a site declares, counts the URLs, checks lastmod dates and spot-checks that listed URLs return 200.
Redirect checkerTests http, https, www and non-www versions of a site and shows every redirect hop, so you can see if they all land on one URL.
Keyword density checkerWord count and the most repeated words and phrases in your text, plus how often a target keyword appears. Runs in your browser.
SERP snippet previewSee how your title and meta description may look in Google on desktop and mobile, and where they get cut off.
Open Graph checkerog:title, og:description, og:image and twitter:card tags for up to 5 pages, with a preview of the shared link card.
H1 checkerThe H1 heading of up to 10 pages, flagging pages with none or more than one.
Canonical tag checkerWhether each page's canonical points to itself, is missing, or tells Google to index a different URL.
Hreflang checkerHreflang tags, language and region codes, x-default and return links between language versions.
Core Web Vitals checkerReal-user LCP, INP and CLS from the Chrome UX Report plus a Lighthouse lab test, on mobile or desktop.