How do I get my 2018 W2 online?
The best way to get you W-2 is from the employer. You can obtain an IRS transcript but it will not have all the detailed information that the W-2 does. The most important information that cannot be obtained from the IRS transcript is the state withholdings. You would have to obtain that from the state.