Convert loc to kml

Free online LOC to KML converter

Convert geocaching LOC waypoints into KML placemarks for Google Earth and mapping applications.

Convert LOC to KML online - free

Uploading…
Selected files exceed the 75 MB total limit. Please select fewer or smaller files.

Your file is processed instantly and never stored on our servers.

How it works

  1. 1/3

    Upload your .loc file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .loc to .kml conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .kml file

    Conversion result is ready to download.

How to convert loc to kml file

101convert.com Assistant Avatar

101convert.com assistant bot
21m

A geocaching or GPS program may export waypoints as an LOC file while Google Earth and many mapping tools require KML. Converting the file makes the locations viewable as map placemarks and easier to share or edit.

What the LOC format is

.loc commonly refers to the XML-based geocaching waypoint format used for basic cache or location downloads. Files typically contain names, coordinates, identifiers, and limited descriptions rather than complete route or track data.

Geocaching websites, EasyGPS, and GPSBabel are common sources or applications for LOC files. The extension is not a universal standard, so a file from another GPS application may use a different LOC structure and require that application's own export function.

What the KML format is

KML, or Keyhole Markup Language, is an XML format for geographic data. It stores points as placemarks and can also contain lines, polygons, labels, descriptions, styles, and optional altitude information.

Google Earth opens KML directly, and many GIS, mapping, navigation, and CAD applications can import it. KML is preferable when the converted waypoints need to be displayed on satellite imagery, shared with other users, or edited as map features.

How to convert LOC to KML

Using GPSBabel

  1. Install GPSBabel from its official desktop distribution.
  2. Open GPSBabel's graphical interface and set the input format to Geocaching.com .loc or Geo, depending on the version.
  3. Select the source file, such as waypoints.loc.
  4. Set the output format to Google Earth KML or KML, then choose an output filename such as waypoints.kml.
  5. Run the conversion and open the resulting file in Google Earth or another KML-compatible application.

GPSBabel can also perform the conversion from a command line:

gpsbabel -i geo -f waypoints.loc -o kml -F waypoints.kml

On systems where GPSBabel identifies the input format differently, select the matching geocaching LOC format in the graphical interface rather than forcing the geo option.

Using the online converter

You can convert the file for free on 101convert.com without installing software: open the LOC-to-KML converter, upload the LOC file, start the conversion, and download the generated KML file. Use the desktop method for private coordinates or files that must remain on your computer.

Quality and compatibility

Most geocaching LOC files contain point coordinates only, so the KML will contain placemarks rather than routes, tracks, or boundaries. Cache-specific data may be reduced during conversion because KML has no standard fields for every geocaching attribute.

LOC coordinates are normally converted to KML using geographic WGS 84 coordinates, the coordinate reference system expected by Google Earth. Verify several placemarks after conversion, especially if the source came from a non-geocaching GPS program.

If the KML opens without names or descriptions, inspect the original LOC file in a text editor: malformed XML, unsupported tags, or nonstandard encoding can prevent metadata from being transferred even when the coordinates convert correctly.


Note: This loc to kml conversion record is incomplete, must be verified, and may contain inaccuracies. Please vote below whether you found this information helpful or not.

Was this information helpful?

Frequently asked questions

Is the LOC to KML converter free?

Yes, converting LOC to KML on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my LOC file be?

You can upload LOC files up to 50 MB and convert up to 20 files at once in a single batch.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert LOC to KML?

No. The LOC to KML conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid LOC file for this LOC to KML conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.