spyc.ai

Free tool

Event Schema Generator

Build Event JSON-LD with dates, venue or online link, organizer and ticket price.

How it works

What is the Event Schema Generator?

The Event Schema Generator is a free tool that writes Event structured data in JSON-LD. Enter the event name, start and end times, the venue or online link, the organizer and the ticket price, then copy the code. It sets the attendance mode and location type to match an in-person, online or mixed event.

How to use the Event Schema Generator

  1. Enter the event name, description, and start and end date and time.
  2. Choose in person, online or mixed, then add the venue address or the online URL.
  3. Add the organizer and, if tickets are sold, the price, currency and ticket page.
  4. Copy the code, paste it into the event page, and validate it.

What is event schema?

Event schema is structured data that describes something happening at a set time, using the schema.org Event type: a concert, conference, class, webinar or match. It states the name, when it starts and ends, where it is held or how to join online, who is running it, and what tickets cost.

Google uses it to list events in its event experience in Search and Maps, where people can see the date, place and a link to tickets.

Which event schema properties are required?

Google requires three: name, startDate and location. For an in-person event the location is a Place with a name and an address. For an online event it is a VirtualLocation with a url.

Recommended properties are endDate, description, image, eventStatus, eventAttendanceMode, organizer, performer and offers. The more of these you fill in, the more complete the listing.

How do I mark up an online or hybrid event?

Set eventAttendanceMode to OnlineEventAttendanceMode and give a VirtualLocation with the URL where people join. For a hybrid event use MixedEventAttendanceMode and list both a Place and a VirtualLocation. Choosing Online or Mixed in this generator does both for you.

Google's event experience is not available in every country or language, and it has always favoured events with a physical place. Online-only events are valid markup but appear less reliably.

What do I do if an event is cancelled or postponed?

Change eventStatus, and leave the page up. Use EventCancelled and keep the original dates. Use EventPostponed while there is no new date, also keeping the original. Use EventRescheduled with the new dates in startDate once you have them. Use EventMovedOnline when a physical event becomes virtual.

Deleting the page tells nobody anything. The status is how people searching for the event learn what happened.

How should event dates and time zones be written?

In ISO 8601, with the UTC offset: 2027-03-12T09:00-08:00 is 9 am in a zone eight hours behind UTC. The date picker here writes the local date and time without an offset, so add the offset for the venue's time zone by hand to make the time unambiguous.

For an all-day event, give the date alone. Then check the block with the Schema Markup Validator.

Questions

Can I use event schema for a webinar?
Yes. Mark it as an online event with a VirtualLocation. It is valid markup, though Google's event listings favour events with a physical venue.
How do I mark up a free event?
Add an offer with price set to 0 and a currency. Enter 0 as the ticket price in the generator.
Can I mark up a recurring event?
Give each date its own Event block with its own start time. Google asks for one Event per occurrence, not one block for the series.
Can I use event schema for a sale or promotion?
No. Google's guidelines exclude promotions such as discounts and opening hours. Event markup is for things people attend.
Is this schema generator free?
Yes, with a free spyc.ai account. The code is built in your browser as you type, so nothing you enter is sent to a server.

Technical SEO Tools

More in Technical SEO Tools

Opengraph Viewer

Paste a URL and see the card it produces when someone shares it — title, description, image.

View Opengraph

Open Graph Generator

Write the Open Graph tags, preview the card, copy the markup.

Generate Open Graph tags

Robots.txt Checker

Fetch any site's robots.txt and test one URL against it: allowed, or blocked by which rule.

View robots.txt

Ready when you are

Before your next buyer asks AI about you, ask AI about yourself

One check, four engines, about twenty seconds. We show you the answers before we ask for anything.