Generate Schema.org JSON-LD structured data for a page

Get correct JSON-LD markup for your page (product, article, local business, event, recipe and more) based only on visible content, with required properties checked and validation steps. Designed for ChatGPT, Claude, Gemini and Microsoft Copilot. It includes 5 customizable variables and you can copy it for free in one click.

Intermediate · Code · Pending editorial review

Prompt

Act as a technical SEO specialist with deep knowledge of Schema.org structured data.

Page:
- Page type: {{page_type}}
- URL: {{url}}
- Content and data visible on the page: {{page_data}}
- Responsible organization or author (name, logo, official profiles): {{entity}}
- Where I will add it (CMS, template, tag manager): {{platform}}

Deliverables:
1. Recommended Schema types for this page and why; say whether any should be nested (for example, Offer inside Product, or a separate BreadcrumbList).
2. The complete, valid JSON-LD block inside <script type="application/ld+json">, with consistent @id values to connect entities.
3. Property table: required, recommended and optional for the Google rich result, marking which ones I filled in and which are missing.
4. Warnings: properties to leave out because the data is not on the page, and types whose rich result Google has limited or retired (check the current documentation).
5. Instructions for adding it in {{platform}} without duplicating markup a plugin or theme already outputs.
6. Validation: how to test it in Google's Rich Results Test and the Schema.org validator, and what to monitor in Search Console afterwards.

Constraints:
- Mark up only information users can see on the page. No invented ratings, prices, reviews or dates.
- If a required value is missing, set it to "[FILL IN]" and explain it in the table.
- Use correct formats: ISO 8601 dates, prices without symbols plus priceCurrency, absolute URLs.
- If the page type does not match any rich result, say so and propose the minimum useful markup.

Format: short explanation, JSON-LD code block, property table and a list of steps.

How to use it

Choose the page type and paste the data exactly as it appears on the page (price, availability, author, dates, address). Replace every [FILL IN] before publishing and validate the code in the Rich Results Test.

Usage example

Type: Product · URL: https://example.com/lightweight-trail-shoes · Data: USD 119, in stock, own brand, 3 sizes · Platform: Shopify.

Sample output

Product with nested Offer and AggregateRating, linked to an Organization via @id. Most Shopify themes already output breadcrumbs, so we skip BreadcrumbList.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "@id": "https://example.com/lightweight-trail-shoes#product",
  "name": "Lightweight Trail Running Shoes",
  "image": ["[FILL IN]"],
  "sku": "[FILL IN]",
  "brand": { "@type": "Brand", "name": "Ridgeline Outdoor Co." },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "reviewCount": "132"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/lightweight-trail-shoes",
    "price": "119.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "seller": { "@id": "https://example.com/#organization" }
  }
}
</script>

The price has no symbol and uses priceCurrency; image and sku stay as [FILL IN] because they are not in the data. Before adding it, check whether your theme or SEO app already outputs a Product block, or you will end up with duplicate markup…

Key facts

Category
Marketing & SEO · Technical SEO
Output type
Code
Level
Intermediate
Designed for
ChatGPT, Claude, Gemini and Microsoft Copilot
Verified in
Pending editorial verification
Variables
Page type, Page URL, Data visible on the page, Organization or author and Where it will be added
Language
English
Price
Free, no sign-up
Updated
Nov 7, 2026

Frequently asked questions

Does structured data improve rankings?

It is not a direct ranking factor, but it helps search engines understand the page and can make it eligible for rich results, which often improve click-through rate.

Can I mark up reviews or ratings that are not shown on the page?

No. Google requires markup to reflect visible content; marking up hidden or invented data can lead to a manual action.

What if my SEO plugin already outputs schema?

Check its output in the Rich Results Test first. Extend or disable the plugin’s block so you do not end up with duplicate or conflicting entities.

What is this prompt for?

Get correct JSON-LD markup for your page (product, article, local business, event, recipe and more) based only on visible content, with required properties checked and validation steps.

Which AI tools does it work with?

It is designed for ChatGPT, Claude, Gemini and Microsoft Copilot. We have not verified it in these tools yet, so results may vary between them.

How do I customize the prompt?

Click “Customize” and fill in the variables (Page type, Page URL, Data visible on the page, Organization or author and Where it will be added). The text updates instantly and you can then copy it in one click. Values are stored only in your browser.

Do I need experience to use it?

It is intermediate: it helps to know the topic so you can provide good context and review the result critically.

Is this prompt free?

Yes. Every HomeCasa Prompts prompt is free, with no sign-up or subscription. You can also use them in professional projects.

Can I trust the AI output?

Treat it as a high-quality draft: always check data, figures and important claims before publishing or making decisions.

Related prompts