Event Schema Generator
Build Event JSON-LD from a few lines of detail, with the location shaped correctly for a venue, an online event, or both at once.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Event Schema Generator does
The event schema generator on this page will build Event JSON-LD from a few lines of detail, with the location shaped correctly for a venue, an online event, or both at once. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for marking up an event page so the date and venue can show in search results. Companion tools to this one live on FreeToolsWorld.org.
How to use it
- Give the event a name and an ISO 8601 startDate with a time zone offset.
- Add a venue and city, an onlineUrl, or both for a hybrid event.
- Paste the output into the head of the event page.
How it works
Event markup is what produces the date, venue and ticket link that appear under an event listing in search. Two properties do most of the work and are the two most often got wrong. startDate must be ISO 8601 and should carry a time zone offset — 2026-04-18T19:00:00+01:00, not "18 April, 7pm" — because an event without a zone is ambiguous to everyone outside yours. location must be a Place with a PostalAddress for a physical event, or a VirtualLocation with a URL for an online one.
A hybrid event has both, and the tool emits both when you give it both: an array containing a Place and a VirtualLocation, which is the shape schema.org expects. Set eventAttendanceMode to MixedEventAttendanceMode in that case so the two agree. Getting this right is the difference between an online event being shown to people who can attend it and being filtered out of a local results panel.
eventStatus matters more than it looks. An event that is cancelled, postponed or moved online should say so in the markup — EventCancelled, EventPostponed, EventMovedOnline — rather than being silently deleted, because search engines may keep showing a cached listing otherwise. The property exists precisely so a change of plan can be communicated.
When to use it
- Marking up an event page so the date and venue can show in search results.
- Producing the correct location block for a hybrid event, which is easy to get wrong by hand.
- Communicating a cancellation or a postponement in markup rather than by deleting the page.
- Checking a ticket Offer block before passing it to a developer.
Common mistakes to avoid
- A startDate with no time zone. 2026-04-18T19:00 means a different moment in every country that reads it.
- Using a venue name as the whole location. Google wants a Place with a PostalAddress, not a string.
- Marking an online event with a Place. Online events need a VirtualLocation with a url.
- Deleting a cancelled event instead of setting eventStatus to EventCancelled.
Frequently asked questions
What date format does startDate need?
ISO 8601 with an offset: 2026-04-18T19:00:00+01:00. A date alone (2026-04-18) is valid for an all-day event, but any event with a start time should include the zone.
How do I mark up a hybrid event?
Give both a venue and an onlineUrl. The tool emits a location array containing a Place and a VirtualLocation, and you should set mode to MixedEventAttendanceMode.
Is an Offer required?
No, but it is what lets a price and a ticket link appear. A free event can use price 0 with a currency.
Can one page hold several events?
Yes, as separate Event objects in an array or an @graph. This tool produces one at a time; paste the outputs together inside a single array if you need several.