Stay organized with collections
Save and categorize content based on your preferences.
The polyline decoder lets you see what an encoded polyline looks like on a dynamic map. Common use cases are evaluating route quality and debugging routing issues.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Polyline decoder utility\n\nThe polyline decoder lets you see what an encoded polyline looks like on a dynamic map. Common use cases are evaluating route quality and debugging routing issues. \n\n### Encoded polyline\n\nEnter a polyline that is encoded using the [polyline encoding algorithm](http://developers.google.com/maps/documentation/utilities/polylinealgorithm). You can get the encoded polyline from the [Routes API](http://developers.google.com/maps/documentation/routes). To get the encoded polyline from the Routes API, you need to set the [polylineEncoding](http://developers.google.com/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#polylineencoding) parameter to `ENCODED_POLYLINE`.\n\nThe 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. \nDecode\n\n### GeoJSON Linestring\n\nEnter a polyline that uses the [GeoJSON LineString format](https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.4). You can get the encoded polyline from the [Routes API](http://developers.google.com/maps/documentation/routes). To get the encoded polyline from the Routes API, you need to set the [polylineEncoding](http://developers.google.com/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#polylineencoding) parameter to `GEO_JSON_LINESTRING`. \nDisplay"]]