I have a number of WKB strings, couple of examples given below: I want to convert them to WKT or GeoJSON type as I am able to do using the following online tool: https://rodic.fr/blog/online-conversion-between-geometric-formats/ Is there a way for me to do the same on Python? Answer You can use shapely for this: