Stella
Files and folders

Convert GPX to KML for Google Earth, one line per track

Eight GPX tracks as one KML, each its own line, named by its date.

Download StellaFree with the plan you already have.

A real run on 13 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan.

The short answer.

Google Earth Pro (free) opens GPX files itself: open each one, drag the tracks into one folder under Places, rename them, then right-click the folder and Save Place As KML. GPSBabel converts GPX to KML in one step, and converter sites do one file at a time. Stella (stella.sh) turns a whole folder into one KML on your computer, one line per track named by the date inside the file, and checks the data as it goes.

Stella does this on Windows, Mac and Linux.

What happened.

One KML in about 30 seconds. Checked afterwards against an answer key written before the run: 8 separate lines, one per track, each keeping all its points with coordinates in the right order, each labelled with its date, and the GPX files unchanged.

The eight tracks are synthetic test files made for this run, generated at a walking pace, so Stella's remark that they don't look like bike rides is it checking the data and flagging an oddity, not a comment on anyone's real rides. The run isn't sped up; a long idle stretch after the answer is cut.

How Stella does it.

  1. Reads the 8 GPX files in Downloads/Rides, whose export-style names (Morning_Ride_48213977.gpx) don't say when they were recorded
  2. Takes each track's date from the times inside the file, whichever of two GPX layouts it uses
  3. Writes Rides.kml next to the folder: 8 separate lines in date order, each named like 2026-04-05, with every point kept
  4. Adds the original file name, distance and time to each line's pop-up, and timestamps so Google Earth's time slider can show them one by one
  5. Checks the numbers and flags something odd: the tracks average about 4.5 km/h, walking pace rather than cycling, and four were tagged as hiking by the recording device

The prompt.

I have 8 bike rides as GPX files in the Rides folder in Downloads. Make one KML file I can open in Google Earth, with each ride as its own line named by its date.

Paste it into Stella and press Enter.

This is the exact prompt from the recording. If your files are somewhere else, say where.

Do it yourself.

  1. Install Google Earth Pro

    Google Earth Pro for Mac and Windows is free and reads GPX directly. The web version of Google Earth imports KML files but not a folder of GPX.

  2. Open each GPX

    Choose File, Open, set the file type to GPS, and pick a GPX. In the import box choose to create KML line strings for tracks. Repeat for each file.

  3. Gather and rename

    In the Places panel, right-click My Places, Add, Folder. Drag each imported track into it, then right-click each one, Properties, and give it the ride's date as its name.

  4. Save as one KML

    Right-click the folder, choose Save Place As, and pick KML (or KMZ, which is smaller). That single file opens anywhere Google Earth runs.

  5. Or use GPSBabel

    In GPSBabel, add the GPX files as input, choose Google Earth (Keyhole) Markup Language as output, and convert. Track names come from the GPX files, so you may still need to rename them by date.

Where it stops.

  • Google My Maps limits how much you can import per layer. For a big archive, Google Earth Pro or a KMZ works better.
  • Stella kept full detail here. If you need a smaller file, ask and it simplifies the lines.
  • It flagged that the tracks looked like walks but still made the file as asked. Check the remarks it adds; they come from the data, not from guesswork about you.
  • What Stella reads while working, such as dates, distances and file names, goes to the AI model you use in Stella. The conversion runs on your computer.
  • Recorded on Linux, where Stella used only Python, built in on Mac and Linux. On Windows it may install Python first, which wasn't recorded.

Questions.

What's the difference between GPX and KML?

GPX is what GPS watches and apps record: points with times. KML is Google Earth's format for drawing lines, places and labels. Converting keeps the route and lets you style and name it.

Can I open a GPX in Google Maps?

Not directly. Google My Maps imports KML (and GPX via some routes), then shows it on a map you can share. Convert to KML first for the most reliable import.

Can it go back from KML to GPX?

Yes, ask for GPX. For several recordings of one trip, see combine GPX files into one track.

Will it upload my tracks anywhere?

No. The KML is written on your computer; opening it in Google Earth is up to you. Before sharing photos from the same trips, remove their location.

Is Stella free for this?

Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

Can I control what Stella changes on my computer?

Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Checked against these sources on 14 November 2026.

Stella