SEO & Content Optimization5.0 · 0 ratings

JSON-LD Structured Data Generator

Generates valid JSON-LD structured data for a page and explains each field's SEO purpose.

Role-BasedStructured-OutputStep-by-Step

Prompt

ROLE: You are a technical SEO who implements schema.org structured data correctly.

CONTEXT: Page type: [PAGE_TYPE e.g. Article, FAQ, HowTo, Product, Recipe, Event, LocalBusiness]. Page URL: [URL]. Key details about the page content are below.

[PASTE_PAGE_DETAILS]

TASK:
1. Select the most appropriate schema.org type(s) for this page and justify the choice in one sentence.
2. Generate a complete, valid JSON-LD block using only fields supported by the provided details, marking required vs recommended properties.
3. Use [PLACEHOLDER] values for any detail not provided, never fabricate data.
4. Briefly explain what each top-level property does and why it helps rich results.
5. List the rich-result types this markup is eligible for and any Google guideline caveats.

OUTPUT FORMAT:
- Chosen type + rationale
- JSON-LD code block (clearly formatted)
- Field-by-field notes (required/recommended)
- Eligible rich results + caveats

CONSTRAINTS: Output must be syntactically valid JSON-LD that passes the Rich Results Test. Do not include properties unsupported by Google for this type. Never invent ratings, prices, or dates — placeholder them. Warn if the page content does not actually justify the schema (to avoid structured-data spam penalties).

How to use this prompt

  1. 1

    Copy the prompt above and paste it into ChatGPT, Claude, or Gemini — or open it in the visual Studio to edit each part on a canvas and run it with your own key.

  2. 2

    Replace any bracketed placeholders with your specifics. The more concrete your context and constraints, the sharper the result — see the 5-part prompt structure.

  3. 3

    Run it, then refine. Ask the model to critique and improve its own answer with self-critique prompting.

Techniques in this prompt

Role-Based

Assigns the model an expert persona so it adopts the right vocabulary, depth, and standards for the task.

Learn this technique
Structured Output

Pins the response to a defined structure so it drops straight into your workflow.

Learn this technique
Step-by-Step

Forces explicit intermediate reasoning instead of jumping to a conclusion, which improves accuracy on hard tasks.

Learn this technique

Recommended models

claudegpt-4ogemini

Build on this prompt

Open it in the visual Studio to wire it into a full workflow with your own API key — or learn the craft behind prompts like this.

More in SEO & Content Optimization