Schema code, built live as you type
This tool builds the four most useful kinds of schema code (JSON-LD) for AI search and traditional SEO: FAQPage, Article, Organization, and Product. Everything you type stays inside your browser. Nothing is sent to a server until you copy the output and paste it onto your page. Fill out the form on the left, watch the code on the right update as you type, and copy it into the <head> of your page when it looks right.
When to use each type
- FAQPage for any page that has an FAQ section. It helps AI tools read each question and answer as its own piece. Google removed standard FAQ rich results in 2023, but Bing and AI tools still use the markup, so it remains best practice.
- Article for blog posts, news articles, and longer guides. It includes the author, the publish date, and the last updated date. Pair it with a real, named author for stronger trust signals.
- Organization for your homepage or About page. It tells search engines and AI tools who your brand is and links you to your social profiles. Important if you want AI tools to recognize your business as a real, defined company.
- Product for product pages, with optional price and availability. Used by Google Shopping and, more and more, by AI tools when they compare products.
Where to put the code
The <script type="application/ld+json"> block belongs inside the <head> of your page. If you can't edit the head directly, most tag managers (like Google Tag Manager or Tealium) let you inject schema as a custom HTML tag. Most CMS platforms also offer a "custom head HTML" field on each page.
How to check that it works
After your page is live, paste the URL into validator.schema.org or Google's Rich Results Test. You want zero errors and the schema type to show up correctly. Warnings about optional fields are usually fine.
If you want the FAQ content written for you, not just the schema code, use the FAQ + Schema Generator instead. It writes the questions, answers, and matching schema in one go.