Local Search Recipe: Making KML Files and GEO Sitemaps Are a Piece of Cake.

SMS Text

Last month I shared one of my favorite recipes on tracking local search data with Google Analytics for wordpress. This month I figured that one of the most uncovered and “uncooked” areas in local search marketing is KML data and the use of Geo Sitemaps. So, I decided to put together a guide to help anyone who is struggling to understand how KML/GeoSitemap + local is a win- win….win.

Approximate Bake Time:

10 minutes


1 verified Google Webmaster Account

1 FTP uploader application

1 computer (Mac preferred. PC’s tend to get sticky unless sprayed with Pam)

*½ glass of beverage

*2 slices of Dairy Queen Ice Cream Cake.

*Optional ingredients for optimal experience.


First, it is important to understand what a few of these new words mean….

KML– Key Hole Markup Language (kml) is a file format used to display geographic data in an Earth browser, such as Google Maps and Bing Maps as well. You can create KML files to pinpoint locations, add image overlays, and expose rich data in new ways. KML is an international standard maintained by the Open Geospatial Consortium, Inc. (OGC).

Geo Sitemap- Google Geo Sitemaps is an extension of the Sitemap protocol that enables you to publish geospatial content (geo content) to Google, in order to make it searchable in Google Earth and on Google Maps. With Geo Sitemaps, you can tell Googlebot about your geo content, rather than waiting for Google to discover it “in the wild”.


1. Go to GeoSitemapGenerator.com, which is a free (and amazing) tool that allows you to plug in the needed information and then download your very own copy of a geositemap and kml file.

Picture 1.png

If you have a ton of locations (more than 10) that you are submitting for your given business then choose the file upload option. You will then be given instructions on how to format .csv sheet to correctly upload the data. I have used this for uploading over 600 locations and it works like a charm.

  1. Fill in the correct business information. This is where you have to be exact. Your N.A.P. (Name, Address, and Phone Number) are the foundation of local search so make no mistakes! Once you have the correct information move on.
  2. Fill in the website details of the site that you are going to be uploading the kml file and geositemap to. Make sure that you edit the name of the .kml file.

Picture 2.png

2. Download Both the KML file and the Geositemap, and upload them to your site.

Picture 3.png

For this you are going to be using your FTP uploader of choice. Wherever you put the file extension of your KML data will determine where you need to upload these files to. Generally they are on the main level of the site so you will be uploading them into the root folder and the URL’s will look like this…



3. Check the links to make sure that the data is showing correctly.

Your Geositemap should look like this…

Picture 4.png

And your .KML file like this…

Picture 5.png


4. Submit your GeoSitemap to Google Webmaster to help your nearest GoogleBot find your location. You will need to log into your Google Webmaster account, and then click on “Site Configuration”. You will see that “Sitemaps” is a drop down option offered, once clicked on you will be able to add your geositemap like in the picture below.

Picture 6.png


If you have followed the above directions then you are now set with your kml and geositemap data uploaded to your website. Also, since you took the time to read to the end of the post, you now get to find out the secret ingredient of why these files are so important for local.

Local Search Rankings are all about location prominence. The better your case in proving that your name, address, phone number, and other business data is correct… the better chance you have at ranking well. So, in dealing with KML data, you are confirming that your information is correct and going the extra mile to do so while notifying search engines.

If you are lucky, your KML data will get indexed and show up in the User Content tab on a Google Places page like this one below for Lombardi’s Pizza in New York.

Picture 7.png

When that happens, you let me know and we can eat our cake and laugh at non KML’ers  together from a lofty tower.

Mike Ramsey

Mike Ramsey

Mike Ramsey is the owner of Nifty Marketing, a Local Search Marketing company hailing from Burley, Idaho. His twitter handle is niftymarketing and he is... Read Full Bio
Get the latest news from Search Engine Journal!
We value your privacy! See our policy here.
  • joshuatitsworth

    Why is it everytime I read your posts I get hungry and fall off the diet wagon?

    • Mike Ramsey


      Ha! My plan is working! The goal was to get people to eat alot of junk and then my next post is going to be about weight loss with tons of affiliate links to make me bank.

      • Ms.Cassandra

        You sound like me lol

  • Rebecca Lehmann

    Thank you for the instructions! We were puzzling over KML files awhile back and had never found an easy way to generate them, so this will be very useful. I'm betting the ice cream cake and beverage will be extremely helpful as well 😉

    • Mike Ramsey


      Yeah, the tool is great. Another way to get kml files created for you is to exports from Google mymaps. You don't get the geositemap but it is another easy way.

  • Ross Joo

    Great post!

  • Rajnikant

    Thanks for posting a detail information about KML files and GEO sitemaps.

  • Martijn Beijk

    Great Mike, you did it! 🙂 Thanks for plugging the tool.

    • Mike Ramsey

      No Worries Martijn. I think it deserves a plug! Hopefully it sends some traffic your way.

  • Arjan Snaterse

    Hi Mike,

    Thanks for noticing my tool here.. Glad you like it and I hope it will help a lot of other people..


    • Mike Ramsey

      Seriously awesome tool Arjan. Especially bulk upload option. That has saved me a few times for sure.

  • jenytom

    I have added geo sitemap to my site. Thanks for the tool!

  • Stever

    Linking to your KML file from somewhere on the business's website will help to get it indexed. Relying solely on the geo-sitmap can be hit and miss.

    Can take up to 2 months before it shows as User Content in the Places page.

    • Mike Ramsey

      Stever. Great thought…. I have been testing that out by throwing a kml link in the footer. Wasn't sure if I should include it in the post or not because I haven't seen enough of them indexed through the link to say one way or another if it would help with indexing but I definitely thought it would. Thanks for your comment and I can now do so with confidence.

  • dizi izle

    thank you very good topic

  • dizi izle

    thank you very good topic

  • Nicolas Caramella

    Excellent!! I followed your guide step by step. I hope I’ll see some improvements in my local seo!

  • Paul

    Thank you for the kml explanation. Quite simple 🙂