Format Code Now
/
Random generatorsRandom Birthday Generator Next: Random Name Picker ›

Random Birthday Generator

RG-12

Type a first and last birth year and press Generate to get random birth dates in that span. Use them as test data for forms and databases. They belong to no one.

Runs in your browser. Nothing is uploaded.

Birth years: first and last on one line (empty means 1950 2005)

Birth dates

How to use it

  1. Type the first and last year on one line, such as 1980 2000. Empty means 1950 to 2005.
  2. Choose how many dates to make and the format.
  3. Pick an order if you want the list sorted.
  4. Press Generate and copy the list.

How dates are picked

The page chooses a day uniformly from 1 January of the first year to 31 December of the last year. Every real calendar day has the same chance. Leap days, 29 February, appear only in leap years of the Gregorian calendar, and months have their true length, so you never get 31 June.

Formats

Choose ISO (2001-03-27), US (03/27/2001), European (27/03/2001) or long (March 27, 2001). The date is the same in all formats, only the writing changes. The ISO form sorts correctly as text. Sorting by date works in any format because the list is ordered before it is written.

Test data only

The dates are random and made up. They do not belong to a person, and the page does not give ages, star signs or names. If you need people with matching names and addresses, build them in your own test data tool. Choices use crypto.getRandomValues, and nothing is stored or sent.

Error messages and what to do

MessageWhat it meansFix
Years must be between 1 and 9999.The range includes a year outside 1 to 9999.Use years from 1 to 9999.

Questions people ask

How do I generate a random birthday?

Type a range of years such as 1985 1995, choose how many dates and press Generate. Each line is a valid date in that range.

Can it generate dates for a specific age range?

Convert the age range to birth years first. For people aged 20 to 30 in 2026, use 1996 2006. The page does not calculate ages for you.

Will it produce impossible dates like 31 June?

No. Dates are picked from real calendar days, so month lengths and leap years are right. 29 February only appears in leap years.

Which date format should I use for a database?

ISO, such as 2001-03-27, is accepted by most databases and sorts correctly as text. Use US or European only if your form expects them.

Are the birthdays real people's?

No. They are random dates with no link to anyone. They are safe to use as placeholders, but a random date can match a real person's birthday by chance, as any date would.

Can I get the dates in order?

Yes. Choose Smallest first for oldest first or Largest first for newest first under Order. The default is the order they were drawn.

About this tool

Picks a day uniformly from 1 January of the first year to 31 December of the last year, so leap days (29 February) appear in leap years only and every real calendar day is equally likely. Dates use the Gregorian calendar. The dates are made up for test data and forms; they do not belong to any person, and the page does not give ages or star signs. Values use crypto.getRandomValues; nothing is stored or sent.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.