Event schema generator. Date, place, ticket.
Fill the form for date, venue, ticket offers, organizer. The right panel renders Event JSON-LD live with the post-pandemic eventAttendanceMode + eventStatus fields Google requires. Pure browser code, no fetch, no log.
Sources used by this generator
- schema.org/Event · /EventAttendanceModeEnumeration · /EventStatusType
- Google event rich-result spec (post-pandemic eventAttendanceMode + eventStatus added 2020).
Privacy: form runs in-browser only.
How to use the Event Schema Generator
This generator writes Event structured data in JSON-LD for a page that announces an event. You fill in the form, the JSON-LD output panel rebuilds on every keystroke, and a checklist flags missing required and recommended fields. It is for site owners and SEOs who want event details that search engines can read without writing the markup by hand.
Step by step
-
Name and type the event
Replace the sample text in Event name, then pick the closest Event @type, such as BusinessEvent, MusicEvent or EducationEvent. Leave it on Event if nothing fits. Add the Event URL of the page that describes the event.
-
Set dates and status
Choose Start (ISO 8601) and End (ISO 8601). Pick the Attendance mode: Offline (in-person), Online (virtual) or Mixed (hybrid). Keep Event status on Scheduled unless the event was cancelled, moved online, postponed or rescheduled.
-
Describe the venue
Fill in Venue name, which is required, then Street, City, Region / state, Postal code and Country (ISO), a two letter code such as US. The address block is only written when at least one address field has a value.
-
Add ticket details
Enter Ticket price and Currency (ISO 4217), for example USD; both are needed before any offer is written. Then set Availability (InStock, SoldOut or PreOrder), Sales open (ISO) and the Ticket URL where people buy.
-
Add the organizer
Type the Organizer name and Organizer URL of the company or person running the event. Leave Organizer name empty to drop the organizer from the output.
-
Check and copy
Read the summary line above the code and the checklist below it, and fix anything marked with a cross. The first copy button wraps the JSON in a script tag of type application/ld+json, ready to paste into the page; Copy JSON only copies the bare object.
Reading the checklist
- The summary line counts passes, warnings and fails. With all the sample values filled in, it reads All 11 checks pass.
- A red cross is a fail: no event name, no start date, no venue name, or an end date that is not after the start. Fix these first, because the markup is incomplete without them.
- An amber triangle is a warning for a recommended field that is missing: the end date, the offer, the ticket URL, the sales open date or the organizer. The markup still works, but the listing has less to show.
- Dates come out exactly as the picker gives them, for example 2026-06-12T09:00, with no time zone offset added.
Tips and common mistakes
- Replace every sample value before you copy, including the venue address, the ticket URL and the organizer. It is easy to ship the example details by mistake.
- The date pickers give local time with no time zone. If people join from other time zones, add an offset such as -04:00 to startDate and endDate in the copied code.
- For an online only event the generator still writes a Place for the venue. Swap it by hand for a VirtualLocation with the stream URL, as the section below the tool explains.
- When plans change, update Event status instead of deleting the markup, so search results can show the event as cancelled, postponed or moved online.
- Run the page through a structured data test, such as Google's Rich Results Test, after you paste the code.
Privacy and limits
The form and the code are built entirely in your browser. Nothing you type is sent anywhere or saved, so reloading the page brings the sample values back. The copy buttons only use your clipboard.
Two new fields Google added in 2020.
The pandemic broke event schema. Pre-2020, an Event meant in-person at a venue. Post-2020, half of all events were virtual or hybrid. Google added two required fields to disambiguate:
eventAttendanceMode, three values: OfflineEventAttendanceMode (in-person), OnlineEventAttendanceMode (virtual), or MixedEventAttendanceMode (hybrid). Without this, the event won't show in Google's event-rich-result.
eventStatus, five values: EventScheduled, EventCancelled, EventMovedOnline, EventPostponed, EventRescheduled. Update this when plans change. Cancellations announced via the schema get reflected in Google's event listings within hours.
offers drives the ticket-pricing rich-result. Required: price, priceCurrency, availability. Recommended: validFrom (sales-open datetime), url (ticket-purchase page). The rich result shows the cheapest tier; if you have multiple price points, offers can be an array.
location is required even for online events, pass a VirtualLocation with a URL when the event is fully online. The generator outputs Place + PostalAddress for offline / mixed; switch to VirtualLocation pattern manually for online-only events.
Six questions users ask.
What does eventAttendanceMode mean?
Post-pandemic Google added a required attendance-mode field to distinguish between OfflineEventAttendanceMode (in-person), OnlineEventAttendanceMode (virtual), and MixedEventAttendanceMode (hybrid). Without this field, the event won't qualify for the rich-result.
Event vs. ConcertEvent / Festival / etc.?
Event is the parent type. The subtypes inherit all Event properties. Pick a subtype when one fits, Google uses it for sub-categorical rich-result eligibility. Default to plain Event if nothing fits cleanly.
Do I need an organizer?
Recommended, not required. Add an organizer Organization (or Person) when the event is run by a clear entity. Helps Google understand who's behind the event and links it to your brand.
How do I handle multi-day events?
Use startDate for the first day and endDate for the last day. Both must be ISO 8601 datetime strings (YYYY-MM-DDTHH:MM[+timezone]). Google handles the duration calculation automatically.
What's the offers field for?
Offers represents ticket pricing. Required fields: price, priceCurrency (3-letter ISO 4217), availability (InStock / SoldOut / etc.), validFrom (ISO 8601 datetime when sales open), and url. The rich result shows the cheapest tier.
Does this tool log my event details?
No. The form runs entirely in JavaScript on your device. Nothing is sent to Digital Heroes servers.
Schema cluster.
Published · Last updated .