import json a="=E9=82=A3=E4=BD=A0=E4=B9=9F=E5=BE=88=E6=A3=92=E5=93=A6".split("=") a.remove("") result=[] for index in range(0,len(a),3): result.append(a[index]+a[index+1]+a[index+2]) for x in result: x=r"\x"+x x=x.lower() print(x.encode("utf8").decode("utf8")) print(result[0])