Skip to content
Geo Utilities

Encoded Polyline to GeoJSON Converter

Encoded Polyline to GeoJSON Converter with precision 5 or 6 and a live route preview.

How to use
  1. Polyline → GeoJSON: paste a Google-encoded polyline string to decode it.
  2. GeoJSON → Polyline: paste a LineString to encode it, choosing precision 5 (Google default) or 6 (OSRM/Valhalla).

Map Preview

Loading map…

How it works

  1. Enter an encoded polyline or GeoJSON LineString.
  2. Select the matching coordinate precision.
  3. Copy or download the converted result.

Supported range

Supports Google precision 5 and OSRM/Valhalla precision 6.

Important notes

Using a different precision than the source changes the decoded coordinates.

Report an issue