Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Study Time Statistics

missmiss1k downloads

Private, local-first study analytics for notes and PDFs: sessions, streaks, heatmaps, trends, and rankings.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates18

English (this page) · 完整中文说明 · 中文摘要

See where your reading time goes without leaving Obsidian. Study Time Statistics records time and opens for notes and PDFs, then shows daily trends, heatmaps, and rankings for your own vault. A compact strip in Markdown notes shows at-a-glance totals; you can move it, expand it, or turn it off without changing the note.

The plugin keeps its records local, needs no account, and does not upload study data. You can review sessions, set goals, and optionally log how much you read.

Install · Open the dashboard · 3.0.2 release notes · Release roadmap

Actual Study Time Statistics analytics overview with private note details excluded

A direct crop of the actual Obsidian interface, captured on 2026-10-02 from a 3.0.0 development build. No note titles, paths, folders, or contents are shown.

What it does

In Obsidian What you can see or do
In a Markdown note Choose a compact one-line strip (default), full statistics, or no strip; place it at the top or bottom. It scrolls with the note and does not alter its file.
Study Overview See today and this week, goal progress, previous-week comparison, session-quality indicators, high-investment hours, and notes you have not opened recently.
Analytics Explore trends, heatmaps, five rankings, local filters and period comparisons, plus a folder-by-folder investment map.
Records Inspect or correct sessions, optionally record reading coverage and position, and set daily or weekly goals.
More Export local reports, check data health, merge compatible snapshots, and open feedback forms. Backup and restore commands are in the Command Palette.

Automatic tracking and per-note statistics

  • Track time and opens while reading Markdown notes or PDFs. The status bar also shows the active file's accumulated time. Strict mode is on by default and pauses the timer when Obsidian loses focus. The idle timeout is configurable (20 minutes by default; 0 disables it).
  • The Markdown note strip is part of the editor/preview UI, not the document. Its compact line shows opens and total time; full mode shows seven core metrics and optional coverage details. Choose top, bottom, or hidden in plugin settings. It scrolls with the content.
  • Opening a note and recording a timed session are different metrics. Review the start time, duration, and note for a session, or make a correction when it can be applied without changing unrelated totals.

Analytics, comparisons, and navigation

  • See day, week, month, year, and all-time views; a 365-day reading-time heatmap; 30-day time and session charts; 24-hour, weekday, and session-length distributions; folder summaries; and recent sessions. Charts follow the Obsidian accent color by default, with an optional custom color. Heatmap shades indicate intensity; bar height or length indicates value elsewhere.
  • Compare notes by most opens, longest total time, longest average visit, longest single session, or most active days. Rankings are within your own vault, not against other users.
  • Filter sessions by date range, folder, or note name, compare the selected period with the preceding period of the same length, and open a source note from the results.
  • Browse the investment map by time, opens, coverage, or recency. It includes unread Markdown/PDF files, supports folder drill-down, and shows frequent transitions between non-overlapping sessions at most 30 minutes apart. It does not infer a topic or learning outcome from those paths.

Optional reading records and goals

  • Turn on Reading Coverage to record a self-reported percentage for each visit. You may also enter start/end position and characters read; if characters are left blank, the plugin labels its character estimate as estimated. Coverage history, note and folder summaries, a 365-day coverage heatmap, hourly patterns, repeated-reading totals, equivalent passes, and time per 1,000 characters are available from the Records area.
  • Set local daily and weekly time goals, inspect a 28-day progress trend, and review unusually long or ambiguous sessions. Local interaction signals can label a session interactive, quiet study, needs review, or unclassified. A label is a prompt for review, not proof of attention; the plugin never silently deletes an ambiguous session.

