LocalSEOFlow

Free KML Generator Online: Create KML and KMZ Files for Google My Maps

πŸ“ Pins, radius and polygons⬇️ KML and KMZβœ… XML checked before downloadπŸ›‘οΈ Stays on your device

Loading tool…

Was this tool helpful?

Rate it in one click. No sign-up, one rating per person.

Making a KML File by Hand Is Slow and Easy to Break

KML is the map format Google My Maps reads, and one stray character breaks a hand made file.

  • XML is unforgiving

    An unescaped ampersand in a business name is enough to make My Maps reject the file.

  • Circles are not built in

    KML has no circle shape, so a radius has to be drawn as a polygon with many points.

  • Click, type or upload

    Add pins on a map, type latitude and longitude, or upload up to 2,000 rows from a CSV.

What goes into one file
Pins with name, link and notesPlacemarks
Radius in miles or km72 point polygon
Hand drawn boundaryPolygon
Rows with bad coordinatesSkipped and listed

This free KML generator builds the file for you from map clicks, typed coordinates or a CSV, with a service area circle or polygon if you need one.

What Free Means on This KML Generator

It is free with no account and no export limit.

Locations

Up to 2,000

The same row limit Google My Maps uses per import.

Service area

Circle or polygon

One area per file, in miles or kilometers.

CSV import

5 columns

name, description, url, lat and lng, with a sample file.

Downloads

KML and KMZ

KMZ is the same map zipped as doc.kml.

Size warning

5 MB

It warns you when a KML passes the My Maps size cap.

Code preview

Live

See the KML text and a valid XML status before you download.

The KML and KMZ files are built entirely in your browser.

Not included: address lookup from street names, multiple service areas in one file, custom icons, or automatic uploads to My Maps.

How to Create a KML File and Import It Into My Maps

Build the file here, then import it into Google My Maps in four short steps.

  1. Build the file

    Add your locations and service area in the KML generator, then download the KML or KMZ.

  2. Create a map

    Open mymaps.google.com and click Create a new map.

  3. Import

    Click Import under the layer in the left panel, upload the file and click Select.

  4. Check and share

    Check the pins, name the map and set sharing to public if you want to link to it.

Google Earth opens the same files. Use File, then Import in Earth Pro, or the Projects panel in Google Earth on the web.

Three Ways to Add Locations

Mix and match inputs in one file, and edit names, links and notes after you add them.

Click the map

Each click on the OpenStreetMap preview drops a pin. Use Fit all to zoom to everything.

Type coordinates

Enter a name, latitude, longitude, an optional link and a short description.

Upload a CSV

Bring a whole list from a spreadsheet. Rows with missing or impossible coordinates are skipped and named.

KML Radius Circle vs Polygon Boundary

A circle is quick for a radius, while a polygon follows the real edge of your area.

Radius circle

Best for a simple service radius.

  • Set a center by click or coordinates
  • Radius in miles or kilometers
  • True geodesic shape with 72 points
  • Ignores rivers, borders and highways

Polygon boundary

Best for a real territory.

  • Click point by point around your area
  • Follows city lines or a river
  • Needs at least 3 points
  • Takes longer to draw

KML vs KMZ and What Each Field Does

Both formats hold the same data, so choose by where the file is going.

KML

What it means
Plain text XML. Easy to open, read and edit in any text editor

KMZ

What it means
A zipped KML with doc.kml inside. Smaller to email or upload

Name

What it means
The pin title shown on the map

Link

What it means
Only http and https links are kept, so a description can never carry a script

Description

What it means
Hours, services or a short note shown in the pin popup

Color

What it means
One color for pins and the area, with the fill made see through

What the Generator Checks for You

It cleans and validates every field so the file imports the first time.

XML escaping

Ampersands, quotes and angle brackets in names are escaped automatically.

Invisible characters

Characters XML does not allow are stripped before export.

Coordinate range

Latitude must sit between minus 90 and 90, longitude between minus 180 and 180.

Date line circles

A circle crossing the 180 degree line is split so it draws correctly.

Closed shapes

A polygon is closed back to its first point for you.

Does a KML File Help Local SEO?

There is no proof that KML files or My Maps improve rankings.

No proven ranking factor

Google has never named KML or My Maps as a ranking factor, and Whitespark published a test that found no ranking change.

Real value for people

A shared map shows customers where you work, which helps on service area and contact pages.

Useful for teams

