AI Schema Generator — Help & Documentation
Learn how to generate valid JSON-LD structured data using AI. Paste your content, choose a schema type, supply your own API key, and get copy-ready markup in seconds.
Features
16 supported schema types: Article, Blog Post, Product, FAQ Page, How-To, Local Business, Organisation, Person, Event, Recipe, Review, WebSite, WebPage, Breadcrumb List, Video, and Image
Supports both Anthropic (Claude) and OpenAI (GPT) as the AI provider — choose the model you already have an API key for
Optional page URL field — when provided, the AI uses it to populate @id, url, and similar URL-based properties automatically
Syntax-highlighted JSON output with VS Code-style token colouring for easy reading
One-click Copy JSON button to grab the raw JSON-LD object
One-click Copy script tag button to grab the complete <script type="application/ld+json"> block ready to paste into your HTML
API key is validated client-side before submission to avoid unnecessary requests
How to Use
Select the schema type
Use the Schema type dropdown to choose the type that best matches your content. For a news article use Article; for a product page use Product; for an FAQ section use FAQ Page, and so on.
Enter the page URL (optional but recommended)
Paste the canonical URL of the page. The AI uses this for the @id and url fields in the generated schema, which helps Google associate the markup with the correct page.
Paste your content
Paste the main text of the page — at least 20 characters are required. The more detail you provide (product name, price, author, publish date, steps, ingredients, etc.) the more complete the generated schema will be.
Enter your API key
Select your provider (Anthropic or OpenAI) and paste your API key. The key is validated immediately and shown as a masked field. It is never stored — it is only used for the current request.
Click Generate schema
The tool sends your content, schema type, and URL to the selected AI provider and returns a complete JSON-LD object. Generation typically takes 5–15 seconds.
Copy and embed the output
Use Copy script tag to grab the full <script> block, then paste it into the <head> of your HTML. Alternatively use Copy JSON if your CMS has a dedicated structured data field.
Supported Schema Types
| Schema Type | Best used for | Rich result eligibility |
|---|---|---|
Article / BlogPosting | News articles, blog posts, editorial content | Top stories carousel, article rich result |
Product | E-commerce product pages | Price, availability, and review stars in SERPs |
FAQPage | Pages with question-and-answer sections | Expandable FAQ dropdowns in search results |
HowTo | Step-by-step guides and tutorials | Numbered step rich result with images |
LocalBusiness | Physical business locations | Knowledge panel with address, hours, and phone |
Event | Conferences, concerts, webinars | Event listing with date and location |
Recipe | Food and drink recipes | Recipe card with cook time and ratings |
Review | Product or service review pages | Star rating in SERP snippet |
VideoObject | Pages with embedded video content | Video thumbnail in search results |
BreadcrumbList | Site navigation hierarchy | Breadcrumb trail shown below the page title |
Best Practices
Give the AI as much specific content as possible. Include the article author and publish date, the product price and availability, the recipe ingredients and cook time — the more detail in your input, the more accurate and complete the output.
Always provide the page URL so the schema's @id and url fields link back to the canonical page. This helps Google associate the markup with your content and not a generic entity.
Validate every generated schema with Google's Rich Results Test before deploying. This catches missing required properties and formatting issues that could prevent rich results from appearing.
Use FAQPage schema for pages that already have visible question-and-answer content — do not add FAQ markup to content that is not actually shown on the page, as this violates Google's structured data policies.
Add structured data to the <head> of your page inside a <script type="application/ld+json"> tag. This is the cleanest implementation method and does not require your JSON to be embedded in the visible HTML.