Browser-native conversion pattern
Turn a KML URL into GeoJSON.
Fetch a public KML file, convert its features in memory, inspect what came back, and save a local GeoJSON copy—without uploading the source to a server.
- 1 Fetch KML text
- 2 Parse and convert
- 3 Inspect and download
Try the conversion
The source host must permit cross-origin browser requests (CORS). A sample URL is provided.
Ready to convert the sample KML.
Converted GeoJSON
FeatureCollection
- Features
- 0
- Geometry
- —
- Attributes
- 0