Skip to content
Switch branches/tags
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Code Time

Marketplace Installs Rating

Code Time is an open source plugin for automatic programming metrics and time tracking. Get the most advanced time tracker for Visual Studio Code that will save you time, so you can focus more on what matters.

Sign up

Join a community of over 100,000 data-informed developers. Discover best code times, defend code time, see the impact of meetings, and improve work-life balance. Track and visualize all of your projects, or export your data to connect to your billing and timesheet tools.

Code Time features for VS Code

Getting started

Create an account to keep track of your coding data and unlock access to advanced data visualizations in the Code Time web app. You can customize your profile, such as your work hours and office type, for advanced time tracking. You can also connect Outlook or Google Calendar to visualize your code time vs. meetings in a single calendar.

Registering an account also lets you connect multiple code editors on multiple devices using the same email account. Your code time data will sync automatically across your devices.

Simply open Code Time in the side bar and follow the Getting Started prompts to create a new account, or click Log in to sign into an existing account.

Protect code time

Code Time for VS Code Flow Mode

Flow Mode makes it easy to eliminate distractions, mute notifications, and stay focused when you are in flow.

You can quickly toggle Zen mode or enter full screen. If you connect a Slack workspace, you can pause notifications, update your profile status, and set your presence to away. You can configure Flow Mode by clicking the gear icon in the Code Time side bar.

Click Enter Flow Mode to toggle your flow automations. Once you are in Flow Mode, click Exit Flow Mode to resume receiving notifications and reset your Slack status without leaving Visual Studio Code.

Track development metrics

Code Time programming metrics

Your coding stats can help you understand how you are improving over time.

Your status bar shows you in real-time how many hours and minutes you code each day. A rocket will appear if your active code time exceeds your daily average on this day of the week.

To see an overview of your coding activity and project metrics, open the Code Time panel by clicking on the Code Time icon in your side bar. Click Dashboard to open your personalized Code Time dashboard in a new editor tab. Your dashboard summarizes your coding data—such as your code time by project, lines of code, and keystrokes—today, yesterday, last week, and over the last 90 days. Click Project summary to see a breakdown of your stats by project.

Your time in editor is the total time you have spent in your editor today. Your active code time is the time you spend actively writing and editing code in your editor or IDE. It captures periods of intense focus and flow. Each metric shows how you compare today to your personal averages. Each average is calculated by day of week over the last 90 days (e.g. a Friday average is an average of all previous Fridays).

Data visualizations

Code Time web app

Click More data at in the Code Time side bar or visit to see more advanced data visualizations. You will need to create a free Software account to use the web app. In the Code Time dashboard, you will be able to track:

Active code time. Visualize your daily active code time. See productivity trends compared to weekly and monthly averages. See how you stack up against the Software community of over 100,000 developers.

Top projects. See how much time you spend per project per week. Get a breakdown of your top projects right in your dashboard.

Work-life balance. Connect your Google or Outlook Calendar to visualize meeting time versus code time. See how much coding happens during work hours versus nights and weekends so you can find ways to improve your work-life balance.

It’s safe, secure, and free

We never access your code: We do not process, send, or store your proprietary code. We only provide metrics about programming, and we make it easy to see the data we collect.

Your data is private: We will never share your individually identifiable data with your boss. In the future, we will roll up data into groups and teams but we will keep your data anonymized.

Free for you, forever: We provide 90 days of data history for free, forever. In the future, we will provide premium plans for advanced features and historical data access.

Code Time also collects basic usage metrics to help us make informed decisions about our roadmap.

Get in touch

Enjoying Code Time? Let us know how it’s going by tweeting or following us at @software_hq.

We recently released a new extension, Music Time for VS Code, which helps you find your most productive songs for coding. You can learn more here.

Have any questions? Please email us at and we’ll get back to you as soon as we can.