How to Track Time Spent on Websites in Chrome, Edge and Firefox
You sit down to check one thing, and somehow forty minutes later you're three layers deep into a comment section. If you want to change that, the first step is measurement: a complete, automatic record of where your browsing time actually goes.
Your browser can tell you exactly this: a small extension tracks time spent on each website in the background. No manual timers, no journaling, no guesswork.
This guide shows the setup step by step, using a free and open-source tracker that keeps all data on your own device.
Why not just check your browsing history?
Your browser history records visits, not duration. You can see that you opened a news site at 14:32, but not that you stayed for an hour. That gap makes history a poor basis for understanding habits.
A dedicated time tracker solves this by watching the active tab: while a tab stays focused and visible, the extension accumulates time for that domain. When you switch away, the clock stops. The result is a per-website duration report: the number you actually want.
Step 1: Install a time tracking extension
For this walkthrough we use Time Tracker - Web Habit Builder, a free, open-source extension available for Chrome, Edge and Firefox. Install it from your browser's store and tracking starts immediately; there is no account to create and no configuration required for basic use.
From the first minute after installation, every website you focus on is recorded with second-level precision.
Step 2: See where your time goes
Open the extension's dashboard (click its icon, then choose the analysis page). You get:
- Time per website and per day, shown as charts and rankings
- Trends across weeks, so you can compare this week against your baseline
- Time-of-day distribution, which reveals when your attention tends to drift
A tip: look at your top five sites and ask one question for each: "was this time intentional?" Domains with a long tail of unintended visits are your first candidates for the time limiting rules.
Step 3: Turn data into action
Tracking alone doesn't change behavior, but it tells you exactly where a rule would help. For example, if the report shows 90 minutes per day on video sites, you can set a daily limit for that pattern. See How to Limit Time on YouTube and Other Websites for the walkthrough.
Because the tracker records everything locally, the numbers are yours to keep. You can export the data as JSON or CSV at any time, or analyze trends with the built-in habit reports.
What to look for in a time tracker
Whichever tool you pick, check four things:
- Automatic tracking: active-tab based, no manual timers to start and forget
- Local storage: your browsing history is sensitive; it should stay on your device
- Multi-browser support: Chrome, Edge and Firefox if you use more than one
- Exportability: your data belongs to you, in an open format
Time Tracker - Web Habit Builder meets all four: it is MIT-licensed open source, stores data exclusively in your browser's local storage, and works across all three major browsers. If you are coming from another tracker, you can even import your existing data instead of starting from zero.
That is the whole setup. The install page has the store links for Chrome, Edge and Firefox.
