With this tool, you should be able to encode/decode the base 64.
Yes, this base64 encode / decode is safe & secure. We do not save any of your data in server. Neither the data is visible to any 3rd party.