You can get various Form 1040-series transcript types online, visiting this link: https://www.irs.gov/individuals/get-transcript
To register and use this service, you need:
Your SSN, date of birth, filing status and mailing address from latest tax return.
Access to your email account.
Your personal account number from a credit card, mortgage, home equity loan, home equity line of credit or car loan.
A mobile phone linked to your name (for faster registration) or ability to receive an activation code by mail.