User Rating 0.0 ★★★★★
Total Usage 0 times
Category JSON Tools
RRULE Parser RFC 5545 to JSON Converter
JSON Output
// JSON result will appear here...
Is this tool helpful?

Your feedback helps us improve.

★ ★ ★ ★ ★

About

This tool parses RFC 5545 Recurrence Rules (RRULE) into machine-readable JSON objects. Recurrence rules are the standard method for defining repeating events in calendar systems (like Google Calendar, Outlook, and iCal). Parsing these strings manually is prone to off-by-one errors and regex failures.

We break down the RRULE string, separating keys like FREQ (Frequency) and INTERVAL from their values, and handle data type conversions automatically. The tool also provides a "Human Readable" summary to verify the logic.

rrule icalendar json parser recurrence

Formulas

An RRULE is a semicolon-separated list of properties. The basic structure is:

RRULE = KEY=VALUE;KEY=VALUE...

Example logic for a weekly meeting:

FREQ=WEEKLY; BYDAY=MO,WE,FR

Reference Data

PropertyTypeDescription
FREQENUMThe frequency of the recurrence (e.g., DAILY, WEEKLY).
INTERVALINTEGERHow often the rule repeats (default is 1).
COUNTINTEGERThe number of occurrences before ending.
UNTILDATEThe end date of the recurrence (UTC).
BYDAYLISTDays of the week (e.g., MO,TU).
WKSTDAYThe starting day of the week.

Frequently Asked Questions

RRULE (Recurrence Rule) is a standard defined in RFC 5545 for describing repeating events, such as "Every Monday" or "The last Friday of the month".
RRULE strings are typically timezone-agnostic or UTC-based (for UNTIL). This parser handles the string structure. Timezone application usually happens in the calendar engine itself.
The iCalendar standard uses YYYYMMDDTHHMMSSZ (e.g., 20241231T235959Z). Our parser converts this into a standard JavaScript ISO date string.
According to the RFC 5545 standard, if INTERVAL is omitted, it defaults to 1 (e.g., repeating every single unit of frequency).