The schema markup generator builds valid JSON-LD code for three of the most useful Schema.org types: FAQPage, LocalBusiness and Article. Choose a type, fill in the fields, and copy a ready script tag. Empty fields are removed automatically, so the code stays clean.
Key takeaways
- JSON-LD is the format Google recommends because it sits apart from your HTML.
- Schema describes entities (who, what, where) so search engines and AI answers can cite you with confidence.
- Always test the result in Google's Rich Results Test, then check the page with the on-page SEO checker.
How to generate your schema
- Choose the type that matches the main content of the page, not the one with the nicest rich result.
- Fill in the fields. Use full URLs that start with https:// for images and pages.
- Click Copy code and paste it in the page head or at the end of the content.
- Click Test in Google to confirm there are no errors.
Which type should you use?
| Type | Use it for | Key fields |
|---|---|---|
| FAQPage | Pages with real questions and answers written on the page | Question, answer |
| LocalBusiness | Shops, clinics, offices with an address | Name, address, phone, hours |
| Article | Blog posts and news | Headline, author, dates, image |
Mark up only what users can see. Schema that describes hidden or fake content breaks Google's guidelines and can cost you rich results across the site.
Schema, entities and AI search
Search has moved from strings to things. Google's Knowledge Graph, and the answer engines behind AI Overviews, ChatGPT and Perplexity, work with entities: a business, a person, a product, and the links between them. Schema is the most direct way to state those facts. An Article with a named author and a publisher, linked to an Organization with the same name, logo and social profiles everywhere, builds a consistent entity. That consistency supports E-E-A-T, because it makes it easy to see who stands behind the content, and it supports GEO, because AI systems prefer sources they can identify. For a full plan on AI visibility, see our GEO service.
About FAQ rich results
Since 2023 Google shows FAQ rich results mainly for well-known government and health sites. FAQPage markup is still valid and still helps machines read your questions and answers, which is useful for AI answers and voice search. Use it when the questions are real and visible; do not add it just to chase a visual effect. The same logic applies to HowTo markup, whose rich results Google retired: keep clear numbered steps on the page for readers, and let the text itself carry the structure that both people and machines can follow.
Common schema errors
- Dates in the wrong format. Use YYYY-MM-DD, which the date fields here produce automatically.
- Relative image URLs such as /logo.png instead of full URLs.
- Two plugins adding the same type twice. If Rank Math or Yoast already outputs Article schema, do not add a second copy.
- A LocalBusiness address that differs from your Google Business Profile. Keep name, address and phone identical everywhere.
A practical schema plan for a small site
You do not need dozens of types. Most business sites do well with four: Organization (or LocalBusiness) once for the whole site, WebSite with the site name, Article or BlogPosting on every post, and BreadcrumbList for navigation. Add FAQPage only on pages with real visible questions, and Product with offers and reviews only on shop pages that show them. Give the Organization a stable @id, such as your home URL followed by #organization, and reference it from every Article as publisher; this ties all your content to one entity. Review the markup whenever you change your address, phone, logo or authors, because outdated schema is worse than none.
Need more than a free tool?
Our team runs full audits, fixes and growth plans for sites in 10 languages.Frequently asked questions
Does schema improve rankings?
Where do I paste the JSON-LD code?
Can I use more than one schema type on a page?
Why does Google not show my rich result?
Is the generated code safe to use?
How we built this tool: the checks and thresholds follow Google Search Central documentation, Schema.org and the IETF/W3C standards, and we tune them against what we see on client sites every month. The tool runs in your browser and does not store the text or URLs you enter. Questions or a bug? Tell us.