GeoJSON to Encoded Polyline Converter
GeoJSON to Encoded Polyline Converter with precision 5 or 6 and a live route preview.
How to use
- Polyline → GeoJSON: paste a Google-encoded polyline string to decode it.
- GeoJSON → Polyline: paste a LineString to encode it, choosing precision 5 (Google default) or 6 (OSRM/Valhalla).
Format detected: GeoJSON Geometry
Map Preview
Loading map…
How it works
- Enter an encoded polyline or GeoJSON LineString.
- Select the matching coordinate precision.
- 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.