HOW TO
Keyhole Markup Language (KML) files use an XML-based file format to represent geographic features by drawing points, lines, and polygons on maps. However, KML files have limited editing capabilities, and pop-up configurations in ArcGIS Online are not supported for KML files. Refer to ArcGIS Online: Considerations for using KML in your map for more information.
It is therefore necessary to publish KML files as hosted feature layers to enable feature querying, visualization, and editing of the data in ArcGIS Online. This article provides the workflow to publish KML or KMZ files as hosted feature layers to ArcGIS Online from ArcGIS Pro.
Note: A KMZ file is a compressed version of a KML file.
In ArcGIS Pro, convert the KML or KMZ file to a geodatabase feature class using the KML To Layer tool, and publish it as a web layer to ArcGIS Online.
The image below shows the KML file published as a hosted feature layer to the Content page in ArcGIS Online from ArcGIS Pro.
Get help from ArcGIS experts
Download the Esri Support App