Random Year Generator
Pick a random year in any range.
Loading the random year generator… If nothing appears, please turn on JavaScript.
This random year generator picks a year between 1900 and 2026 by default. Change the range under Options to anything from ancient history to the far future, and draw several years at once.
How to pick a random year
- Press Pick a year (or the spacebar).
- Set the from and to year under Options.
- Draw several years by changing how many you want.
- Keep “No duplicates” on for a list of different years.
Ideas for random years
- History quizzes: name an event from the year picked.
- Music games: play a song released that year.
- Writing prompts: set a story in a random year.
- Time-travel games: where would you go, and what would you see?
- Test data: realistic years for spreadsheets and forms.
Keep, copy and share your years
Every result has a lock button. Locked results stay put when you generate again, so you can keep the years you like and reroll the rest. The history panel keeps your earlier results, and the back arrow takes you to the previous set if you generated one time too many. Press Wheel to put the current results on a spinning wheel and pick one with a bit of drama.
Use Copy to copy the results as a plain list, CSV or JSON, or download them as a file. Share copies a link that shows exactly the same results to whoever opens it, which is handy for games, classes and group chats.
Setting the range
Both ends of the range are included, so a range from 1990 to 1999 can give you either 1990 or 1999. Each year in the range has the same chance.
Need a full date or a birthday? Use the random date generator or the random birthday generator.
How the randomness works
Every result comes from your browser’s built-in cryptographic random number generator (crypto.getRandomValues). We use rejection sampling, so every item has exactly the same chance of being picked, with no bias toward the start or end of the list. Nothing is sent to a server, and share links store the exact results so the person you send them to sees the same thing.
Frequently asked questions
Which years can I choose from?
Any range from year 1 to 9999. The default is 1900 to 2026.
Are both ends included?
Yes.
Can I pick several years without repeats?
Yes. Keep "No duplicates" on.
Can I get a full date?
Yes. Use the random date generator.
Is every year equally likely?
Yes. Each year in the range has the same chance.
Is the random year generator free?
Yes. It is free, with no sign-up.