Skip to content
HG

Schema Markup Generator

Build valid JSON-LD structured data for richer search results. Fill the fields, copy the code, paste it into your page.

Runs entirely in your browser. Nothing is uploaded.

One URL per line

JSON-LD
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization"
}
</script>

Paste into your page's <head>, then validate with Google's Rich Results Test.

Share this tool

Structured data helps search engines understand your pages and can unlock rich results: the star ratings, FAQ drop-downs, and business cards you see in Google. This generator outputs clean, valid JSON-LD for the most common schema types.

Fill in what you know and leave the rest blank. Empty fields are dropped automatically so the markup stays valid. Then validate with Google's Rich Results Test before publishing.

Frequently asked questions

What is structured data (JSON-LD)?

Structured data is a standardised format that describes your page's content to search engines. JSON-LD is Google's recommended syntax: a small script in your page's head that can unlock rich results like star ratings, FAQs, and business info in search.

Where do I add the generated code?

Paste the <script type="application/ld+json"> block into the <head> of the relevant page. Each page should describe its own content. Don't reuse one block across every page.

Which schema type should I use?

Match the type to the page: use LocalBusiness for a contact or location page, Article for blog posts, Product for shop pages, FAQPage for a page with questions and answers, and Organization or Person for your homepage or about page.

Will adding schema guarantee rich results?

No. Valid structured data makes your page eligible for rich results, but Google decides whether to show them. Always validate your markup with the Rich Results Test, and make sure the data matches what's visible on the page.

More free tools

Get new tools first

One email when a new tool ships. No spam, unsubscribe any time.

Need this built into your product?

HG Studio builds custom tools, automations, and web apps. Let's talk.

Work with HG Studio