If you’re a cyclist, runner, or triathlete, chances are you’ve spent more time than you’d like clicking back and forth between Strava tabs to figure out where you gained or lost time on a ride. I’ve been there — juggling two activity pages, scrolling, mentally matching segments, and trying to keep my eyes from glazing over.
That’s exactly why I built the Strava Segment Comparator Extension.
It’s a lightweight, privacy-friendly tool that runs entirely in your browser, lets you quickly compare any two Strava activities, and shows segment-by-segment differences in both time and speed. Whether you’re racing a friend, analyzing your improvement, or just curious how different routes stack up, this extension saves you time and keeps your focus where it matters — the data.
You can also see all the TL;DR here.
What It Does
- Auto-detects open Strava activity tabs — No copy-pasting required (but you can if you want to)
- Compares segments side-by-side — Matches by exact name and keeps the original activity’s order for easy reading
- Shows detailed time & speed deltas — Color-coded for quick wins and “needs improvement” spots
- Displays key activity stats — Side-by-side comparison panels
- Exports to CSV — For deeper analysis in Excel, Google Sheets, or your favorite data tool
- Stores your last comparison — Instantly pick up where you left off
🏃♂️ How It Works
When you hit Compare Activities, the extension fetches data from two Strava pages (either open tabs or the URLs you enter). It:
- Opens each activity in the background (you won’t lose your current tabs)
- Waits briefly for the page to load
- Extracts all segment and activity stats
- Matches identical segment names
- Calculates time and speed differences
- Displays the results in a clean, readable table
Positive time deltas (slower) show in red. Negative time deltas (faster) glow in green. The same goes for speed — green for faster, red for slower.
Installation
The extension is in the Chrome Web Store
That’s it — you’re ready to roll.
Example Use Cases
- Race day analysis — Compare your ride to a rival’s and pinpoint where you were stronger or weaker
- Training progression — Compare two rides on the same route months apart to measure improvement
- Pacing strategy — Identify segments where you pushed too hard or held back
Privacy
No servers. No tracking. No sending your rides anywhere.
Everything runs in your browser and only reads the Strava activity pages you open.
Your comparison results are stored locally so you can reopen the extension and instantly see your last analysis.
Development Notes
The extension uses a content script to scrape stats and segments directly from Strava’s HTML, and a pop-up script to handle the comparison logic. It’s built with Tailwind CSS for styling and includes CSV export out of the box.
If you want to tweak styles, you can rebuild the Tailwind CSS with:
npm install
npx tailwindcss -i tailwind.css -o tailwind.output.css --minify
Contributions and feature requests are welcome — just open an issue on GitHub.
The Strava Segment Comparator Extension is an open-source project, freely available for anyone to use, modify, and improve.
Licensed under the MIT License, it invites contributions from developers, athletes, and data enthusiasts who want to enhance its functionality or adapt it to their own needs.
Try It Out
Click on the Chrome Web Store page and with 2 clicks you have it in your browser.
If you wish to check the code, get it here: GitHub: Strava Segment Comparator Extension
Whether you’re chasing PRs, friendly rivalries, or just better ride analytics, this little tool turns the tedious task of segment comparison into a one-click operation.
So go ahead — give it a spin
🏆
Discover more from Ido Green
Subscribe to get the latest posts sent to your email.