✨ Get 25% OFFon any plan. Use the coupon:
Free tool

Schema generator (JSON-LD)

By Tiago CostaUpdated on July 01, 2026

Fill in the fields and generate structured data code ready to paste on your site. From FAQ and article to page, website, product and service. No sign up, right in your browser.

Schema type
1

Generated code

Paste this code in your site's <head>.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage"
}
</script>
Quick guide

Everything about schema, JSON-LD and structured data

The schema generator creates the JSON-LD code that describes your content to search engines and AI assistants. You fill in the fields, copy the ready code and paste it on your site. Structured data is how you talk to Google in its own language: instead of guessing what is on the page, it gets the answer already organized.

What structured data and JSON-LD are

Schema is a markup vocabulary created by Schema.org to describe what a page contains, such as an article, a company, a product or a list of questions. JSON-LD is the format Google recommends for that markup. It is a code block separate from the visible content, which makes it easy to generate, read and maintain without touching the page layout.

JSON-LD, microdata and RDFa

There are three structured data formats, but JSON-LD won. Microdata and RDFa sit scattered inside the visible HTML and break easily. JSON-LD lives in a single <script> block, separate from everything else. Google names JSON-LD as its preferred format, and that is the one to bet on.

Why it helps rich results and getting cited by AIs

Structured data does not change your ranking directly, but it gives context to the search engine, and that changes what shows in the result. With the right markup, Google can display rich results, such as review stars, questions that expand in search, product price or company details. These formats take up more space, stand out and tend to raise your click-through rate.

The newest gain is AI. Tools like ChatGPT, Perplexity and Google's AI Overviews read the markup to understand who answers a question and with what authority. Marking up your content with schema is now one of the foundations of GEO and AEO, the optimization for generative and answer engines. Content that is structured has a better shot at being cited by AI than content left loose in plain text.

  • Rich results: stars, expandable FAQ, price and company details right in Google.
  • More clicks: a richer result takes up space and draws the eye.
  • GEO and AEO: AI assistants understand and cite structured content better.
  • Clear context: the search engine stops guessing and starts knowing what each thing on the page is.

Where to paste the JSON-LD on your site

The JSON-LD goes inside a <script type="application/ld+json"> tag, ideally in the HTML <head>. You can also place it in the <body>, since Google reads it in both. Use one block per page, with the schema type that describes that page, and keep the markup faithful to the visible content: marking up something that does not appear on the page breaks the guidelines.

Schema types and when to use each

Schema typeWhen to use
ArticleBlog posts, news and articles.
WebPageStandard and institutional pages of your site.
WebSiteThe site as a whole, with the sitelinks search box (goes on the home).
FAQPagePages with frequently asked questions and answers.
OrganizationCompany details, logo and social profiles.
LocalBusinessBusinesses with a physical address and local service.
ServicePages for a service you provide.
ProductProduct pages with price and reviews.
BreadcrumbListNavigation trail across pages.
HowToTutorials and step-by-step guides.

The structure of each schema, explained

The generator covers eight schema types. Here is what each one describes, its main properties and where to use it.

FAQPage (FAQ)

Describes a frequently asked questions page. The mainEntity property holds the list of questions, each a Question with the question text in name and the answer in acceptedAnswer (an Answer with a text property). Use it on pages that gather questions and answers, and it is what can expand the FAQ right in Google's result.

Article

Describes a blog post, a news story or an article. Its main properties are headline (the title), author (a Person with name), datePublished, image and description. Use it on any editorial content so Google understands authorship and date.

WebPage (Page)

Describes a standard or institutional page, such as About, Contact or a content page. It gathers name (the page title), url, description and primaryImageOfPage. It is the most generic type, handy when the page is not an article, a product or a service.

WebSite (Website)

Represents the whole site rather than a single page, so it goes on the home page. It has name, url and description and, optionally, a potentialAction of type SearchAction, with target (an EntryPoint plus urlTemplate using {search_term_string}) and query-input. That SearchAction is what can enable the sitelinks search box in Google's results.

Organization

Describes the identity of your company or brand. Its properties are name, url, logo and sameAs (the list of your social media URLs). Use it to tie the site to the company entity and reinforce the brand in results.

LocalBusiness (Local business)

It is the organization variant for businesses with a physical address and local service. Beyond name, url and telephone, it carries an address of type PostalAddress (with streetAddress, addressLocality and addressCountry). Use it for shops, restaurants, clinics and any business that serves a location.

Product

Describes a product for sale. It has name, image, description, brand (a Brand) and offers of type Offer, with price, priceCurrency and availability. It is the offers with price that enables the price rich result in search. Use it on product pages.

Service

Describes a service you provide rather than a physical product. It gathers name, serviceType, description, provider (an Organization), areaServed and url. Use it on pages that present a service, such as consulting, maintenance or design.

How to validate the schema

After pasting the code, always validate before trusting it. Google's Rich Results Test shows whether your page is eligible for rich results and flags errors and warnings. The Schema.org Validator checks that the syntax is correct. Paste the published URL or the code directly, fix anything that shows in red and only then consider the schema done.

Quick checklist before publishing

  • One JSON-LD block per page, with the right schema type.
  • The markup reflects what is visible on the page, with no invented data.
  • Required fields for each type filled in.
  • Validated in the Rich Results Test, with no errors.
FAQ

Common questions about the schema generator

Is the schema generator free?

Yes. It is 100% free, no sign up and no usage limit. Everything runs in your browser.

Do I need to know how to code?

No. You fill in the fields, the tool builds the JSON-LD and you just copy and paste it on your site.

Where do I paste the generated code?

Inside a <script type="application/ld+json"> tag in your site's <head>. The tool delivers the code with that tag ready to copy.

