To upload your 12th marksheet to DigiLocker, log in to your DigiLocker account and select the "Upload Documents" option. Choose the marksheet file from your device and upload it. Ensure that the document is authentic and clearly scanned for easy access when needed.