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

Word Census

lvnacylvnacy23 downloads

Count words within a specific region of your note. Includes stopwatch, countdown, and session timers, and an updating code block processor to see word count inline.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

An Obsidian plugin that counts words only inside a region of a note, not the whole thing. Mark the region with a pair of comments or point the plugin at a heading, and Word Census counts what's there: in a sidebar panel with a stopwatch, a countdown and a writing-session timer, in an inline wordcount block you can place anywhere, and in the status bar on desktop.

It's built for people who keep notes, outlines and drafts in the same file and want to know how long the draft itself is. It works on mobile as well as desktop.

CI flags

Placeholder. These status badges will be added once CI is set up.

Features

Count a region, not a whole note

  • Between markers. Wrap the part you want counted in <!-- word count start --> and <!-- word count end -->. A note can hold several pairs, and their counts are added together.
  • Under a heading. Name a heading and Word Census counts everything beneath it, subheadings included, until the next heading of the same or a higher level. Set one heading globally in the settings, or override it for a single note with a word-count-heading property.
  • Whole note. With neither in place, the whole note is counted.

Markers take precedence over a heading. A heading that can't be found shows "Heading not found" instead of quietly counting the whole note.

What counts as a word

Frontmatter, comments (<!-- --> and %% %%), Markdown syntax and link URLs are never counted. Link text is. Three things are up to you:

  • Include code blocks (off by default): words inside fenced code blocks.
  • Include footnotes (on by default): the text of footnote definitions.
  • Include embeds (off by default): the text of embed links.

Hyphenated words and contractions count as one word. Chinese, Japanese, Thai and other scripts written without spaces are segmented properly where the device supports it.

Sidebar panel and timers

Open it with the Open word count panel command. It shows the region's count and which mode matched, an analog clock, and three timers that run independently of one another:

  • Stopwatch for elapsed time.
  • Countdown that stops at zero and tells you it's finished. The default length is configurable.
  • Session that binds to the note you start it in and tracks words written and words per minute, counting only the time it was running. It follows the note if you rename or move it. If the note is deleted, the session ends and keeps its final figures until you reset it.

Elapsed time comes from timestamps, so timers stay accurate when a mobile app is in the background. Timers can optionally be kept across restarts; a timer that was running comes back paused.

Inline wordcount block

Put this anywhere in a note to show its live count in place:

```wordcount
```

To count under a particular heading instead, add a heading: line:

```wordcount
heading: Chapter 3
```

The block never counts itself.

Status bar

On desktop, the status bar shows the active note's count. It can be turned off in the settings.

Settings

Setting What it does
Heading Count only the words under this heading when a note has no markers. Leave blank to count the whole note.
Include code blocks Count words inside fenced code blocks.
Include footnotes Count the text of footnote definitions.
Include embeds Count the text of embed links.
Default countdown Minutes the countdown starts from.
Keep timer across restarts Save the timer and bring it back, paused, when Obsidian reopens.
Show status bar item Show the word count in the status bar. Desktop only.

Installation

Word Census isn't in the community plugin directory yet. To install it by hand, download main.js, manifest.json and styles.css from the latest release once one is published, put them in <your vault>/.obsidian/plugins/wordcensus/, and enable the plugin under Settings → Community plugins.

Word Census needs Obsidian 1.13.0 or later.

Development

Requires Node 24 or later and pnpm.

pnpm install
pnpm dev          # rebuild on change
pnpm test         # run the tests
pnpm lint
pnpm typecheck
pnpm build        # typecheck, then a production build into dist/

The design and its reasoning are in docs/SPEC.md, and the testing approach is in docs/TESTING.md.

Contributing

This project is not accepting pull requests at this time. Please don't open one; it will be closed without review. This may change later, and this section will be updated if it does.

License

MIT © 2026 L V N A C Y

HealthExcellent
ReviewSatisfactory
About
Count words in a note region by wrapping it with comment markers or by targeting a heading. Show counts in a sidebar with stopwatch, countdown, and writing timers; in inline wordcount blocks; and in the desktop status bar. Ignore frontmatter, comments, markdown syntax and link URLs.
WritingSidebarStatus bar
Details
Current version
1.0.0
Last updated
6 days ago
Created
Last week
Updates
1 release
Downloads
23
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
lvnacylvnacy
GitHublvnacy
Blueskycode.lvnacy.xyz
Threadslvnacy.xyz
  1. Community
  2. Plugins
  3. Writing
  4. Word Census

Related plugins

Longform

Helps you write and edit novels, screenplays, and other long projects.

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

Novel word count

Display a word count, page count, creation date, or other statistics for each file, folder and vault in the File Explorer pane.

Word Sprint

Word Sprint for your writing projects like NaNoWriMo.

Better Word Count

Count the words of selected text in the editor.

Reading Time

Add the current note's reading time to the status bar.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Tag Wrangler

Rename, merge, toggle, and search tags from the tag pane.

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.