Does structured data improve my ranking?

It does not change your position directly, but it helps Google understand the page and show rich results, which usually increases clicks.

How do I test if the schema is correct?

Use Google's Rich Results Test or the Schema.org Validator. Paste the URL or the code and check for errors.

Does schema help me show up in AI answers?

Yes. Assistants like ChatGPT, Perplexity and AI Overviews read structured data to understand and cite content. Marking up the page with schema is one of the foundations of GEO and AEO.

Automarticles

Want a blog that generates the schema for you?

Automarticles builds your full blog, with content optimized for Google and to be cited by AIs like ChatGPT. Every article ships with the right structured data, with no manual work.

Start for free

More free tools

Character CounterCount characters and words, and check each platform's limit.Word CounterCount words, check reading time and see your most used words.Keyword DensitySee your most used terms and the density of each one, in real time.Readability ScoreTest how easy your text is to read, with a 0 to 100 score.Google PreviewSimulate your page's snippet on Google before you publish.Slug GeneratorTurn titles into clean, SEO friendly URLs.robots.txt GeneratorBuild your site's robots.txt and copy the result ready to use.UTM BuilderBuild trackable URLs with UTM parameters for your campaigns.SEO ROI CalculatorCalculate leads, revenue, profit, ROI and payback on your SEO investment.llms.txt GeneratorBuild your site's llms.txt so AIs can understand and cite it.SEO Title GeneratorGenerate 8 optimized titles with AI, each at the right length for Google.Meta Description GeneratorCreate 150-160 character meta descriptions with AI, ready for Google.Blog Outline GeneratorBuild a full article structure with AI: H1, H2, H3 and conclusion.Content Idea Generator10 blog ideas with title and angle from your niche, in seconds.FAQ GeneratorGenerate 6 frequently asked questions with AI plus a ready-to-paste FAQPage schema.Text RewriterRewrite and paraphrase any text with AI, in the tone you need.Introduction GeneratorCreate 3 introductions with a hook, context and promise using AI.Article Conclusion GeneratorWrite your article's closing paragraph with AI: summary, takeaway and call to action.Content Brief GeneratorBuild a full SEO brief with AI to guide writers and agencies.Alt Text GeneratorCreate alt text for your images with AI, ready for accessibility and SEO.AI Visibility CheckerSee if ChatGPT knows your brand and how to improve your AI visibility.Meta Tag GeneratorGenerate title, description, Open Graph and Twitter Card ready to paste in the head.Passive Voice CheckerFind the sentences in passive voice and make your writing clear and direct.Headline AnalyzerGet a 0 to 100 score for your headline, plus tips to win more clicks.SEO Checklist26 technical, on-page, content and link items. Tick each one and track your progress.Grammar CheckerFix grammar, spelling and punctuation with AI, without changing the meaning.Article SummarizerTurn long text into a clear AI summary in seconds.Canonical Tag CheckerCheck any page's canonical tag and the most common mistakes.Open Graph CheckerSee a page's OG and Twitter tags and how the link looks when shared.Heading Tag CheckerCheck any page's H1 to H6 hierarchy and the most common mistakes.Broken Link CheckerFind 404s and dead links on any page, internal and external.robots.txt CheckerAnalyze any site's robots.txt and the mistakes that stall Google.XML Sitemap ValidatorValidate your sitemap.xml and see URLs, type and common errors.Keyword ResearchKeywords with real Google search volume, competition and CPC.Keyword Difficulty CheckerSee, from 0 to 100, how hard it is to rank each keyword on Google.SERP CheckerSee who holds Google's Top 10 for any keyword.Image CompressorCompress and convert images in the browser. Nothing is sent to a server.Sitemap FinderFind any website's sitemap from its URL.RSS Feed FinderDiscover the RSS, Atom, or JSON feed of any site from its URL.GEO Checklist24 items to appear and get cited in AI answers. Tick each one and track your progress.SEO and GEO DiagnosisFree SEO analysis and AI readiness, with your score and what to fix.

Glossary terms

Structured dataStructured data is a standardized code format that describes the content of a page for search engines, explicitly telling them what each element means (a price, a rating, a recipe, an event). Written with the Schema.org vocabulary, it helps Google interpret the page accurately and display rich results, such as review stars, frequently asked questions and images directly on the results page.Schema markupSchema markup is the markup code you add to a page's HTML using the Schema.org vocabulary to explicitly describe what each element means (a product, a review, a frequently asked question, an event). It does not change what the visitor sees, but it helps Google understand the content accurately and display rich results, such as stars, prices and questions directly on the results page.JSON-LDJSON-LD (JavaScript Object Notation for Linked Data) is the format Google recommends for adding structured data to a page, inside a script block kept separate from the visible content. Instead of scattering markup across the HTML, it gathers everything into a JSON object using the Schema.org vocabulary, telling the search engine explicitly what each piece of information represents (an author, a price, a rating, a date) to enable rich results in search.Knowledge GraphThe Knowledge Graph is Google's database that organizes information about the world as a network of entities (people, places, companies, works, concepts) connected by facts and relationships. Launched in 2012, it lets the search engine understand the meaning behind words, not just compare text, which gives rise to direct answers, the knowledge panel on the side of search and, increasingly, AI generated answers. More broadly, a knowledge graph is also a data technology used by many companies to model knowledge as graphs.Schema.orgSchema.org is the standardized structured data vocabulary created jointly by Google, Microsoft, Yahoo and Yandex to describe page content in a way machines understand. It defines types (such as Product, Article, Event) and properties (such as name, price, author) that search engines recognize. It is not a piece of code you install, but the shared dictionary you use when marking up a page with structured data.