Leadmetrics
Free tool, no sign-up

Event schema generator

Generate Event JSON-LD with dates, venue and ticket offers, including the online and hybrid attendance modes.

Include the time. A date alone makes the listing less useful.

Enter 0 for a free event.

JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Event",
  "eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
  "eventStatus": "https://schema.org/EventScheduled",
  "offers": {
    "@type": "Offer",
    "availability": "https://schema.org/InStock"
  }
}
</script>

Before you ship this

  • Error: Event name is required by Google for this type.
  • Error: Start is required by Google for this type.
  • Error: Venue name is required by Google for this type.

How to use it

  1. Enter the event name and start time. Both are required.
  2. Choose the attendance mode: in person, online or hybrid.
  3. Add the venue address, or the online URL for a virtual event, plus ticket price, currency and booking URL.
  4. Copy the generated script tag and paste it into the page head, then confirm it with the Google Rich Results Test.

Three fields decide whether this works

name, startDate and location are required. Miss any one and the event is ineligible for the events experience in Search and Maps.

Include a time with your start date, not just a day. Events are shown in the user's local time, which means an event with no time and no timezone can be displayed on the wrong day entirely for someone on the other side of a date line.

Online and hybrid events

Since 2020 eventAttendanceMode has been the field that distinguishes a physical event from a stream. For an online event, the location should be a VirtualLocation with the joining URL rather than a postal address.

A hybrid event is allowed to carry both a physical place and a virtual location. If you are running one, say so explicitly rather than picking whichever is more convenient.

Keep cancellations and postponements marked up

The generator sets eventStatus to scheduled. If an event is cancelled, postponed or moved online, change that value rather than deleting the page: Google uses EventCancelled, EventPostponed and EventMovedOnline to update what users see.

One event per markup block, on its own page. A listing page with twenty events should link to twenty event pages, each marked up individually.

Event schema generator FAQ

Why is my event not eligible for the rich result?

Events need a name, a start date and a location, which for an online event means a virtual location URL. A missing end time is survivable; a missing location is not.

How do I mark up an online event?

Set the attendance mode to online and give the URL people attend at as the virtual location. Treating a webinar as a physical event at your office address is the usual mistake.

Should ticket prices be included?

Yes, with the currency and a booking URL. Price and availability are a large part of what makes the event result useful enough for Google to show.

How do I mark up a recurring event?

The cleanest way is one Event with its own page and URL per occurrence, because each date is a separate thing a person can attend and a separate result Google can show. A single event with a list of dates is valid markup but it competes with itself in search and gives the visitor no page to land on.

What should the markup say for a free event?

Include the offer anyway, with a price of 0 and the currency set. Omitting the offer leaves the result looking incomplete, whereas a price of zero reads as free in the search result, which is the thing most likely to earn the click.

Do the dates need a time zone?

Yes. Use the full ISO 8601 form with an offset, so 2026-06-04T19:30:00+01:00. Without it the time is ambiguous, and an event that reads as 19:30 in one interpretation and 18:30 in another will have people arriving an hour out.

How far in advance should the page and markup go live?

As early as the details are firm. Search engines need to crawl the page, and a page published two days before the event will often not be indexed in time to appear at all. Six to eight weeks is comfortable for anything you expect people to search for.

What should happen to the markup after the event?

Leave the page up with the markup intact. Deleting it throws away whatever links and authority the page earned, and a past event is still a useful record for anyone searching the series. If the event is moved or called off, mark it with the postponed or cancelled status rather than quietly editing the date.

Does the organiser or performer need to be included?

Neither is required, both help. A named performer is what makes an event listing recognisable in a crowded result, and a named organiser is one of the signals that the listing is genuine. Add an image too — the result is much weaker without one.

Does Google show rich results for any event page?

Eligibility is not a guarantee, and single-event pages compete with the large ticketing and listings sites that have this markup everywhere. Correct markup is the entry fee. What decides whether it shows is the usual mix of relevance, authority and whether Google thinks the result is useful for the query.