.LOC

LOC File

GPS Location Waypoint File
Ask a question
QUICK ANSWER

A LOC file is a plain XML file that stores GPS waypoints - latitude, longitude, name, and an optional link - used by EasyGPS and Geocaching.com. Open it with EasyGPS (free, Windows) or upload it to GPS Visualizer online. To use it with modern GPS apps, convert it to GPX with GPSBabel or GPS Visualizer.

Developer: TopoGrafix / Geocaching.com (joint development) Category: GIS Files Open standard MIME: application/loc
OPENS ON Windows macOS Linux Web
Related: .GPX · .GML · .KML · .SHP

On this page

19k+ extensions indexed
Last reviewed Jul 31, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the LOC file format?

.loc is an XML-based GPS waypoint format developed jointly by TopoGrafix (creators of EasyGPS) and Geocaching.com around 1999-2000, predating the .gpx standard by roughly two years. It was the original file format for downloading geocache coordinates from Geocaching.com and remains available on the site alongside GPX for backwards compatibility.

The file is plain UTF-8 XML with a <loc> root element bearing a version="1.0" attribute. Each <waypoint> child holds a <name> tag, a <coord> tag with lat and lon attributes in decimal degrees (WGS84), an optional <link> URL, and an optional <sym> symbol hint for GPS devices. The schema is deliberately minimal: .loc carries only waypoint data with no support for tracks, routes, or elevation profiles.

This limitation drove adoption of .gpx after GPX 1.0 was published in 2002. GPSBabel identifies the LOC format internally as the geo format type. Most GPS software still imports .loc for backwards compatibility, and Geocaching.com continues to offer it alongside .gpx for cache downloads.

EasyGPS, ExpertGPS, GPSBabel, Google Earth Pro, and GPS Visualizer all read .loc files.

Security & safety

RISK: LOW

LOC is plain XML with no executable content. The main privacy concern: files may reveal the user's GPS waypoints (home location, regular routes). Safe to share if you review coordinates first.

Format details

in a nutshell
FULL NAMEGPS Location Waypoint Fileaka EasyGPS LOC file, geocaching waypoint file
DEVELOPERTopoGrafix / Geocaching.com (joint development)since circa 1999-2000 (pre-GPX; developed jointly by TopoGrafix and Geocaching.com)
CATEGORYGIS Files
MIME TYPEapplication/loc
TYPEXML text (GPS waypoints)
STANDARDOpen · royalty-free
This extension is also used by…
  • Localization String Resource Header - Some development tools (e.g. Microsoft Flight Simulator SDK, Crowdin) use .loc for localization string files - an entirely unrelated text/JSON/binary format for app internationalization.
  • Generic developer localization file - Various IDEs and build tools use .loc as a project-specific extension for localized string tables; format varies by tool.

Programs that open LOC files

Windows4 apps
EasyGPS Free File > Open the LOC file to view waypoints on a map and upload them to a Garmin/Magellan GPS receiver.
GPSBabel Open-source gpsbabel -i geo -f input.loc -o gpx -F output.gpx - converts LOC to GPX and many other formats.
ExpertGPS Paid File > Open to import LOC waypoints onto USGS topo and aerial maps; export to GPX, KML and more.
Google Earth Pro Free File > Import supports LOC files, displaying waypoints as placemarks on the globe.
macOS2 apps
GPSBabel Open-source Command-line: gpsbabel -i geo -f input.loc -o gpx -F output.gpx to convert to GPX.
Google Earth Pro Free File > Import the LOC file to view waypoints on the globe.
Linux1 app
GPSBabel Open-source gpsbabel -i geo -f input.loc -o gpx -F output.gpx to convert to GPX for any GPS app.
Web1 app
GPS Visualizer Free Upload the LOC file to draw waypoints on a map or convert to GPX/KML in the browser.

Technical details

deep spec
EncodingPlain text, UTF-8
ContainerXML (no binary framing or compression)
Root element`<loc version="1.0">`
Waypoint element`<waypoint>` with children `<name>`, `<coord lat="" lon="">`, optional `<link>`, `<sym>`, `<type>`
Coordinate systemWGS84 decimal degrees (latitude and longitude)
Data types supportedWaypoints only - no tracks, routes, elevation data, or timestamps
Schema versionVersion `1.0` only; no subsequent versions have been published
CompressionNone (plain text XML)
Typical file size1 KB - 50 KB (a few to hundreds of waypoints)
Waypoint capacityUnlimited (standard XML list)
Development contextJointly developed ~1999-2000 by TopoGrafix and Geocaching.com before the GPX standard existed
GPSBabel format ID`geo` (internal identifier for the LOC format type in GPSBabel)
Superseded by`.gpx` (GPS Exchange Format, 2002) which adds tracks, routes, and richer waypoint metadata
Releasedcirca 1999-2000 (pre-GPX; developed jointly by TopoGrafix and Geocaching.com)
Latest versionLOC 1.0 (schema version attribute in root element)
Open standardYes · royalty-free
Specificationwww.topografix.com

LOC conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with LOC files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about LOC files.

Frequently asked questions

How do I open a LOC file?
Use EasyGPS (free, Windows) or upload it to the free GPS Visualizer website. GPSBabel converts it to GPX for modern GPS apps.
What is the difference between LOC and GPX?
LOC (circa 1999) only stores waypoints and predates GPX (2002). GPX supports waypoints, tracks and routes with richer metadata and is now the standard. LOC is kept for backwards compatibility with geocaching.
Can I convert LOC to GPX?
Yes - GPSBabel: gpsbabel -i geo -f input.loc -o gpx -F output.gpx. GPS Visualizer also converts it online.
Why did I get a LOC file from Geocaching.com?
Geocaching.com still offers LOC downloads as a legacy format. For modern GPS devices and apps, download GPX instead - it has more cache information.
I have a .loc file in a software project - is it the same format?
No. In development contexts .loc usually refers to a localization/translation string file, which is completely unrelated to GPS waypoints.

References

1TopoGrafix - EasyGPS LOC formatwww.easygps.com
2GPSBabel - geo (Geocaching LOC) formatwww.gpsbabel.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.PRDXSoftMaker Presentations Document
10.EXEWindows Executable (Portable Executable)

Related extensions

.GPXGPS Exchange Format
.GMLGeography Markup Language
.KMLKeyhole Markup Language
.SHPEsri Shapefile (geospatial vector data)
.RTMAPCompeGPS / TwoNav Tiled Raster Map
.KMZKeyhole Markup Language Zipped (Google Earth)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z