Polyline Encoder

Encode / Decode polylines

Encoded polylines are great for reducing the size of a coordinates array, for storage or to show on a map (Google maps, Leaflet, Mapbox).
This polyline encoder can create an encoded polyline from an Array of Coordinates [lat,lng]

Array

Encode
Copy to clipboard

Polyline encoded

Decode
Copy to clipboard