Converting a string intended to be private to base64 using an online tool is not 100% safe because you are sending that string to a server owned by someone else. You can never be sure how they will use that information.
For complete safety, you can perform the conversion yourself using Node.js.
Before you continue, ensure that Node.js is installed on your computer.
After installation, open Git Bash or the command prompt on Windows or the Terminal on Linux/Mac OS.
Once the application is opened, please execute the code provided below.
node -e "require('readline') .createInterface({input:process.stdin,output:process.stdout,historySize:0}) .question('PAT> ',p => { b64=Buffer.from(p.trim()).toString('base64');console.log(b64);process.exit(); })"
After execution, you will be prompted to type or paste the string you want to convert. When you are finished typing or pasting, press enter.
You will now see the base64 string of the text you want to convert on your screen.
Stay Safe!