This code is inspired by other similar codes posted here, it hasn't been test throughoutly, if you find any bugs, please let me know. Thanks Func convert to and from base64 char b64EnDe.au3 Example EnDe_example.au3