I have a KML file created from an Excel spreadsheet which contains name, lat and long. How can I display the name in Google Earth?

1 Answer 1


I'm not sure what app. you used to create the kml from the excel file but in simplistic terms you will need to embed a name tag within a Placemark tag to show label for each point, see example xml below (label in this example is "Untitled Placemark"):

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
    <StyleMap id="m_ylw-pushpin">
    <Style id="s_ylw-pushpin">
            <hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
    <Style id="s_ylw-pushpin_hl">
            <hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
        <name>Untitled Placemark</name>

You may open up the kml in a text editor to add or edit tags.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.