Decode Hex String in Python 3 February 8, 2023 by Tarik Something like: >>> bytes.fromhex('4a4b4c').decode('utf-8') 'JKL' Just put the actual encoding you are using.