IRIS W-2G CSV template and checker

Form W-2G, Certain Gambling Winnings, can be filed in the IRIS Taxpayer Portal with a CSV upload. Its template has 53 columns, 16 of them required, including 17 form box columns. Drop your file below to check it against every IRS rule, or read the column list further down.

Your file never leaves this computer. The W-2G rules load from this site, and your file is checked inside this browser tab. Nothing is uploaded.
Free. Checks every column against the IRS formatting guidelines.

Download the blank W-2G header (CSV) All IRIS templates

Built from the IRS TY2025 Template Formatting Guidelines, the latest posted. IRIS checks the header row against the template you download inside the portal, so upload with that one. Columns marked required are starred in the IRS guidelines.

Upload limits for every IRIS CSV

All 53 columns

Col.FieldRequiredExampleFormatting rules
AForm TypeW-2G
BTax Year2023
CPayer TIN TypeYesSSNMust be entered as "SSN" and "EIN"
DPayer Taxpayer ID NumberYes123-23-1234Digits and dashes only
Business TINs (EIN) must be in XX-XXXXXXX format
Individual TINs (SSN) must be in XXX-XX-XXXX format
EPayer Name TypeYesBMust be entered as "B" for Business Name or "I" for Individual
FPayer Business or Entity Name Line 1John Finch CompanyRequired if Name Type = "B"
Length: Max 40 characters
May only contain alphabet letters, numbers, blank space (), and the following special characters: hyphen (-), pound (#), parentheses (), ampersand (&), and apostrophe (')
May not contain leading, trailing, and adjacent spaces
GPayer Business or Entity Name Line 2Length: Max 40 characters
May only contain alphabet letters, numbers, blank space (), and the following special characters: hyphen (-), pound (#), parentheses (), ampersand (&), apostrophe ('), slash (/), and percent (%)
May not contain leading, trailing, and adjacent spaces
HPayer First NameJohnRequired if Name Type = "I"
Required if Last Name is filled out
Length: Max 20 characters
May only contain alphabet letters, blanks ( ) and hyphens (-)
May not contain leading, trailing, and adjacent spaces
IPayer Middle NameJamesLength: Max 20 characters
May only contain alphabet letters, blanks ( ) and hyphens (-)
May not contain leading, trailing, and adjacent spaces
JPayer Last Name (Surname)FinchRequired if Name Type = "I"
Required if First Name is filled out
Length: Max 20 characters
May only contain alphabet letters, blanks ( ) and hyphens (-)
May not contain leading, trailing, and adjacent spaces
KPayer SuffixLength: Max 20 characters
May only contain alphabet letters, blanks ( ) and hyphens (-)
May not contain leading, trailing, and adjacent spaces
LPayer CountryYesUSMust be entered according to their designated country abbreviation
Link to country abbreviations: https://www.irs.gov/e-file- providers/foreign-country-code-listing-for-modernized-e-file
MPayer Address Line 1Yes1234 Midway RdLength: Max 35 characters
May only be alpha-numeric characters and the following special characters: hyphen ( - ) slash ( / ) space ( )
May not contain leading, trailing, and adjacent spaces
NPayer Address Line 2Length: Max 35 characters
May only be alpha-numeric characters and the following special characters: hyphen ( - ) slash ( / ) space ( )
May not contain leading, trailing, and adjacent spaces
OPayer City/TownYesDallasLength: Max 40 characters
May only be alphabet characters and the following special characters: space ( )
May not contain leading, trailing, and adjacent spaces
PPayer State/Province/TerritoryYesTexas (TX)[Domestic]
Must be entered as their 2 letter abbreviation
Link to 2 letter abbreviation: https://www.irs.gov/pub/irs- utl/zip code and state abbreviations.pdf _ _ _ _ [Foreign]
Length: Max 17 characters
Alpha-numeric characters (A-Z, 0-9) and spaces only
May not contain leading, trailing, and adjacent spaces
QPayer ZIP/Postal CodeYes12309[Domestic]
Length: Exactly 5, 9 or 12 characters
Digits only [Foreign]
Length: Max 9 characters
Alpha-numeric characters only (A-Z, 0-9)
RPayer Phone TypeDMust be entered as "D" for Domestic or "I" for International
SPayer Phone2145555555Domestic Phone must be in one of the following formats: 1231231234, 123-123-1234, (123) 123-1234
International Phone must be 15 digits or less and may only include the "+" symbol at the beginning
TWinner TIN TypeSSNRequired if Taxpayer ID Number is entered.
Must be entered as "SSN", "EIN", "ATIN", "ITIN", "QI-EIN", or "UND"
UWinner Taxpayer ID Number123-23-1234Business TINs (EIN, QI-EIN) must be in XX-XXXXXXX format
Individual TINs (SSN, ITIN, ATIN) must be in XXX-XX-XXXX format
Undeterminable TINs (UND) must be in XXXXXXXXX format
VWinner Name TypeYesBMust be entered as "B" for Business Name or "I" for Individual
WWinner Business or Entity Name Line 1ABC123Required if Name Type = "B"
Length: Max 40 characters
May only contain alphabet letters, numbers, blank space (), and the following special characters: hyphen (-), pound (#), parentheses (), ampersand (&), and apostrophe (')
May not contain leading, trailing, and adjacent spaces
XWinner Business or Entity Name Line 2Length: Max 40 characters
May only contain alphabet letters, numbers, blank space (), and the following special characters: hyphen (-), pound (#), parentheses (), ampersand (&), apostrophe ('), slash (/), and percent (%)
May not contain leading, trailing, and adjacent spaces
YWinner First NameSarahRequired if Name Type = "I"
Required if Last Name is filled out
Length: Max 20 characters
May only contain alphabet letters, blanks ( ) and hyphens (-)
May not contain leading, trailing, and adjacent spaces
ZWinner Middle NameJasminLength: Max 20 characters
May only contain alphabet letters, blanks ( ) and hyphens (-)
May not contain leading, trailing, and adjacent spaces
AAWinner Last Name (Surname)FinchRequired if Name Type = "I"
Required if First Name is filled out
Length: Max 20 characters
May only contain alphabet letters, blanks ( ) and hyphens (-)
May not contain leading, trailing, and adjacent spaces
ABWinner SuffixLength: Max 20 characters
May only contain alphabet letters, blanks ( ) and hyphens (-)
May not contain leading, trailing, and adjacent spaces
ACWInner CountryYesUSMust be entered according to their designated country abbreviation
Link to country abbreviations: https://www.irs.gov/e-file- providers/foreign-country-code-listing-for-modernized-e-file
ADWinner Address Line 1Yes1234 Midway RdLength: Max 35 characters
May only be alpha-numeric characters and the following special characters: hyphen ( - ) slash ( / ) space ( )
May not contain leading, trailing, and adjacent spaces
AEWinner Address Line 2Length: Max 35 characters
May only be alpha-numeric characters and the following special characters: hyphen ( - ) slash ( / ) space ( )
May not contain leading, trailing, and adjacent spaces
AFWinner City/TownYesDallasLength: Max 40 characters
May only be alphabet characters and the following special characters: space ( )
May not contain leading, trailing, and adjacent spaces
AGWinner State/Province/TerritoryYesTX[Domestic]
Must be entered as their 2 letter abbreviation
Link to 2 letter abbreviation: https://www.irs.gov/pub/irs- utl/zip code and state abbreviations.pdf _ _ _ _ [Foreign]
Length: Max 17 characters
Alpha-numeric characters (A-Z, 0-9) and spaces only
May not contain leading, trailing, and adjacent spaces
AHWinner ZIP/Postal CodeYes12309[Domestic]
Length: Exactly 5, 9 or 12 characters
Digits only [Foreign]
Length: Max 9 characters
Alpha-numeric characters only (A-Z, 0-9)
AIOffice Code1234Length: Exactly 4 digits
AJBox 1 - Reportable Winnings1000.50$0 to $999,999,999,999,999
Cannot be negative
Digits only except 1 decimal is allowed
Must have no more than two digits after the decimal. Check for long numbers in money amount fields that may have been formatted in scientific notation. For example: 1.045E+5.
AKBox 2 - Date WonYes03/01/22Length: Max 8 characters
Digits only
Date field must be in MM/DD/YYYY format
ALBox 3 - Type of WagerYes1Length: Max 1 character
Must be entered as "1" for Horse race track "2" for Dog race track "3" for Jai-alai "4" for State-conducted lottery "5" for Keno "6" for Bingo "7" for Slot machines "8" for Poker winnings "9" for Any other type of gambling winnings
AMBox 4 - Federal Income Tax Withheld1001$0 to $999,999,999,999,999
Cannot be negative
Digits only except 1 decimal is allowed
Must have no more than two digits after the decimal. Check for long numbers in money amount fields that may have been formatted in scientific notation. For example: 1.045E+5.
ANBox 5 - TransactionExample123Length: Max 10 characters
Should only include alphanumeric values and certain special characters and may not include leading or trailing spaces, or more than 1 space in a row.
Allowed special characters include the following: ! " # $ % & ' ( ) * + , - . / : ; < > = ? @ { | } ~ £ § Á É Í Ñ Ó × Ú Ü á é í ñ ó ú ü
AOBox 6 - RaceExample123Length: Max 10 characters
Should only include alphanumeric values and certain special characters and may not include leading or trailing spaces, or more than 1 space in a row.
Allowed special characters include the following: ! " # $ % & ' ( ) * + , - . / : ; < > = ? @ { | } ~ £ § Á É Í Ñ Ó × Ú Ü á é í ñ ó ú ü
APBox 7 - Winnings From Identical Wagers1001$0 to $999,999,999,999,999
Cannot be negative
Digits only except 1 decimal is allowed
Must have no more than two digits after the decimal. Check for long numbers in money amount fields that may have been formatted in scientific notation. For example: 1.045E+5.
AQBox 8 - CashierExample123Length: Max 10 characters
Should only include alphanumeric values and certain special characters and may not include leading or trailing spaces, or more than 1 space in a row.
Allowed special characters include the following: ! " # $ % & ' ( ) * + , - . / : ; < > = ? @ { | } ~ £ § Á É Í Ñ Ó × Ú Ü á é í ñ ó ú ü
ARBox 10 - WindowExample123Length: Max 10 characters
Should only include alphanumeric values and certain special characters and may not include leading or trailing spaces, or more than 1 space in a row.
Allowed special characters include the following: ! " # $ % & ' ( ) * + , - . / : ; < > = ? @ { | } ~ £ § Á É Í Ñ Ó × Ú Ü á é í ñ ó ú ü
ASBox 11 - First Identification no.Example123Length: Max 40 characters
Should only include alphanumeric values and certain special characters and may not include leading or trailing spaces, or more than 1 space in a row.
Allowed special characters include the following: ! " # $ % & ' ( ) * + , - . / : ; < > = ? @ { | } ~ £ § Á É Í Ñ Ó × Ú Ü á é í ñ ó ú ü
ATBox 12 - Second Identification no.Example123Length: Max 40 characters
Should only include alphanumeric values and certain special characters and may not include leading or trailing spaces, or more than 1 space in a row.
Allowed special characters include the following: ! " # $ % & ' ( ) * + , - . / : ; < > = ? @ { | } ~ £ § Á É Í Ñ Ó × Ú Ü á é í ñ ó ú ü
AUState/Payer’s StateVALength: Max 2 characters
Must be entered as their 2 letter abbreviation.
Link to 2 letter abbreviation: https://www.irs.gov/pub/irs-
AVBox 13 - State/Payer’s State Identification NumberExample123Length: Max 24 characters
Must be alpha-numeric characters.
AWBox 14 - State Winnings1000.5$0 to $999,999,999,999,999
Cannot be negative
Digits only except 1 decimal is allowed
Must have no more than two digits after the decimal. Check for long numbers in money amount fields that may have been formatted in scientific notation. For example: 1.045E+5.
AXBox 15 - State Income Tax Withheld1000.5$0 to $999,999,999,999,999
Cannot be negative
Digits only except 1 decimal is allowed
Must have no more than two digits after the decimal. Check for long numbers in money amount fields that may have been formatted in scientific notation. For example: 1.045E+5.
AYBox 16 - Local Winnings1000.5$0 to $999,999,999,999,999
Cannot be negative
Digits only except 1 decimal is allowed
Must have no more than two digits after the decimal. Check for long numbers in money amount fields that may have been formatted in scientific notation. For example: 1.045E+5.
AZBox 17 - Local Income Tax Withheld1000.5$0 to $999,999,999,999,999
Cannot be negative
Digits only except 1 decimal is allowed
Must have no more than two digits after the decimal. Check for long numbers in money amount fields that may have been formatted in scientific notation. For example: 1.045E+5.
BABox 18 - Name of LocalityExample123Length: Max 50 characters
Should only include alphanumeric values and certain special characters and may not include leading or trailing spaces, or more than 1 space in a row.
Allowed special characters include the following: ! " # $ % & ' ( ) * + , - . / : ; < > = ? @ { | } ~ £ § Á É Í Ñ Ó × Ú Ü á é í ñ ó ú ü

What the checker does

Date columns: the IRS guidelines ask for MM/DD/YYYY but also say "Max 8 characters, Digits only". The checker accepts both MM/DD/YYYY and MMDDYYYY. If the portal rejects one, try the other.

For 1099-NEC and 1099-MISC, the main IRIS CSV tool goes further: it builds the template from QuickBooks, Excel or FIRE files.

Frequently asked questions

Where do I download the official W-2G CSV template?
Sign in to the IRIS Taxpayer Portal, open Upload CSV with Form Data, choose W-2G and the tax year, and select Download. The formatting guidelines are linked in the FAQ box on the same page.
How many W-2G records can one CSV hold?
Up to 250 records per file, not counting the header, and the file must be 100KB or less. The portal then submits at most 100 forms at a time.
What does "required" mean here?
The IRS guidelines mark these columns with an asterisk. Other columns can still become required by a rule, for example a TIN type when a TIN is entered.

Sources

Last reviewed November 1, 2026.

Related