Loading...
Loading...
News articles, blog posts, and editorial content.
{
600">"@context": 600">"https://schema.org",
600">"@type": 600">"Article"
}Schema markup (structured data) tells Google and AI engines exactly what your page is about — an article, a product, an FAQ, a local business, an event or a recipe. Added correctly, it makes your pages eligible for rich results like star ratings, FAQ accordions, breadcrumbs and event listings, and it makes the facts on your page far easier for AI systems to extract, summarise and cite.
This generator produces clean, valid JSON-LD that you can copy straight into your page. There is no code knowledge required: pick a schema type, fill in the fields, and the tool builds the markup for you in real time. As you type, it flags required fields that are still empty and recommended fields that strengthen your eligibility, so you always know whether your markup is complete before you publish.
Supported types include Article, Product, FAQPage, LocalBusiness, Organization, Person, Event, HowTo, BreadcrumbList and Recipe — the schemas that drive the vast majority of rich results across the web. Everything runs in your browser, nothing is stored, and the output is free to use on any number of pages.
Structured data is a standardised vocabulary — defined at Schema.org and supported jointly by Google, Microsoft, Yahoo and Yandex — that describes the meaning of your content in a machine-readable way. A normal web page tells a human "this is a $29 wireless mouse with 120 reviews". Structured data tells a machine the same thing in an unambiguous format: name, price, currency, availability, rating value and review count, each tagged with its exact role.
Google strongly recommends the JSON-LD format, which is what this generator produces. JSON-LD lives inside a single script tag and is kept completely separate from your visible HTML, so it never affects how your page looks or behaves. That separation makes it easy to add, easy to update, and easy to validate without touching your page layout.
The payoff is twofold. First, valid structured data makes you eligible for rich results — the enhanced search listings with stars, prices, FAQ dropdowns, recipe cards, event dates and breadcrumb trails that take up more space and earn more clicks. Second, and increasingly important, structured data feeds the AI systems behind Google AI Overviews, ChatGPT, Perplexity and other answer engines. When your facts are clearly labelled, those systems can quote your page accurately instead of guessing or skipping it.
Article is for blog posts, news stories and editorial content; it captures the headline, author, publish date, image and publisher so your content can appear in news and Discover surfaces. Product is for any page selling a single item — it carries the name, price, currency, availability and aggregate rating that power price and star rich results.
FAQPage marks up a list of questions and answers and can produce expandable FAQ snippets directly in search. LocalBusiness describes a physical business with its address, phone number, opening hours and map coordinates, which supports local and map results. Organization and Person identify a company or an individual, including logos, contact points and linked social profiles via the sameAs property — a strong entity signal for both search and AI.
Event covers conferences, concerts and meetups with start and end times, venue and organiser. HowTo breaks a task into numbered steps. Recipe captures ingredients, prep and cook times, yield and ratings for recipe cards. BreadcrumbList describes the navigation trail to a page, which Google often displays in place of the raw URL. Pick the type that matches what the page actually is — never mark a page up as something it is not.
Once the generator shows your finished markup, copy either the raw JSON-LD or the full HTML script tag. Paste the script tag into the head of your page (the body also works). If your site runs on WordPress, Webflow, Shopify or a similar platform, you can usually drop the script into a custom-code or header-injection field for the relevant template.
Before you rely on it, validate. Run the markup through Google's Rich Results Test to confirm your page is eligible for a specific rich result, and through the Schema.org Validator (formerly the Structured Data Testing Tool) to confirm the syntax and vocabulary are correct. Both tools accept either a live URL or a pasted code snippet, so you can check your markup even before the page is published.
The golden rule is that structured data must match what a visitor actually sees. If your markup claims a 4.8 rating, that rating must appear on the page. If it lists a price, that price must be real and current. Marking up content that is hidden, fabricated or inconsistent with the visible page is a policy violation that can trigger a manual action and remove all your rich results.
The most frequent problems are missing required properties (for example a Product Offer with no price, or an Article with no headline), invalid value formats (dates that are not ISO 8601, or durations that are not ISO 8601 like PT30M), and broken or relative image and logo URLs where absolute https URLs are required. This generator highlights missing required and recommended fields as you go so you can catch most of these before you ever copy the code.
Other common mistakes include marking up content that is not visible on the page, using the wrong type for the content (tagging a category listing as a single Product, for instance), duplicating the same entity in multiple conflicting blocks, and forgetting the sameAs links that connect an Organization or Person to its official social and reference profiles. Keeping one clean, accurate block per entity per page is almost always better than stacking several overlapping ones.
After fixing errors, re-validate and then monitor. Google Search Console reports structured-data enhancements and warnings for your live pages, so it is the best place to confirm that your markup is being read correctly in production and to catch regressions if a template change quietly breaks it later.
This generator pairs well with the rest of the DarnItSEO toolkit. Use the JSON-LD validator workflow inside our schema analyzer to check existing markup that is already live on a page, and the FAQ schema generator pattern here to turn a support page into eligible FAQ rich results. If you write a lot of how-to or step-by-step content, the HowTo and Recipe builders save you from hand-writing nested step arrays.
For the bigger picture, run a full site audit to see which of your pages are missing structured data, then check the AI readiness and content quality reports to understand how your pages read to answer engines like AI Overviews, ChatGPT and Perplexity. Structured data is one signal among many — combining clean markup with strong on-page SEO and genuinely helpful content is what consistently earns rich results and AI citations.
Choose Article, Product, FAQ, LocalBusiness, Event, Recipe, Organization, Person, HowTo or Breadcrumb.
Enter your page's information in the form. Required and recommended fields are flagged as you type.
Copy the raw JSON-LD or the full HTML script tag with one click.
Paste the script into your page's head, then test it in Google's Rich Results Test and the Schema.org Validator.
Schema markup is structured data in JSON-LD format that describes your page's content to search engines and AI, unlocking rich results and clearer machine understanding of your facts.
Ten common types: Article, Product, FAQPage, LocalBusiness, Organization, Person, Event, HowTo, BreadcrumbList and Recipe. These cover the majority of rich results across the web.
JSON-LD is a JavaScript-based format that places your structured data inside a single script tag, separate from your visible HTML. Google recommends it because it is easy to add, update and validate without changing how your page looks.
Paste it inside a script tag of type application/ld+json in your page's head, or in the body. On most platforms you can drop it into a custom-code or header-injection field for the right template.
Run it through Google's Rich Results Test to check eligibility for a specific rich result, and through the Schema.org Validator to confirm the syntax. Both accept a live URL or a pasted snippet, and Google Search Console reports issues for your live pages.
Missing required properties, dates or durations that are not in ISO 8601 format, broken or relative image URLs, marking up content that is not visible on the page, and using the wrong type for the content. This tool flags missing required and recommended fields as you build.
No. Schema makes you eligible, but Google decides when to show rich results. Valid, accurate markup that matches your visible content gives you the best chance, while inaccurate or hidden markup can be penalised.
Yes. Clearly labelled facts are easier for AI Overviews, ChatGPT, Perplexity and similar engines to extract and cite accurately, which improves your visibility in AI-generated answers.
Yes, but customise each block to its page. The markup must always reflect the specific content that visitors see on that exact page, so reuse the structure, not the same details everywhere.
Yes, completely free with no signup required. Everything runs in your browser and nothing is stored.