Random Date Generator
Generate one or many random dates inside a bounded start/end range — with optional weekend exclusion, no-duplicates, sorting, and day-of-week labels. Runs entirely in your browser.
Input
Settings
Output
Guides
What does this tool do?
Picks one or many random dates from inside a start/end range you choose. Useful for seeding test data, picking a random deadline or event day, running a raffle-style date draw, or just settling "pick a day" arguments. Unlike a fixed-interval list, every date is drawn independently at random within the range.
Settings
- Start date / End date — the inclusive range dates are drawn from.
- Count — how many dates to generate at once (1–40).
- Exclude weekends (Sat/Sun) — only draw from Monday–Friday.
- No duplicate dates — draw each date at most once (turn off to allow repeats, e.g. when the range is smaller than the count).
- Sort chronologically — order the results oldest to newest instead of draw order.
- Include day of week — append the weekday name to each result (
2026-08-14 (Friday)).
How to use it
- Pick a Start date and End date.
- Set the Count and any filters (weekend exclusion, duplicates, sorting, weekday labels).
- Click Generate dates — each click draws a fresh set.
- Copy or download the result list, or click again for a new draw with the same settings.
FAQ
What happens if the range doesn't have enough eligible dates for the count I set? With "No duplicate dates" on, the tool errors and tells you how many eligible dates actually exist in range — reduce the count, widen the range, or turn off weekend exclusion. Turn off "No duplicate dates" to allow repeats instead.
I need every date in the range, not random ones — is there a tool for that? Yes — the Date Range Generator lists every date (or hourly/minute timestamp) between two dates in order, rather than drawing randomly.
Can I add or subtract time from a single date instead of picking a random one? Use the Date Calculator to add or subtract years, months, and days from a starting date.
Privacy
All generation happens entirely in your browser using JavaScript — nothing is uploaded to iotools.cloud's servers.
Use it from code
From 3 credits per callREST API
curl -X POST https://api.iotools.cloud/v1/tool/random-date-generator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"startDate": "2026-01-01",
"endDate": "2026-12-31",
"entriesCount": "5",
"excludeWeekends": "",
"uniqueDates": "true",
"sortResults": "true",
"includeWeekday": "true"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `random-date-generator` tool (Random Date Generator) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.