Faker
  • Quick start
  • Guide
    • Providers
      • SSN
      • Base
      • Address
      • Company
      • Datetime
      • Internet
      • Lorem
      • Phone number
      • Miscellaneous
      • Color
      • Credit card
      • File
      • Person
      • User agent
    • Localization
    • Randomness seed
    • Generator
  • Github
  • Website
  • Sponsor this project
Powered by GitBook
On this page

Was this helpful?

Edit on Git
  1. Guide
  2. Providers

SSN

All parameters are optional.

Faker.ssn()               
=> "687-99-5399"


Faker.ssn("ITIN")         
=> "963-76-2411"


Faker.ssn("EIN")          
=> "87-0209613"


Faker.ssn("INVALID_SSN")  
=> "101-03-0000"

PreviousProvidersNextBase

Last updated 3 years ago

Was this helpful?