About the Random Date Generator
Use this tool to select random calendar dates between two dates. It suits planning exercises, classroom activities, writing prompts, test data, schedule ideas, and birthday date ranges. Set the starting and ending dates, choose how many results you need, then filter dates by any day, weekdays, or weekends. You can allow repeated dates or prevent duplicates. Choose random order or list results from earliest to latest. Four display formats include a written date, ISO format, day-first, and month-first numeric dates. The tool runs in your browser, so nothing is uploaded. Results update as you type, without a calculate button. You can copy the results or share a link that reopens with your numbers. Its method explains the eligible date list and cryptographic random selection, which gives each allowed date an equal chance.
How to use it
- 1Enter the From and To dates.
- 2Choose how many dates to generate.
- 3Select allowed days and decide if repeats are allowed.
- 4Choose the result order and date format.
- 5Copy the results or share the link.
Worked example
Set From to 1 January 2026, To to 7 January 2026, How many dates to 3, Allowed days to Weekdays only, Repeats to No repeated dates, Order to Earliest first, and Format to Monday 5 January 2026. The eligible dates are 1, 2, 5, 6, and 7 January. One valid result is Thursday 1 January 2026, Monday 5 January 2026, and Wednesday 7 January 2026. Dates to pick from: 5.
How it works
Every allowed date between the two dates (both included) goes in a list, and dates are drawn with the browser's cryptographic random number generator (crypto.getRandomValues) so each date is equally likelyWithout repeats the list is shuffled (Fisher-Yates) and the first dates are takenSource: MDN: Crypto.getRandomValues()ISO: Date and time format. Last checked 5 November 2026.
What it is good for
- Filter results to all days, weekdays, or weekends.
- Prevent duplicate dates or allow repeats.
- Use ISO, written, day-first, or month-first formats.
- Weekdays only means Monday to Friday and does not remove public holidays.
- The tool generates calendar dates, not times or time-zone-aware timestamps.
Questions people ask
Can I generate a random date between two dates?
Yes. Enter the From and To dates, and both endpoints can be selected. The tool includes every allowed date between them.
Can I generate several random dates?
Yes. Set How many dates to the number you need. With repeats allowed, a date can appear more than once.
How do I stop duplicate dates?
Choose No repeated dates. The tool shuffles the eligible date list and takes the required number from the start.
What does Weekdays only include?
It includes Monday through Friday. It does not account for public holidays, regional holidays, or custom work schedules.
Which date format avoids confusion?
Use 2026-01-05 (ISO) for the clearest international format. Numeric dates can be ambiguous because 05/01/2026 means different dates in different regions.
Does February 29 work?
February 29 can appear only in a leap year. Invalid calendar dates are not part of the eligible date list.
Is the random selection secure?
FreeToolr uses the browser's crypto.getRandomValues method for selection. This supports equal selection among allowed dates, but the tool is not an independently audited system for regulated drawings.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.