Encoded polyline

Enter a polyline that is encoded using the polyline encoding algorithm. You can get the encoded polyline from the Routes API. To get the encoded polyline from the Routes API, you need to set the polylineEncoding parameter to ENCODED_POLYLINE.

The special characters in the encoded polylines returned in JSON responses of the Routes API are escaped. You do not need to escape them or unescape them before using this tool.

GeoJSON Linestring

Enter a polyline that uses the GeoJSON LineString format. You can get the encoded polyline from the Routes API. To get the encoded polyline from the Routes API, you need to set the polylineEncoding parameter to GEO_JSON_LINESTRING.