Free tool

Schema markup generator

Make schema markup in JSON-LD for FAQ, article, product, local business, breadcrumb, organization and event pages. Fill in a form, fix the checks, copy the code. Free, no account.

Schema type

For a page with questions and answers you wrote yourself.

Row 1
Row 2

Put more types in this block

Ticked types join one block as a @graph. Fill each one in under its own button above.

Checks

  • The structure looks right. Test it in Google before you rely on it.

Your code

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do I need to book a class ahead of time?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Book in our app or on our website. Walk-ins are welcome when there is space."
      }
    },
    {
      "@type": "Question",
      "name": "What should I bring to my first class?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A mat, a towel and a bottle of water. You can rent a mat at the front desk."
      }
    }
  ]
}
</script>
Test in Google
Where does the code go?
  • Paste it in the HTML of the page it describes, in the head or the body. One page, one block.
  • WordPress: a Custom HTML block on that page, or a plugin that adds code to the page head.
  • Shopify: Online Store, Themes, Edit code. Many themes already add Product markup, so check first.
  • Wix: the page's SEO settings, Advanced SEO, Structured data markup. If it asks for JSON, use Copy JSON only.
  • Squarespace: the page's settings, Advanced, Page Header Code Injection.

Runs in your browser. Nothing you type is sent to Postfjord or saved.

You post your Saturday workshop on Instagram, and people go to Google to find the date and the price. Schema markup is a short piece of code that spells out those facts for Google, so it does not have to guess. Fill in the form and copy the code.

How to use the schema markup generator

  1. Pick a type: FAQ, Article, Product, Local business, Breadcrumb, Organization or Event. The line under the buttons says when to use it.
  2. Fill in the fields. Each one says if it is Required, Recommended or Optional. Optional fields are under More fields.
  3. Read the Checks. A check marked Fix holds the code back until you fix it. Tap a check to jump to its field.
  4. Press Copy code and paste it into the page it describes. Copy JSON only is for site builders that ask for the code without the script tag.
  5. Press Test in Google and paste the code into Google's Rich Results Test to see what Google can read.

Fill in an example shows a finished example for the type, and Clear empties it. Need two types on one page, like Organization and Breadcrumb? Open Put more types in this block, tick them, and fill each one in under its own button. Your fields stay when you switch types.

Where the problem comes from

A person reads your page and sees a price, a date or an address. A search engine sees words and has to guess what each one means. Schema markup takes away the guess. It names each fact with a label from schema.org, a shared list that Google, Bing and others use. Google asks for it as JSON-LD: a block of code in a script tag that sits in your page and changes nothing people see.

Why it bites

"Dec 5, 10:00, $30" on a page can be the date of a blog post, an opening time or a price. With markup, the start time, the price and the address are spelled out. That is what lets Google show your event's date or your product's price right in the results.

Small mistakes cost you that. A date typed as 12/5/2026, a price written as "$30" or a star rating with no number of reviews makes the item invalid, and Google skips it. Nothing on your page looks wrong, so you find out weeks later in Search Console, if you look.

The rule that gets sites in trouble: the markup must match what people can see on the page. Google's guidelines say so. Star ratings with no reviews on the page, or FAQ answers that are not on the page, can get the markup ignored or the site a manual action.

What the generator does and does not do

It writes JSON-LD for seven common types and leaves out empty fields. It checks the structure as you type: required fields, full https:// addresses, real dates (2026-02-30 is caught), times, numbers (type $1,299.00 and the code gets the plain 1299 Google wants), and fields that go together, like a rating and a number of reviews, or latitude and longitude. Event times get your device's time zone as a UTC offset, like 2026-12-05T10:00-06:00, and you can change it. Opening hours you type as Mo-Fr 09:00-17:00 become the format Google asks for. Every < in your text is written as a safe code, so a field can never end the script tag early.

It does not promise a rich result. Google decides what to show, and since 2023 it shows FAQ results only for well-known government and health sites. The markup still tells search engines what your answers are. The generator does not fetch your page or check that the markup matches it. That part is yours, and Google's Rich Results Test is the final word.

On social media

Instagram, TikTok, LinkedIn, Facebook and X do not read schema markup for their link previews. The picture and title a link shows when you paste it come from Open Graph tags, a different set of tags in the same page head.

Where schema helps a social media manager is the Social profiles field of Organization and Local business, called sameAs in the code. Add one full address per line, like https://www.instagram.com/yourname, https://www.tiktok.com/@yourname, https://www.youtube.com/@yourname or https://www.linkedin.com/company/yourname. Google suggests these links in its guidelines, so it can tie your accounts to your business. The generator names each platform it finds, so you can see a typo before you copy.

Two sizes from Google's guidelines: a logo should be at least 112 by 112 pixels, and an article image at least 50,000 pixels in all (width times height, like 300 by 167), in 16:9, 4:3 or 1:1.

FAQ

What is schema markup?

Schema markup is code that tells search engines what the facts on your page mean, like a price, a date or an address. It uses names from schema.org, and Google asks for it as JSON-LD in a script tag.

Which schema type should I use for a blog post?

Use Article and pick Blog post, which writes BlogPosting. Add the headline, an image, the date and the author. For a news story, pick News article.

Can I put several schema types on one page?

Yes. Open Put more types in this block and tick the types you need. The generator joins them in one @graph block. Each type should describe something people can see on that page.

Why does the generator hold back my code?

A check marked Fix is open. A required field is empty, an address does not start with https://, or a date is not real. Tap the check to jump to the field, and the code shows up once all are fixed.

Do I still need FAQ markup?

It still helps search engines read your questions and answers, but most sites no longer get the FAQ rich result in Google. Since 2023 Google shows it only for well-known government and health sites. Add it if the answers are on the page, and do not expect the dropdowns in the results.

Does the generator keep what I type?

No. It runs in your browser and sends nothing to Postfjord. Nothing is stored or kept in the page address, so reloading the page clears the form.

More free tools

All 101 tools

Bring people to the page you marked up

Postfjord plans and posts to Instagram, Facebook, LinkedIn, TikTok and more from one calendar. Try it free.

Start free