Google Rich Results & Schema.org Compliant

Schema Markup Generator

Generate schema markup online with DevToolbox. Create JSON-LD structured data for articles, products, local businesses, organizations, events, and more. Copy or download the markup and add it to your website to help search engines understand your content.

Google recommends high-resolution images (min 1200px width).

Aggregate Rating (Optional for Star Snippets)
Google Policy Guidance: FAQ rich snippets are primarily shown for government and authoritative health resources. However, adding FAQ schema is still highly recommended to help AI search engines and search crawlers parse questions.

Add items in hierarchical order from root to current page.

Valid JSON-LD

How to Generate Schema Markup

You don't need to write the JSON-LD structure manually. Start with the type of content you want to describe and fill in the relevant fields.

1. Choose a schema type

Select the option that matches your page. For example, use Article for a blog post, Product for a product page, or LocalBusiness for a business with a physical location.

2. Enter your page details

Add the information requested by the generator, such as the page URL, title, description, image, author, price, or business details. The fields available will depend on the schema type you select.

3. Generate and review the markup

Check the generated output before using it. Make sure the information matches the actual content of your website and that URLs, dates, prices, and other details are correct.

4. Copy or download the result

Choose the output format available in the tool. You can generate an HTML script containing JSON-LD or copy the JSON data for use in your preferred implementation.

5. Validate your structured data

Test the generated markup before publishing it. Google's Rich Results Test can help identify supported rich-result issues, while the Schema Markup Validator can check your markup against the broader Schema.org vocabulary.


What Is Schema Markup?

Schema markup is structured data added to a webpage to describe what its content represents. It uses a shared vocabulary from Schema.org to identify things such as articles, products, organizations, people, events, and local businesses.

Consider a product page. A visitor can see the product name, price, image, and availability on the page. Structured data gives search engines a machine-readable way to understand those details.

The same idea applies to an article. Its structured data can describe the headline, author, publication date, featured image, and other relevant information.

Schema markup doesn't replace the content on your page. It provides additional context about that content, helping search engines interpret it more accurately.


Which Schema Type Should You Use?

The right schema type depends on what your page is about. Choosing a relevant type and providing accurate information is more useful than adding markup that doesn't match the page.

Article and BlogPosting

Use Article or BlogPosting for eligible news articles, blog posts, and other editorial content.

Common properties include the headline, author, featured image, publication date, modification date, and canonical page URL.

For example, a technical tutorial could use BlogPosting markup to describe its title, author, and publication details.

Product

Product schema describes an individual product and can include details such as its name, image, description, brand, SKU, price, currency, and availability.

If you include pricing or availability, make sure the information matches what visitors can actually see on the product page. Review Google's current product structured data requirements before implementing the markup.

LocalBusiness

LocalBusiness markup can describe a business with a physical location. Depending on the business and the information available, its properties may include the business name, address, telephone number, opening hours, and website.

Use accurate details and choose the most appropriate business subtype where possible. Don't add a physical address or opening hours that don't reflect the real business.

Organization

Organization schema describes an organization, such as a company, nonprofit, or other established entity.

Relevant properties can include the organization name, website, logo, and official social profile URLs.

This markup can help search engines understand which organization is associated with a website. It doesn't guarantee a particular search appearance or knowledge panel.

Person

Person schema describes an individual, such as an author, professional, or public figure.

Depending on the page, useful properties may include the person's name, job title, website, image, and profile links.

Keep the information consistent with the person's actual identity and the content presented on the page.

BreadcrumbList

BreadcrumbList schema describes the hierarchy leading to a page.

For example, an online store might have a path such as Home → Audio Equipment → Headphones. Breadcrumb markup can describe that hierarchy in a structured format.

Make sure the breadcrumb labels and URLs correspond to the actual navigation or page hierarchy.

Event

Event schema describes a specific event and can include its name, start date, end date, location, attendance mode, and other relevant details.

Use it for genuine events, such as conferences, workshops, and scheduled public events. The information should match the event details available to visitors.

FAQPage

FAQPage schema describes a page containing questions and their answers.

If you use this schema, the marked-up questions and answers should be visible on the page and comply with Google's guidelines. Google currently limits FAQ rich results primarily to well-known, authoritative government and health websites, so most commercial websites shouldn't expect an FAQ rich-result display.

