Free Schema Markup Generator (JSON-LD)

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

  1. Choose the type that matches the main content of the page, not the one with the nicest rich result.
  2. Fill in the fields. Use full URLs that start with https:// for images and pages.
  3. Click Copy code and paste it in the page head or at the end of the content.
  4. Click Test in Google to confirm there are no errors.

Which type should you use?

TypeUse it forKey fields
FAQPagePages with real questions and answers written on the pageQuestion, answer
LocalBusinessShops, clinics, offices with an addressName, address, phone, hours
ArticleBlog posts and newsHeadline, 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.
Explore our SEO services

Frequently asked questions

Does schema improve rankings?

Schema is not a direct ranking factor. It helps search engines understand the page and can make it eligible for rich results, which often improves clicks.

Where do I paste the JSON-LD code?

In the page head or anywhere in the body. In WordPress you can use a custom HTML block or your SEO plugin's schema feature.

Can I use more than one schema type on a page?

Yes, as long as each one describes content on that page, for example an Article that also contains an FAQ.

Why does Google not show my rich result?

Valid markup makes a page eligible, not guaranteed. Google decides based on quality, the query and its current rich result policies.

Is the generated code safe to use?

Yes. The tool runs in your browser, escapes special characters and only outputs standard Schema.org properties.

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.

1

A free month of SEO for your website

We offer a free month of SEO that covers everything: technical analysis, competitor analysis, keyword research, your business goals, SEO fundamentals, on-page SEO and AI search optimization (GEO). All the work is done by a dedicated team.

Start my free month
Free consultation via WhatsApp
تم التصميم والسيو بواسطة قروش السيوواتساب +20 112 057 7167أعلن معنا