Crews and sales staff can open the same territory on their phones.

If you want pages for each area, our service area page planner turns a list of towns into a page plan.

KML Import Problems and How to Fix Them

When My Maps or Google Earth refuses a file, the cause is usually simple.

My Maps says the file is too large

Split your locations into two files. My Maps rejects KML over 5 MB.

Pins land in the ocean

Latitude and longitude are swapped, or a minus sign is missing. Check one row on the preview map.

CSV rows were skipped

Use decimal coordinates like 36.1699 and wrap text with commas in double quotes.

The circle looks like an oval in a flat map

That is map projection. The shape is a true circle on the globe.

Some names show odd characters

Save your CSV as UTF 8 before uploading it.

Apps That Open Your KML File

KML is an open standard from the Open Geospatial Consortium, so most mapping apps read it.

Google My Maps

Import as a layer and share a public link.

Google Earth

Open on desktop or the web to view pins and areas in 3D.

QGIS and ArcGIS

Load it as a vector layer for deeper analysis.

iPhone and Android

Many GPS and field apps import KML or KMZ files.

Transparency: Where Your Data Goes

Your locations stay in your browser.

Stays on your device

  • Your addresses, links and notes
  • Your CSV file
  • The KML and KMZ you download

Loaded from outside

  • OpenStreetMap map tiles
  • The map library stylesheet

Never

  • No upload of your locations
  • No account
  • No ranking promises

The only outside requests are the OpenStreetMap tiles for the preview.

KML Generator FAQ

10 answers about limits, results and how the tool works.

What is a KML file?

A KML file is a plain text map file written in XML. It stores places, lines and shapes with names and descriptions. Google created the format for Google Earth, and it is now an open standard run by the Open Geospatial Consortium. Google My Maps, Google Earth, QGIS and most GPS apps open it.

How do I create a KML file for free?

Add your locations on this page by clicking the map, typing coordinates or uploading a CSV. Add a radius or polygon service area if you want one. Pick a map name and color, check the preview, then download the KML. Everything runs in your browser, with no account and no export limit.

What is the difference between KML and KMZ?

A KMZ is a zipped KML. Inside the zip sits one main file named doc.kml. KMZ files are smaller, so they are easier to email or upload. Both hold the same map data. This tool gives you both, and Google My Maps and Google Earth accept either one.

How do I import a KML file into Google My Maps?

Open mymaps.google.com and create a new map. In the left panel, click Import under the untitled layer. Upload your KML or KMZ and click Select. Your pins and service area show right away. You can then rename the layer, change styles and share the map with a public link.

How do I make a KML radius circle?

Choose the circle area type, set the center by clicking the map or typing coordinates, and enter a radius in miles or kilometers. KML has no circle shape, so the tool saves a 72 point polygon on a true geodesic circle. It looks round at any zoom level in My Maps and Earth.

How big can my KML file be?

Google says My Maps accepts files up to 5 MB and up to 2,000 rows per import. This tool stops at 2,000 locations and warns you if the KML passes 5 MB. A file with a few hundred pins and one service area is usually far smaller than that, so most users never hit the cap.

What format should my CSV use?

Use a first row with the headers name, description, url, lat and lng. Latitude and longitude must be decimal numbers, such as 36.1699 and minus 115.1398. Wrap any text that holds commas in double quotes. Rows with missing or impossible coordinates are skipped, and the tool tells you which rows it dropped.

Can I convert addresses to a KML file?

Not directly. This tool needs latitude and longitude for each location and does not look up street addresses. Get coordinates first, for example by right clicking a spot in Google Maps, where the numbers appear at the top of the menu. Then paste them in or add them to your CSV.

Does a KML file or My Maps help local rankings?

There is no proof that it does. Google has never named My Maps or KML as a ranking factor, and Whitespark published a test that found no ranking change. A map can still help customers. It shows where you work and supports the service area you describe on your website.

Are my locations uploaded anywhere?

No. The map, the KML code and the KMZ zip are all built inside your browser. Your addresses, links and notes never leave your device. The only outside requests are the map tiles from OpenStreetMap, which load the same way they would on any web map.

Put Your Service Area on the Map

Add your locations, draw the area you cover and download a file that opens in My Maps on the first try.

Free Tool Workflow

Next Step: Free Tools in This Workflow

Continue your workflow with these related free tools. No login required.

πŸ”’ All tools are 100% free Β· No login required Β· Files never leave your device