dp
SM
Output Format
If Metadat Contains File Version

Convert KML to GeoJSON and, for Point Geometries, to CSV

Conversion

Upload a KML file with ExtendedData and Geometry of types: Point, LineString, Polygon or MultiGeometry.

The tool will extract and convert geometries and extended data to a GeoJSON file.

  • Compact outputs the conversion content in a single line.
  • Pretty outputs feature properties in new lines but collapses all coordinates in a single line.
  • If the file size is greater than 25MB, the Compact output is automatically used.

CSV export supports only Point geometries, which are converted to Lon and Lan.

If the KML File contains Metadata

If your KML file contains metadata, as ExtendedData, immediately under the Document structure (before any Placemark):

  • Metadata is converted in GeoJson files to Properties, immediately under the FeatureCollection structure, before Features.
  • Metadata cannot be saved in CSV files.

Add File Version or Last Updated Date

If metadata contains the case insensitive name Updated or Version, you can add it as feature property in GeoJson files and as Field Name in CSV files, which makes it visible in all popups.

  • Check Add to both GeoJson & CSV to add verion in both files. Note that in the Search in Maps tool, version is visible in popups if it exists in the matadata of the GeoJson file, so you don't need to include it as property of every feature.
  • Check Add only to CSV file to add the name as the first field name, with its value repeated in every row.