Control over your data

  • Data stays in your vault. There is no plugin account, telemetry, advertising, or automatic network upload. The dashboard's Feedback page opens GitHub forms only when you choose to use them.
  • From More → Reports, select a date range and preview a locally generated summary. Download JSON, CSV, or Markdown, or copy the Markdown report. Note names are hidden by default; turn that option off only when you intend to include real paths in an export. Exports are saved by your browser/operating system and may contain private study times even when names are hidden.
  • The dashboard and its filters, maps, and tables adapt to narrower screens. Touch and page-visibility events also help the timer respond on mobile and in multi-window use.
  • Use the Command Palette to create a timestamped local backup or restore a backup. More → Data management checks for duplicate or invalid sessions and references to missing notes. Missing-note history is kept. Backup retention applies to recognized plugin backups, not other files stored nearby.
  • Merge snapshot under More → Data management combines compatible histories locally and requires a backup before writing changes. In 3.0.1, merge and session corrections stop if the plugin cannot reconcile the records safely. For example, older sessions may only store a total, not when each active interval occurred; 3.0.1 does not guess which day to change. Keep both snapshots if a merge is stopped.

Reading the numbers correctly

  • Open means the plugin observed a note becoming active. Average time per visit is that note's tracked time divided by its open count; it is not the average of completed-session lengths.
  • Tracked time reflects time recorded while the note is active, subject to the focus setting and timing limits. Quiet study and leaving a window open can look similar; review or correct doubtful sessions rather than treating the timer as a measure of attention.
  • Reading coverage is the sum of your self-reported visit percentages, capped at 100% per note. Reading the same passage twice can increase this total; it does not establish how much distinct material you covered. Character and pace figures are estimates, not tests of comprehension or recall.
  • Revisit suggestions mean only that a note has not been opened recently. They do not predict forgetting.

Real, anonymized snapshot

The captured development build shows 87 notes read, 200 opens, and 3h 45m of recorded reading time as of 2026-10-02. These are the owner's real, point-in-time aggregate values, shared with permission—not sample data, a benchmark, or a live counter. The screenshot excludes note-level rankings and all private titles, paths, folders, and contents.

Actual 30-day reading-time and reading-session charts from the same Obsidian capture

The two 30-day charts are another direct crop of the same interface capture. We show aggregate views here to keep private note details out of public screenshots.

Open the dashboard

Select the bar-chart icon in the left ribbon, or open the Command Palette and run Open Study Time Statistics. The dashboard has four main areas: Study overview, Analytics, Records, and More. Rankings and filtered analysis live under Analytics; sessions, reading coverage, and goals live under Records; reports, data management, and feedback live under More. Reading Coverage is off by default and can be enabled from its page or the plugin settings.

Installation

Community Plugins

Study Time Statistics is available in the Obsidian Community Plugins directory. Open Settings → Community plugins → Browse, search for Study Time Statistics, and select Install.

View Study Time Statistics in the Obsidian plugin directory

Manual installation

  1. Download main.js, manifest.json, and styles.css from the latest GitHub release.
  2. Create <vault>/.obsidian/plugins/study-time-statistics/.
  3. Copy the three files into that directory. When updating, replace only these files; keep your existing data.json.
  4. Restart Obsidian, then enable Study Time Statistics under Settings → Community plugins.

Privacy and storage

Primary statistics are stored in .obsidian/plugins/study-time-statistics/data.json inside your vault. The plugin stores note paths and local study metrics needed for its charts. When Reading Coverage is enabled, it also stores self-reported percentages, note character-count snapshots, related active durations, and local interaction counts and timestamps. It never stores note contents. Timestamped backups are saved separately to Study Time Statistics Backups/ in the vault and therefore contain the same private note paths and metrics. It does not automatically send data over the network. The public screenshots contain a permissioned, point-in-time snapshot of real aggregate values, but no note title, path, folder, or content field is visible.

Syncing between devices

The plugin does not implement or require a separate cloud service. If your whole vault—including its .obsidian configuration folder—is synchronized by Obsidian Sync, iCloud Drive, Nutstore, or another file-sync provider, the plugin data can travel with that vault according to the provider's settings. Enable configuration-folder syncing on every device and avoid editing the same data concurrently while a provider is still resolving conflicts. Backups in Study Time Statistics Backups/ may also be synchronized because they are normal vault files.

Feedback and support

