GPX / KML / GeoJSON Trimmer
Plot elevation profiles, trim home-address start/end GPS zones, and convert GPX ↔ GeoJSON.
EXIF GPS Photo Scrubber
Strip exact latitude/longitude coordinates from trail photos before posting alongside routes.
JSON Formatter & Validator
Inspect, validate, and prettify exported RFC 7946 GeoJSON feature collections locally.
Why Cloud Alternatives Put Your Data at Risk
Every time you export a .gpx run, hike, or cycling route from Garmin, Apple Watch, Wahoo, or Strava and post it to a blog, club forum, or trail directory, the first and last 50 trackpoints pinpoint your exact front door—and timestamp metadata often reveals the exact hours your house is empty.
Uploading raw home-starting GPS files to cloud route editors hands your home coordinates and daily schedule to third-party servers. Computing Haversine distance trimming and SVG track/elevation charts 100% locally inside your browser—with zero external map tile requests—keeps your location history completely private.
Step-by-Step Local Workflow
Follow this streamlined four-step process using the GPX, KML & GeoJSON Viewer + Home Privacy Trimmer directly in your browser:
- Drop Your
.gpx,.kml, or.geojsonFile: Load your watch or bike-computer export locally to view total distance, elevation gain, min/max altitude, and track geometry. - Inspect the Elevation & Track Profile: Review the pure-SVG route plot and altitude chart without leaking coordinates to external tile servers.
- Set Start & End Home Privacy Buffers: Drag the Trim Start and Trim End sliders (e.g.,
300 mto1,000 m) to slice off trackpoints near your house or workplace. - Export Trimmed
.GPXor.GeoJSON: Download a clean, privacy-safe route file ready for clubs, blogs, Mapbox, or Leaflet.
Haversine Distance Trimming & Elevation Gain Computation
KitWharf parses GPX XML <trkpt lat="..." lon="..."> nodes, KML <coordinates> tuples, and RFC 7946 GeoJSON LineString features locally in browser memory.
Using the spherical Haversine distance formula (R = 6,371,000 m), the trimmer computes cumulative great-circle distance from point 0 forward and from point N-1 backward, cleanly slicing out every trackpoint inside your chosen start/end privacy radii while recalculating updated distance and cumulative elevation gain.
Technical Comparison & Reference Matrix
| Format | Coordinate Order | Common Use Cases |
|---|---|---|
| GPX (.gpx) | lat, lon XML attributes + <ele> |
Garmin, Strava, Komoot, Wahoo, Apple Watch exports |
| KML (.kml) | lon,lat,ele comma tuples |
Google Earth, GIS overlays, drone flight paths |
| GeoJSON (.geojson) | [lon, lat, ele] JSON arrays |
Mapbox, Leaflet, PostGIS, web mapping apps |
| Privacy Trimmed GPX | Start/End radii stripped | Safe public sharing on blogs, Reddit, and cycling clubs |
Scrubbing a 500-Meter Home Privacy Buffer + Converting to GeoJSON
Suppose you finish a 14.2 km morning loop starting and ending at your driveway:
- Load
morning-ride.gpxand set Trim Start = 500 m and Trim End = 500 m. - The viewer drops the first ~40 and last ~40 trackpoints, leaving a clean
13.2 kmpublic loop starting and ending on the main arterial road. - Click Export Trimmed .GPX for Garmin/Strava clubs, or Export .GeoJSON to embed directly into a Leaflet or Mapbox blog post.
Common Pitfalls & How to Avoid Them
Even experienced teams run into subtle edge cases when processing files or data locally. Watch out for these frequent issues:
- Lat/Lon vs. Lon/Lat Coordinate Order Bugs: GPX stores
latthenlon, whereas GeoJSON and KML require[longitude, latitude]. KitWharf's converter handles this swap automatically. - Too-Small Privacy Zones on Dead-End Streets: If you live on a 400 m cul-de-sac, a 200 m trim still points straight to your street. Trim past the nearest major intersection (500–1,000 m).
- Leaving GPS EXIF in Trail Photos: Trimming your GPX won't help if you upload an unscrubbed start-of-ride photo. Run photos through KitWharf's EXIF Scrubber too.
Privacy Verification & Security Best Practices
When working with sensitive personal, financial, or corporate files, never rely solely on a website's marketing claims. Follow these practical verification steps:
- Trim at least 300–500 meters in suburban areas and up to 1,000 meters in rural areas with few intersecting roads.
- Vary your trim radius slightly across different rides so an observer can't intersect circular boundaries to triangulate your address.
- Strip photo EXIF GPS coordinates before posting trail photos alongside your trimmed GPX file.
- Validate converted GeoJSON files in KitWharf's JSON Formatter before deploying to production maps.
Independent Zero-Upload Audit (30 Seconds)
You can verify that KitWharf processes your files strictly inside local browser RAM:
- Open Chrome, Edge, or Firefox Developer Tools (
F12) and select the Network tab. - Load the GPX, KML & GeoJSON Viewer + Home Privacy Trimmer page once so the client-side bundle is cached.
- Toggle Offline Mode in the Network panel (or disconnect Wi-Fi) and process your file.
- Confirm zero outbound
POSTrequests containing your file payload occur while the tool completes its work instantaneously.
💡 Try it instantly: Ready to run this workflow privately? Open GPX, KML & GeoJSON Viewer + Home Privacy Trimmer now — 100% local in browser RAM with zero login or watermarks.