01What is RRULE Generator?
The RRULE Generator builds iCalendar recurrence rules as defined in RFC 5545, section 3.3.10. Pick a frequency (DAILY, WEEKLY, MONTHLY or YEARLY), an interval, weekdays, days of the month, months and an end condition. The tool writes the matching RRULE line and a plain English summary such as "Every month on the last Friday, 3 times". It then lists the next 12 dates the rule produces from your start date. You can also paste an existing rule, for example from an .ics file or a calendar API, and the form fills itself in. The parser follows the rules in the RFC. FREQ is required. COUNT and UNTIL cannot appear together. Numbered weekdays like 1MO or -1FR are only accepted with MONTHLY or YEARLY. BYMONTHDAY is rejected with WEEKLY. Each rule part may appear only once. Dates that do not exist, such as the 31st in a 30 day month or February 30, are skipped as the RFC says, so a rule for day 31 jumps from January to March. The preview logic was checked against the worked examples in RFC 5545 section 3.8.5.3, including every other week on Tuesday and Thursday, the first Friday of each month, the 20th Monday of the year and every Friday the 13th. Here is a worked example. Start on 1 December 2026 and choose MONTHLY, the last Friday, ending after 3 times. The tool writes RRULE:FREQ=MONTHLY;BYDAY=-1FR;COUNT=3 and the summary "Every month on the last Friday, 3 times". The preview lists 25 December 2026, 29 January 2027 and 26 February 2027. Change COUNT to UNTIL and the end date replaces the count, because the RFC allows only one of the two. There are limits. BYWEEKNO, BYYEARDAY, BYHOUR, BYMINUTE and BYSECOND are valid RRULE parts, but this preview ignores them and shows a warning. BYSETPOS is supported: it picks the nth match in each month or year, so BYDAY=MO,TU,WE,TH,FR with BYSETPOS=-1 gives the last working day of the month. HOURLY, MINUTELY and SECONDLY frequencies are not previewed. Times are treated as plain wall-clock times, so time zones and daylight saving shifts are not applied. A start date that does not match the rule is not listed, even though some calendar software counts it as the first event. Everything runs in your browser and nothing is sent to a server.
Developers building scheduling features, calendar integrations or .ics exports who need a correct recurrence rule. The tool runs entirely in your browser, so your data never leaves your device.
02How to use RRULE Generator
- Set the start date and start time for the first event.
- Choose a frequency and how many periods to skip with INTERVAL.
- Select weekdays, days of the month or months to narrow the rule, and pick an ordinal like 1st or last for monthly rules.
- Choose how it ends: never, after a number of times, or on a date.
- Copy the RRULE line and check the list of upcoming dates. To edit an existing rule, paste it in the parse box first.
03Worked examples
- Input:
FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=5 starting 2026-11-25 - Result:
RRULE:FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=5 gives 2026-11-25, 2026-11-27, 2026-11-30, 2026-12-02, 2026-12-04 - Three days a week, stopping after five dates.
- Input:
FREQ=MONTHLY;BYDAY=-1FR;COUNT=3 starting 2026-12-01 - Result:
Every month on the last Friday, 3 times: 2026-12-25, 2027-01-29, 2027-02-26 - A negative ordinal counts from the end of the month.
- Input:
FREQ=MONTHLY;BYMONTHDAY=31 starting 2026-01-31 - Result:
Every month on day 31: 2026-01-31, 2026-03-31, 2026-05-31, 2026-07-31 - Months without a 31st are skipped, as RFC 5545 requires.
- Input:
FREQ=WEEKLY;INTERVAL=2;BYDAY=TU;UNTIL=20270131 starting 2026-12-01 - Result:
Every 2 weeks on Tuesday, until 2027-01-31: 2026-12-01, 2026-12-15, 2026-12-29, 2027-01-12, 2027-01-26 - INTERVAL=2 skips every other week, and UNTIL stops the series at the given date.
- Input:
FREQ=YEARLY;BYMONTH=11;BYDAY=4TH starting 2026-11-26 - Result:
Every year in November on the 4th Thursday: 2026-11-26, 2027-11-25, 2028-11-23, 2029-11-22, 2030-11-28 (first 5 shown) - US Thanksgiving. The date moves each year but the rule stays the same.
- Input:
FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1 starting 2026-12-01 - Result:
Every month on Monday, Tuesday, Wednesday, Thursday, Friday, taking only the last match in each month 2026-12-31 Thu 2027-01-29 Fri 2027-02-26 Fri 2027-03-31 Wed 2027-04-30 Fri - BYSETPOS=-1 keeps only the last of the weekdays in each month, so you get the last working day of every month (5 shown).
04Common use cases
- Writing the RRULE line for an .ics file or a calendar invite generated by your backend
- Checking what a recurrence rule from Google Calendar or Outlook data actually expands to
- Testing edge cases such as monthly rules on the 31st or yearly rules on February 29
- Building the recurrence string for a calendar API request that accepts RFC 5545 rules
- Explaining a pasted rule to a teammate in plain English
05Tips
- Use BYMONTHDAY=-1 for the last day of every month instead of 28, 30 or 31.
- BYDAY=-1FR with FREQ=MONTHLY means the last Friday of the month.
- UNTIL is inclusive, so an event that falls on the UNTIL date still happens.
- WKST only changes results for WEEKLY rules with an INTERVAL above 1 and several weekdays.
06Related concepts
RFC 5545, iCalendar, RRULE, DTSTART, Recurrence rule, .ics file.
Frequently Asked Questions
What is RRULE Generator?
RRULE Generator is a free, browser-based developer tool on AIDToolStack. Free RRULE generator. Build iCalendar recurrence rules with FREQ, INTERVAL, BYDAY, BYMONTHDAY, COUNT and UNTIL, parse a pasted RRULE and preview dates. It requires no installation or sign-up and works entirely in your browser.
Is RRULE Generator free to use?
Yes. No sign-up, no fees and no usage cap.
Does RRULE Generator store my data?
No. It runs in your browser; nothing is uploaded.