Generate Event schema (JSON-LD) for your events

An Event schema generator is a free online tool that turns your event details into Event JSON-LD, the structured data that helps Google show your event with its date, location and ticket information in search. Fill in the event name and description, the start and end date and time, the attendance mode and status, the location and any ticket offers, and the generator writes valid JSON-LD ready to paste into any website or WordPress. Choose extended or minified output and test it in Google’s Rich Results Test. Everything runs in your browser, free and with no registration.

How to Implement?
HTML: Paste the code anywhere on the matching page.
WordPress: Choose whether to embed the code in a page or a post and enter its ID. The code should be added to the functions.php file of your theme.
Recommended: Minified. Reducing the code removes unnecessary characters such as spaces, tabs and line breaks thus lowering the weight of the code and helping the site load faster.
Ticket types
You have to fill all the fields or delete unused ones.
You have to fill all the fields or delete unused ones.

How to generate Event schema

  • Enter the event name and description, and optionally an image URL.
  • Set the start and end date and time, the attendance mode (online, offline or mixed) and the event status.
  • Add the location and any ticket offers so Google can show price and availability.
  • Choose Extended or Minified, click Copy, then paste the code into your page and validate it with Test with Google.

Where to add the Event schema code

  • Any website: paste the JSON-LD script into the HTML of the page that promotes the same event.
  • WordPress: add it to the matching page or post, or output it from your theme for that page ID.
  • Keep the schema in sync with the visible event details, especially the date, location and ticket status.

FAQ about the Event schema generator

What is Event schema?

Event schema, or Event JSON-LD, is structured data that describes an event: its name, dates, location, status and tickets. It helps Google show your event in search and other Google surfaces with the key details at a glance.

Which event details should I include?

At a minimum, add the event name and start date. For the best results also add the location or online URL, the end date, the status and a ticket offer with price and availability.

Can I mark an event as online or cancelled?

Yes. Set the attendance mode to online, offline or mixed, and set the status to scheduled, postponed, cancelled or moved online. Google uses these to show accurate information to users.

Will this schema work in WordPress?

Yes. Choose the WordPress option, set whether it is a page or a post and enter the ID, then add the generated code through your theme. It also works as plain HTML on any platform.

Is the Event schema generator free?

Yes, it is completely free, with no registration and no limit on how many events or codes you create.