SEO · Free · No sign-up

Schema Markup Generator (JSON-LD)

Pick a type, fill in the details and get JSON-LD schema markup ready to add to your page: FAQs, a local business with address and hours, your organization, or an article — without writing a line of code.

Schema type

Code (add to the page head or an HTML block)

Everything runs in your browser. Nothing you enter is sent anywhere.

What is schema markup?

Schema markup is code that describes a page’s content in a language search engines understand: this is an article by this author; this is a clinic at this address with these hours; these are questions and answers. It is written in JSON-LD, the format Google recommends, and sits in the page without being visible to visitors.

Structured data helps Google and AI assistants understand your page precisely and makes it eligible for enhanced results such as business details and article images. It doesn’t guarantee those features appear, and it isn’t a direct ranking factor.

Which type should you use?

  • FAQPage — for pages with questions and answers visible to visitors. Google now shows FAQ results for few sites, but the markup still helps machines understand the content.
  • LocalBusiness — for any business with a place customers visit: a clinic, shop, restaurant or office. Pick the most specific type (Dentist beats LocalBusiness for a dental clinic).
  • Organization — company details, logo and social profiles, usually on the homepage only.
  • Article — for articles and news: headline, author, publish and update dates.

How to add the code to your site

  1. WordPress — SEO plugins like Yoast and Rank Math already output Organization and Article, so don’t duplicate them. For other types, paste the code into a Custom HTML block on the page.
  2. Any other site — place it inside <head> or anywhere in <body>.
  3. Test it with Google’s Rich Results Test, and after publishing watch the Enhancements reports in Search Console.

The golden rule: everything in the markup must be visible on the page. Marking up questions or reviews visitors can’t see can be treated as misleading structured data.

Frequently asked questions

Does schema markup improve rankings?

Not directly. It helps Google understand the page and makes it eligible for enhanced results, which can improve click-through rate.

Where exactly do I put the schema code?

Anywhere in the page, in head or body. In WordPress, a Custom HTML block on the page itself is enough.

Can I use more than one type on a page?

Yes, as long as each describes something actually on the page. An article with an FAQ section can carry both Article and FAQPage.

Does Yoast add schema automatically?

Yes — Yoast outputs WebPage, Organization or Person, and Article automatically. Use this tool for types it doesn’t cover, such as detailed LocalBusiness and FAQPage.

النسخة العربي من الأداة