To export your Google Maps starred locations:
Go to Google Bookmarks: https://www.google.com/bookmarks/
On the bottom left, click "Export bookmarks": https://www.google.com/bookmarks/bookmarks.html?hl=en
After downloading the html file, run this script on it to generate a KML.
It's hacky and doesn't work on all of them, but it kinda works.
@thany From Google Takeout,
Saved Places.json
andLabeled places.json
both contain lat/lon and can be converted using https://mygeodata.cloud/converter/json-to-gpxI've been using that technique lately, so yeah this script is probably obsolete, it's from 2012.