If your domain name is registered at HostGator and you intend to transfer it to Hostinger, you can obtain the EPP code by unlocking the domain following these steps:
Login to your HostGator customer portal and go to the Domains menu
Select the domain name you wish to transfer
Choose the Domain Locking option from the sidebar
Toggle the locking button to the off position to unlock the domain
Click the Request Your EPP Key button to obtain your Auth code
Once you have copied the EPP code, click on Save Domain Locking in order to keep the domain unlocked
After completing these actions, you will obtain your domain authorization code as well as turn off domain privacy protection. Now your domain is ready for transfer 😊
NOTES:
If your domain purchased at HostGator does not appear on your Customer Portal or have further questions, you can check the following guide: How to Lock or Unlock a Domain at HostGator