You can easily export geographic data from ESRI Shapefile (SHP) format to Keyhole Markup Language (KML) format programmatically. The Shapefile format is ESRI’s one of the most common geospatial vector data formats used to display geographical information. The KML is an XML-based format, used to share geographic data with non-GIS users. The KML format is used to display geographic data in Google Earth or Google Maps. In this article, you will learn how to convert a shapefile to KML in C#.