The dashboard includes a Feedback page that opens the appropriate GitHub form for bugs, inaccurate statistics, feature requests, or discussions. The plugin never submits study data automatically; nothing is sent until the user explicitly submits a GitHub form.

  • Report a bug
  • Report inaccurate statistics
  • Suggest a feature
  • Ask a question or share an idea

Before posting screenshots or logs, replace private note titles and paths with anonymous examples.

Development

npm install
npm test
npm run build

The production build generates main.js. A GitHub release must include main.js, manifest.json, and styles.css, with a tag matching the version in manifest.json exactly.

Compatibility

  • Obsidian 1.13.0 or later
  • Desktop and mobile manifests are supported; background-focus behavior depends on the operating system

Credits and license

Study Time Statistics is an independent plugin inspired by Anki's statistical presentation. It is not affiliated with or endorsed by Anki.

The codebase is derived from AstraDev's open-source Obsidian time tracker, used under the Apache License 2.0. Original copyright notices and license terms are preserved. See LICENSE and NOTICE.


中文摘要

Study Time Statistics(学习时间统计)记录 Obsidian 笔记和 PDF 的阅读时长与打开次数。你可以在笔记里查看即时统计,也可以在仪表盘里看趋势、热力图和库内排行,按日期或文件夹查找阅读记录。统计条可放在顶部、底部或隐藏,不改写笔记原文。

3.0.1 重点保护已有记录:如果无法安全合并快照或修正会话,插件会停止操作,而不是改动无法核对的历史。3.0.2 只修复构建时的依赖安装,不改变计时或数据处理。见完整中文说明。

上方图片是 2026-10-02 从实际 Obsidian 界面直接裁切的截图,显示当时 87 篇已读笔记、200 次打开、累计 3 小时 45 分钟。截图来自当时尚未公开发布的 3.0.0 开发版;截取时公开最新版为 2.2.0,部分控件可能不同。公开图片仅展示汇总数据,没有笔记标题、路径、文件夹或正文。

所有学习数据仅保存在本地库中,插件不上传数据、不收集遥测、无广告,也不需要云端账户。若整库同步包含 .obsidian 配置文件夹,数据可随 Obsidian Sync、iCloud、坚果云等现有方案同步,无需插件另建同步服务。完整中文说明见 README_zh.md。

HealthExcellent
ReviewPassed
About
Measure active reading time for Markdown notes and PDFs, count opens and completed sessions, and show an inline statistics strip at the top of each note without changing source files. Analyze study habits with a local dashboard offering heatmaps, trends, session distributions, folder summaries, and leaderboards while keeping all data inside your vault.
PDFChartsReview
Details
Current version
3.0.2
Last updated
5 days ago
Created
4 months ago
Updates
18 releases
Downloads
1k
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
Apache-2.0
Report bugRequest featureReport plugin
Author
missmisstanzy226
GitHubtanzy226
  1. Community
  2. Plugins
  3. PDF
  4. Study Time Statistics

Related plugins

Karpathy LLM Wiki

Karpathy's LLM Wiki implementation plugin for Obsidian - turns notes and PDFs into a linked, LLM-powered knowledge base with entity pages, concept pages, graph-powered Q&A, and local-first privacy.

Tracker

Track occurrences and numbers in your notes.

Text Extractor

A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.

Better Export PDF

Export your notes to PDF, supports export preview, add bookmarks outline and header/footer.

Journalit

Free trading journal with analytics, reviews and prop-firm tracking. Trades are Markdown notes. Pro adds broker imports and sync.

WebNovel Assistant

An all-in-one writing studio for novel and story writers. Features accurate word count tracking, daily goals, story timeline board, plot foreshadowing manager, chapter corkboard, and character lore gr

Notion Bases

Turn any folder into a database — table, kanban board, gallery, calendar, timeline and list views powered by frontmatter.

Pandoc Plugin

Commands to export to Pandoc-supported formats like DOCX, ePub and PDF.

Advanced PDF Export

Export notes as pixel-perfect PDFs with live preview, style presets, manual page breaks, tables, and full layout control.

Charts

Easily create interactive charts in your notes.