US EIN Generator
Generate and format valid US Employer Identification Numbers (EIN / Federal Tax ID) for QA and development.
About Employer Identification Number (EIN)
The Employer Identification Number (EIN), also known as the Federal Employer Identification Number (FEIN), is a 9-digit tax identification number assigned by the Internal Revenue Service (IRS) to business entities operating in the United States (IRC § 6109).
The EIN consists of 9 digits in the format XX-XXXXXXX, where the first 2 digits represent the regional IRS processing campus (Andover, Atlanta, Austin, Brookhaven, Cincinnati, Fresno, Kansas City, Memphis, Ogden, Philadelphia) or application channel (Internet, SBA).
Anatomy & Structure of EIN (9 Digits: XX-XXXXXXX)
The IRS Employer Identification Number is structured into 2 distinct sections:
| Position | Field | Length | Meaning & Rule | Example |
|---|---|---|---|---|
| 1 & 2 | Campus Prefix | 2 digits | IRS regional processing center code or Internet application channel | 12 |
| 3 to 9 | Registration Serial | 7 digits | Unique sequential identifier issued to the business entity | 3456789 |
EIN Validation Rules (IRS Guidelines)
EIN verification validates format, non-zero serials, and authorized IRS campus prefixes:
- 1. Strip formatting to retain exactly 9 numeric digits.
- 2. Confirm total length is exactly 9 digits.
- 3. Extract the 2-digit prefix (positions 1 and 2).
- 4. Verify the prefix belongs to the authorized IRS campus mapping.
- 5. Reject forbidden IRS prefixes (00, 07, 08, 09, 17, 18, 19, 28, 29, 49, 69, 70, 78, 79, 89, 96, 97).
- 6. Verify the 7-digit serial is not entirely zeros (0000000).