Visit Citebite Deep link provided by Citebite
Close this shade
Sign in

Google Earth Help


New! Use Earth view in Google Maps to explore your favorite places in 3D. Learn more.

Hosting KML Content: Hosting KML Content

When you host a KML, you are uploading a KML file onto a public site with a URL.

Hosting a KML allows you to: You can host your KML through Google Sites or Google Docs with your Google account. If you do not have a Google account, you can sign up here This article will teach you how to host a KML using:

Hosting KML on Google Sites

Get started hosting your KML by going to the Google Sites Homepage . Sign in with your Google Account.

Once inside Google Sites you can choose to host your KML on an existing site or you can create a new site. Select an existing site by clicking on it or create a new site by clicking the button "Create new site."

Once you are inside of a site you can follow these steps to host your KML:
  • First you will need to create a page within your site that can host files. To do this, select from the top right hand corner of your screen    
  • A screen will appear asking you to select a template. Select the "File Cabinet." Below you will be asked to enter a name for your new page and choose where you want it to be placed. Then click "Create Page."
  • You are now within the File Cabinet and are ready to add files. Select "Add File", click "Browse" and then locate your file from within your hard drive. Once your file is selected, click "upload." Your file is now successfully hosted on the File Cabinet within your site.

Obtaining the URL from your KML hosted on Google Sites

In Google Sites, go to your File Cabinet page and locate your KML file. In Firefox, right click on the 'Download' hyperlink for that file and select "Copy Link Location.” This will copy the URL of your hosted KML to your clipboard.

Hosting a KML on Google Docs

To get started, open Google Docs and sign in with your Google Account

Once you are inside Google Docs, hosting a KML takes just 5 easy steps:

  1. Click located in the upper left hand corner of the screen
  2. An "Upload Files" screen will appear. Click the “Select files to upload” link

  3. Locate your KML file within your hardrive and press “Select”
  4. If desired, select a Destination Folder from the drop down menu on the bottom of the upload screen. This will be where your KML is stored once uploaded to Google Docs.

  5. Click “start upload” to upload your file

Once the upload is complete, you can click “back to Google Docs” to return to the Docs List page. The KML you just added should appear at the top of your Docs list.

Obtaining the URL for your KML hosted on Docs

Find your KML in your Docs list. If you just uploaded the KML it should automatically appear at the top of your docs list. If you are having trouble finding your KML, use the “Items by Type” drop down in the left column of the docs list and select “Files”. All your KMLs should be stored here.

Click on your KML file to open it. Once inside your KML file, click the "Share" link and select "Get the Link to Share." Select the box that says "Allow anyone with the link to view (no sign-in required)" this will assure that your KML is made public. Click "Save and Close."

When you return to the KML page, right click on the download link and in firefox, select “Copy link location.” This will copy the direct download for your KML to your clipboard.

updated 4/30/2010

Was this information helpful?

Help resources

What's new in Google Earth 5.0

Tell us how we're doing: Please answer a few questions about your experience to help us improve our Help Center.