# Schema markup generator

Source: https://getgtmos.com/tools/schema-markup-generator
Last updated: 2026-10-21

Choose a page type (FAQ page, organisation, article or SaaS product), fill in the fields, and the generator writes JSON-LD you can paste into your page. It checks your input against Google's documented properties and never adds ratings or reviews you did not provide.

## What this tool does

The schema markup generator writes JSON-LD structured data for four common B2B page types: an FAQ page, a company, a blog post or article, and a SaaS product. You pick the type, fill in the fields, and the generator produces a script block you can paste into your page, with checks against the properties Google documents for each type.

## When to use it

Use the generator when a page has clear, factual content that machines should understand, and you do not want to hand-write JSON. Common situations:

- Your home or about page has no Organization markup, so search engines have to guess your logo and official profiles.
- You publish blog posts or guides and want the headline, author and dates described explicitly.
- A product page lists price and platform, and you want those facts stated in a machine-readable form.
- A page has a visible FAQ section and you want the questions and answers marked up to match.
- You are working on visibility in AI answer engines and want your key facts easy to extract.

## How it works

The generator builds a JSON-LD object with `"@context": "https://schema.org"` and the type you choose, then fills only the fields you complete. Empty fields are left out entirely, so the output never contains blank properties.

**FAQPage.** Each question becomes a `Question` with its answer as an `acceptedAnswer` of type `Answer`. You need at least one complete pair. The generator always reminds you that every question and answer must also be visible on the page, and that Google stopped showing FAQ rich results in May 2026, as noted in the [Search Central changelog](https://developers.google.com/search/updates); the markup is still valid schema.org.

**Organization.** Name is required. Website URL, logo URL and official profile links (`sameAs`, one per line) must be full URLs. You get a warning if the URL, logo or profiles are missing, because [Google's Organization documentation](https://developers.google.com/search/docs/appearance/structured-data/organization) uses them to connect your brand across the web. Email is optional.

**Article.** Headline is required, and headlines over 110 characters get a warning. Dates must look like 2026-10-21. The author becomes a `Person` with an optional profile URL, and the image is written as a list. Missing author, publish date or image each produce a warning, following [Google's Article documentation](https://developers.google.com/search/docs/appearance/structured-data/article).

**SoftwareApplication.** App name is required, and price must be a number (use 0 for free). The price becomes an `Offer` with a currency, defaulting to USD. The generator warns that [Google's software app rich result](https://developers.google.com/search/docs/appearance/structured-data/software-app) also needs genuine ratings or reviews, and never adds them.

**Safe output.** The snippet is wrapped in a `script` tag of type `application/ld+json`, with any `<` characters escaped so text in your answers cannot break out of the script.

**What it does not do.** The generator does not fetch your page, compare the markup with your visible content, or guarantee rich results. It covers four types only, and it does not build connected graphs with `@id` references across pages.

**Where your data goes.** Everything is generated in your browser. Nothing you type is sent or stored. If you have accepted analytics cookies, we record that the tool was used, never what you entered.

## A worked example

Here is a sample input for a fictional product, Acme Rota, using the FAQ page type with one question.

- **Question:** Does Acme Rota work for night shifts?
- **Answer:** Yes. You can create shifts that cross midnight and set separate pay rules for them.

The generator produces:

```html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Does Acme Rota work for night shifts?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. You can create shifts that cross midnight and set separate pay rules for them."
      }
    }
  ]
}
</script>
```

There are no errors, and one standing check: the same question and answer must appear on the page itself.

## How to act on the results

1. **Paste the snippet into the page it describes,** and only that page.
2. **Validate it** with Google's [Rich Results Test](https://search.google.com/test/rich-results) and the [Schema.org validator](https://validator.schema.org), and fix anything they report.
3. **Keep markup and content in step.** When you change a price, an answer or an author, change the JSON-LD at the same time.
4. **Watch Search Console.** After Google recrawls the page, check the Enhancements reports for errors.
5. **Start with Organization** on your home page if you have no structured data yet. It is the foundation the other types refer back to.

## Common mistakes

- **Marking up content visitors cannot see.** Structured data must match the visible page.
- **Adding ratings you do not have.** Fake or self-serving reviews are a fast route to a manual action.
- **Copying the same FAQ markup to every page.** Each page's markup should describe that page.
- **Relative URLs for logos and images.** Use full URLs.
- **Expecting instant rich results.** Markup makes a page eligible; it does not guarantee how Google displays it.

## Related tools

Give AI tools a curated map of your site with the [llms.txt generator](/tools/llms-txt-generator), and write a sharper company description first with the [ICP builder](/tools/icp-builder). If your FAQ answers come from customer research, the [product-market fit survey calculator](/tools/pmf-survey-calculator) helps you find who values the product most. For how structured data fits into AI search visibility, read our glossary entry on [generative engine optimisation](/glossary/generative-engine-optimization).

## Frequently asked questions

### What is schema markup?

Schema markup is structured data, written in the Schema.org vocabulary, that describes what a page is about in a form machines can read. JSON-LD is the format Google recommends: a script block in the page's HTML that sits apart from the visible content. It helps search engines and AI tools understand facts such as who published an article or what a product costs.

### Will schema markup get me rich results?

Not necessarily. Structured data makes a page eligible for some rich results, but Google decides whether to show them. FAQ rich results, for example, stopped appearing in Google Search in May 2026, although FAQPage markup still helps machines read your questions and answers.

### Where do I paste the JSON-LD?

Paste the script into the HTML of the page it describes, in the head or the body. Use each snippet only on the page whose content it matches. Then test the page with Google's Rich Results Test and the Schema.org validator.

### Why does the generator not add star ratings?

Ratings and reviews in structured data must be genuine and shown on the page, and self-serving reviews of your own business are not eligible for review rich results in Google. Adding them without real reviews behind them risks a manual action. The generator never creates ratings or reviews.

### Which schema type should I use for a SaaS product page?

SoftwareApplication is the closest match for a page about a software product, with the application category, platform, price and description. Use Organization on your home or about page to describe the company itself, and Article for blog posts and guides.

### Is anything I type stored?

No. The JSON-LD is generated in your browser as you type, and nothing is sent to GetGTM or anyone else. You copy or download the snippet yourself.
