Printed a code and need to change the link? QR Gen makes codes you can edit later.Edit codes after printing with QR Gen.See QR Gen

Open on your phone

Event QR code that adds to the calendar

Make an event QR code that stores the date, time and place for a phone calendar. See the VEVENT text, time zone choices, sizes and when a link wins.

An event QR code stores a small calendar entry (a title, a start time, an end time and a place) so that a phone can offer to save it. You make one in the Event tab of the generator in under a minute. Whether it is the right choice depends on one thing: will the details change after you print? If they might, link to a page instead.

The two options look similar on a flyer and behave very differently once the poster is on a wall. This guide shows the exact text inside an event code, how its time zone handling works, how big the code gets, and what we could and could not confirm about phones. For the basics of making any code, start with how to make a QR code.

What is inside an event code

The format is a trimmed-down iCalendar entry. iCalendar is the standard behind .ics calendar files, and Google Calendar’s help page calls it a standard calendar format used to transfer calendar data. Here is what our generator writes for an evening open mic at Example Café on 12 December 2026:

BEGIN:VEVENT
SUMMARY:Example Cafe Open Mic
DTSTART:20261212T183000
DTEND:20261212T210000
LOCATION:Example Cafe\, 12 Example Road\, Pune
END:VEVENT

Line by line: SUMMARY is the title the calendar shows. DTSTART and DTEND are the start and end, written as year, month, day, a T, then hours, minutes, seconds. LOCATION is free text. The backslashes before the commas are deliberate: in iCalendar text a comma or semicolon must be escaped, which our generator does for you.

We measured this at error correction M: 146 bytes, version 8, 49 by 49 modules (57 with the quiet zone). At level L it drops to version 7, 45 by 45. That is a dense code, larger than a Wi-Fi or a link code. Keep it for the points where the saved calendar entry is the whole point.

Time zones: pick one of three forms

This is where event codes go wrong. The iCalendar specification, RFC 5545, defines three ways to write a date and time:

Form Example What the phone does with it
Floating (local) 20261212T183000 Bound to no time zone, so in practice 6:30 pm wherever the phone is
UTC 20261212T130000Z Converts from absolute time to the phone’s own zone
With a zone DTSTART;TZID=Asia/Kolkata:20261212T183000 Pins it to a named zone, at the cost of a longer code

Our generator writes the floating form. For a café open mic in Pune that is correct: anyone scanning the flyer in Pune wants 6:30 pm. It is wrong for an online talk where attendees sit in different zones, because 6:30 pm “wherever you are” means something different for each of them. For that case you need UTC. India is UTC+5:30, so 6:30 pm IST is 13:00 UTC, and the lines become:

DTSTART:20261212T130000Z
DTEND:20261212T153000Z

The generator cannot write a Z time, but the Text tab can hold anything you paste in. Write the block by hand with the UTC lines, check the arithmetic twice, and test it. The size barely changes: 148 bytes, version 8 at M.

All-day and multi-day events

For a sale that runs all day, drop the clock times and write dates only. A date is eight digits with VALUE=DATE, and RFC 5545 treats the end as non-inclusive, so a one-day event ends on the next date:

BEGIN:VEVENT
SUMMARY:Example Cafe Winter Sale
DTSTART;VALUE=DATE:20261212
DTEND;VALUE=DATE:20261213
END:VEVENT

We measured it at version 7, 45 by 45 modules, at M. The same sale with clock times (10 am to 8 pm, floating) is version 6, 41 by 41, because those lines are shorter. If you leave DTEND out of an all-day event, the RFC says the duration is taken to be one day. Our generator always writes clock times, so an all-day entry is another case for the Text tab. Test it, since not every calendar app treats a hand-written date form the same way.

What the specification wants, and what a code leaves out

RFC 5545 says an event in a calendar file must have DTSTAMP and UID, and that DTEND and DURATION cannot both appear. A complete file also starts with BEGIN:VCALENDAR. We wrote one out in full for the same event, with a TZID and both required lines, and measured it: 311 bytes, version 13, 69 by 69 modules at M (77 with the border). That is more than twice the bytes of the short form, and the printed code would be roughly twice as wide at the same module size.

The short form leaves those lines out to keep the code small. Whether a given scanner fills the gaps is something to test, not assume. The ZXing project’s Barcode Contents page documents iCalendar and vCalendar as defining a subset of their format for events, with a BEGIN:VEVENT example. But it does not say which apps handle it.

What we could not confirm about phones

We looked for Apple or Google documentation promising that scanning an event code with the default camera offers to add it to the calendar. We did not find it. Apple’s support page for scanning codes describes opening websites, apps and tickets, and says nothing about calendar events. So we will not promise the behaviour for every phone.

What we can say: the format is the standard one, and several generators produce it. Behaviour varies by phone model, OS version and scanning app, and some phones will show the text of the event or ask which app should open it. That is why testing is not optional here. Scan your proof with an iPhone camera, an Android camera, and Google Lens, and write down what each one does. Our scanner recognises event codes and tells you what they hold, which shows whether the text itself is right even if a phone does something else with it.

An event code is frozen at print time. A link code is not frozen, because the page behind it can change. Compare:

Add-to-calendar code Link to an event page
Code size 146 bytes, version 8 https://example.com/openmic is 27 bytes, version 3
Date changes Reprint everything Edit the page
Needs internet to scan No Yes
Tickets, RSVP, map No Yes
Works if the phone ignores events Not guaranteed Yes, any browser

Use the calendar code for a fixed, free, one-off thing: a shop’s sale day, a school function, a class timetable stuck on a notice board. Use a link for anything with tickets, a changing venue or an RSVP. A page can have its own “add to calendar” button, so you lose nothing.

If the date might still move, a dynamic code is the fix: print once, repoint the address later. QR Gen does that, with 2 dynamic codes on the free plan as of November 2026. Static vs dynamic QR codes lays out the trade, and do QR codes expire explains why a static event code keeps working long after the event is over.

Because the code is dense, give it room. At a 0.4 mm module (a sensible floor for hand-held scanning), the version 8 code needs 23 mm including its border, and the full version 13 form needs 31 mm. On a poster, go well beyond that: 40 mm or more is easy. Print size for QR codes has the distance rules.

Print the words beside it: “Scan to add to your calendar” and, in plain text, the date, time and place. A code is a convenience, not the primary record. If a guest’s phone does nothing useful, they still have the details in front of them.

Final checks before the print run:

  1. Date, month and year correct (read the decoded text in the scanner, not the form).
  2. Time form chosen on purpose: floating for local events, UTC for online ones.
  3. Tested on one iPhone and one Android phone, and noted what each does.
  4. Plain-text date, time and place printed beside the code.

Ready to try it? Free, no sign-up, made in your browser.

Make this code now