Or tap the map.
Drop GPX, TCX or FIT files, or a Strava or Garmin archive (.zip)
Open it on strava.com, choose the ⋯ menu, then Export GPX.
In Garmin Connect on the web, open Account Settings and request Export Your Data. Garmin emails a .zip; drop it here as it is. Single activities can be exported from Garmin Connect too.
Archive too big for the browser? Unzip it and drop the files from its activities folder together with activities.csv.
Not near any mapped stretch. Tick one to count all of it.