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. 1 Fetch KML text
  2. 2 Parse and convert
  3. 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.