Random Date Generator
Generate random dates between two dates, with options for how many, output format, random time of day, unique dates, and sorting.
ToolsSoup's Random Date Generator picks random dates between any two dates you choose, right in your browser. Set a start and end date, decide how many dates to draw, pick the output format, optionally add a random time of day, and keep every date unique or sort them oldest first. Everything runs locally using your device's cryptographically secure random source, so nothing you generate is ever sent to a server, logged, or stored.
What is a random date generator?
A random date generator is a tool that produces unpredictable dates within a range you define. It's useful for seeding databases and test data, generating fake birthdays and sign-up dates, scheduling and sampling, picking a random day for an event, QA and demos, and making fair, unbiased choices. This tool uses the Web Crypto API (crypto.getRandomValues), the same cryptographically secure source browsers use for encryption, so every date in the range is equally likely.
How to generate random dates
Generating random dates takes only a few seconds:
- Set the start and end dates for the range you want.
- Set how many dates to generate at once.
- Choose the date format: ISO, US, European, long, or Unix timestamp.
- Optionally include a random time of day, keep dates unique, and sort the results.
- Click Generate and copy the dates in one click.
Date formats, times, and unique dates
Pick the format that fits your data: ISO (2024-05-17) for databases and APIs, US (05/17/2024) or European (17/05/2024) for spreadsheets, a long format (May 17, 2024) for readable text, or a Unix timestamp in milliseconds for code. Turn on Include random time of day to draw a full date-time instead of midnight. Turn on Unique dates to draw without repeats; when times are off the granularity is whole days, so the range must span at least as many days as the count you request.
Why use this random date generator?
- 100% free with no ads, sign-up, or usage limits.
- Runs entirely in your browser — generated dates are never uploaded or stored.
- Uses the cryptographically secure Web Crypto API, not Math.random().
- Choose ISO, US, European, long, or Unix timestamp formats.
- Add a random time of day for full date-time values.
- Generate up to 1000 unique dates at once and copy them all in one click.
Frequently asked questions
Are the start and end dates included?
Yes. The range is inclusive of both bounds, so a date can fall on the start date, the end date, or any day in between.
Which date formats are supported?
ISO (YYYY-MM-DD), US (MM/DD/YYYY), European (DD/MM/YYYY), a long format like May 17, 2024, and a Unix timestamp in milliseconds. Switch formats and regenerate any time.
Can I include a random time of day?
Yes. Tick Include random time of day and each result gets a random hour, minute, and second within the day. With it off, dates are generated at midnight.
Can I generate unique dates with no repeats?
Yes. Tick Unique dates to draw without repeats. When times are off, dates are unique by day, so the range must span at least as many days as the count you request; turn on times to fit more unique values into a small range.
Is anything sent to a server?
No. Everything is generated locally in your browser. Nothing you create is uploaded, logged, or stored, so your dates stay private to your device.