You cannot obtain a copy of your W-2 form from the IRS but you may be able to get a transcript of your W-2 entries by using this IRS link.