How to sort notes by word count in Obsidian Bases

As of October 2026, Bases has no word count field or function. The core Word count plugin shows the count of the active note only. To sort or sum word counts in a base, the count must be a note property.

Word Count Property has Pro, and $15 one time turns it on in all 129 plugins.

Background

The forum request "Bases: Word count function / property" opened on 6 August 2025. It has 30 likes and 16 posts. An older topic from August 2020, "Word count based on preview/rendered text, not editor text", has 36 likes and 24 posts.

3 ways to do it

  1. The core Word count plugin

    Word count is a core plugin. It shows the number of words and characters of the active note. On desktop it appears in the status bar, and on mobile at the top of the right sidebar.

    It supports Chinese, Japanese and Korean text, which does not use spaces between words.

    limits
    It counts one note at a time. A base cannot read the count, so you cannot sort or total it.
  2. The file size field in a base

    Bases lists file.size as a number field, the size of the file in bytes. Add it as a column and sort by it to find long and short notes.

    limits
    Bytes are not words. Properties, links and code add bytes, and a character outside English can take more than one byte.
  3. Word Count Property from this site

    Word Count Property writes a numeric wordCount and readingTimeMinutes property to the notes that you opt in. A base can then sort, filter, group and summarize both values.

    You opt in one note at a time with a command or a wordCountTracked marker. The plugin refreshes the count after edits, and the count and reading time are free.

    limits
    It counts the Markdown source, so code and link destinations count. A local preview of the rendered text count needs Pro.
    A chapter note with its word count and reading time shown as numbers in the properties.
    Open larger

    MIT · no telemetry · core features free

    All features of Word Count Property

Add word count columns with Word Count Property

  1. Install Word Count Property from Community plugins and enable it. It needs Obsidian 1.13.4 or newer and the Bases core plugin.

  2. Open a note and run Toggle word count tracking for the current note from the command palette.

  3. Check that wordCountTracked, wordCount and readingTimeMinutes appear in the note properties.

  4. Open a Bases table and add the wordCount and readingTimeMinutes columns.

  5. Sort, filter or summarize the columns, for example a sum of all words in a folder of chapters.

Common questions

Can a Bases formula count the words in a note?

Not as of October 2026. The Bases functions page lists file fields such as file.size, file.links and file.tags, and none of them holds the note text. A word count must be in a property before a base can use it.

Can I get the total word count of a folder in Bases?

Yes, when each note has a numeric word count property. Filter the base to the folder and add a sum summary to the column. Word Count Property writes wordCount as a number, so the sum works.

Does every note get a word count property?

No. Word Count Property changes only notes with the wordCountTracked marker set to the YAML boolean true. It refuses to start when a note already has wordCount or readingTimeMinutes, so it does not replace another workflow.

Photo of Michael LipYou can now sort notes by word count.

This guide uses Word Count Property. Pro adds "Local reading preview". One payment of $15 turns on Pro in 129 plugins.