Random Date Generator
Generate random dates or date-times between two days. Exclude weekends, sort, keep unique, choose ISO or locale format and copy.
π Runs entirely in your browser β nothing is uploadedGenerate random dates in any range
A random date generator is useful far beyond games. Developers need realistic sample data for databases and unit tests, teachers build worksheets and history quizzes, and project managers draw audit days or spot-check dates. Enter a start and an end date, choose how many results you want, and the tool returns dates spread evenly across that range. Every day in the range has the same chance of being selected, including the first and the last.
Turn on the random time option to produce full date-times, with a random second of the day attached to each date, shown as 2026-03-09T14:32:07 in ISO format. This is handy for timestamps in test fixtures, log samples and scheduling demos where several entries can fall on the same day.
Weekends, uniqueness and sorting
Switch on Exclude weekends when you only want working days, for example to schedule random inspections or pick review dates. The Unique only option guarantees that no date repeats. When you ask for more unique dates than the range contains, the tool returns all available dates and tells you why, instead of looping forever. You can also sort the list oldest first or newest first, which is helpful for timelines and sample event logs, or leave it in the order it was drawn.
Formats and copying
ISO format, such as 2026-03-09, sorts correctly as text and is accepted by databases, spreadsheets and most programming languages. The short and long locale options use your browser's language settings, so they may read as 3/9/26 or as Monday, March 9, 2026 in English, and differently in other languages. Dates are handled as calendar days, which means the output does not shift because of time zones or daylight saving changes. Copy the results with one click and paste them into a spreadsheet column or a code file. Randomness comes from the browser's secure random generator, and nothing is uploaded, so you can safely use the tool for private planning as well.
How to use
- Choose a date rangeSet the start and end dates. Both days are included in the pool.
- Set the optionsPick how many dates you want, and choose whether to add a random time, skip weekends or keep results unique.
- Choose sorting and formatSort oldest first, newest first or as drawn, and pick ISO, short or long locale formatting.
- Generate and copyPress Generate dates, then copy the list to paste into a spreadsheet, test data or notes.