Skip to content
faker.tools
All 79

Plate I · User & Personal Identity Generators

Date of Birth & Age Generator

Birth dates inside an age range, with the age calculated for you.

#Date of BirthAge
11990-12-1035
22000-08-1625
31993-05-0233
42002-04-1624
51993-02-2533
61974-08-2551
71982-12-1743
81993-11-2632
91974-01-1052
101990-12-2335
10 rows · 259 BGenerated in your browser · Date of Birth & Age Generator

Age-gated flows fail in narrow places: the day before a birthday, the leap day, the timezone boundary. Setting a tight age range here produces a batch clustered right against whatever threshold you are testing.

What you can control

  • Set the minimum and maximum age and every row lands inside it, calculated from today rather than a fixed year.
  • Five output formats, including Unix timestamps for anything that stores dates as integers.
  • The calculated age column accounts for whether the birthday has passed this year — the off-by-one that most age code gets wrong.
  • Narrow the range to a single year to stress-test an eligibility boundary.

What this is not

Ages are calculated in UTC. A user near a date boundary in another timezone may be a day older or younger than the column says, which is itself a bug worth reproducing.

Questions

How is age calculated?

Years since the birth year, minus one if this year's birthday has not happened yet. That subtraction is the part most implementations get wrong.

Can I generate people under 18?

Yes. Set the minimum age to 0. It is the fastest way to check that an age gate actually blocks who it claims to.

Why use Unix timestamps?

Because plenty of systems store dates as integers, and rendering one back as a date is where timezone bugs surface.

Next in Identity

All 12