FAQ content can still be useful to visitors, even when it doesn't produce a special search result.


How Does JSON-LD Work?

JSON-LD stands for JavaScript Object Notation for Linked Data. It's a format for expressing structured data using JSON.

A JSON-LD block is commonly added to a webpage using a script element with the type application/ld+json. The markup describes the page without requiring you to add structured-data attributes throughout the visible HTML.

Here's a simple example for a fictional organization:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Example Studio",
  "url": "https://example.com/",
  "logo": "https://example.com/logo.png"
}
</script>

Replace the example information with accurate details about your own organization before using it.

Google recommends JSON-LD when practical because it is generally easier to implement and maintain. However, generating valid JSON-LD is only one part of the process. The schema type, properties, and actual page content must also be appropriate.


Schema Markup Best Practices

Before adding structured data to your website, keep these points in mind.

Match the markup to the page. Use a schema type that accurately describes the content. Product markup belongs on relevant product pages, while Article markup is appropriate for editorial content.

Use accurate information. Names, prices, images, dates, ratings, and other properties should reflect the information available on the page. Don't add details simply to make the markup look more complete.

Include the relevant properties. Check Google's documentation for the specific search feature you're targeting. Different structured data types have different requirements, and some properties are optional while others are necessary for eligibility.

Keep structured data consistent with visible content. Markup should describe information that visitors can access on the page. Misleading or hidden information can violate Google's structured data policies.

Validate before publishing. A JSON document can be syntactically valid but still contain incorrect or unsupported structured data. Check both the markup and the requirements for the intended search feature.

Don't expect guaranteed rich results. Valid markup can make a page eligible for certain search enhancements, but Google decides whether to display them.

Review markup when content changes. If a product's price changes, an event is rescheduled, or an article's details are updated, make sure the structured data remains accurate.


How to Add Schema Markup to Your Website

Once you've generated and validated the markup, you can add it to your website.

  1. Generate the structured data using the tool above.

  2. Review the output and replace any example values with your actual information.

  3. Validate the markup using the appropriate testing tool.

  4. Add the JSON-LD script to the relevant webpage. The placement depends on your website and implementation.

  5. Publish the changes and check the live page to confirm that the markup is present and correct.

  6. Use Google Search Console to monitor relevant structured data reports and any issues that Google identifies.

If you use WordPress, check whether your theme or SEO plugin already generates structured data for the same content. Adding a second, conflicting set of markup can create unnecessary duplication or inconsistent information.

Frequently Asked Questions

You can use the DevToolbox generator to prepare structured data through the available schema options, generate the output, and copy or download the result using the controls provided on this page.

Schema markup helps search engines understand page content and can make pages eligible for supported search enhancements. However, adding schema doesn't automatically improve rankings or guarantee rich results.

Schema.org provides the vocabulary used to describe entities and their properties. JSON-LD is one format for expressing that structured information. You can use Schema.org vocabulary with JSON-LD to describe a webpage's content.

Article or BlogPosting is generally appropriate for editorial content. Choose the type that best matches the page and provide accurate information about its headline, author, images, and publication dates.

Yes. WordPress websites can use structured data generated by themes, plugins, or custom implementations. Check your existing markup before adding another implementation, particularly if an SEO plugin already generates Article, Organization, or other schema types.

Use Google's Rich Results Test to check eligibility and errors for supported Google rich-result features. The Schema Markup Validator is useful for checking structured data against Schema.org more generally. Passing one test doesn't guarantee that every property is correct or that Google will display a rich result.

Yes, when multiple types accurately describe the content. For example, a page might describe an organization and also contain an article. The markup should represent the actual page and its relationships rather than include unrelated schema types.

FAQ content can help visitors find answers, and FAQPage is part of the Schema.org vocabulary. However, Google generally restricts FAQ rich results to well-known, authoritative government and health websites. Most commercial websites shouldn't expect FAQ rich results simply by adding this markup.

JSON-LD can generally be included in either the head or body of an HTML document. Follow the requirements of your website platform and make sure the markup is available to search engines when they process the page.

No. Valid structured data is one requirement for eligibility, not a guarantee of display. Google also considers its feature-specific policies, the page content, and other factors when deciding whether to show an enhanced result.