# Word count on selection

**URL:** <https://forum.obsidian.md/t/word-count-on-selection/10432>\
**Category:** Feature archive\
**Tags:** valuable\
**Created:** [December 24, 2020, 4:56pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432 "2020-12-24T16:56:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gafotas](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/f04885/32.png) [@gafotas](https://forum.obsidian.md/u/gafotas)\
**Post date:** [December 24, 2020, 4:56pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/1 "2020-12-24T16:56:20Z")

</div>

### Use case or problem

I need to know how many words I have written in a particular paragraph. Obsidian only gives word count for the entire text in the editor. Right now, I copy paste the paragraph into [https://wordcounter.net/](https://wordcounter.net/) and get the count that way.

### Proposed solution

When I highlight a segment of text in the editor, the word count only for the highlighted segment is shown.

### Related feature requests (optional)

There is a plugin for this, but I believe this should be a core part of the product.

> [@Better Word Count Plugin - count words in selected text](https://forum.obsidian.md/t/better-word-count-plugin-count-words-in-selected-text/9181):
>
> Have you ever wanted more control over your word count? Well, now you can have that control with Better Word Count. Anyway, I needed it, so I made it and you can have it too. It replaces the core plugin counting the words of selected text when text is selected. Here is the repo: [Better Word Count](https://github.com/lukeleppan/better-word-count)

---

<div class="post-metadata">

**Author:** ![miren](https://forum.obsidian.md/user_avatar/forum.obsidian.md/miren/32/37220_2.png) [@miren](https://forum.obsidian.md/u/miren)\
**Post date:** [February 24, 2021, 2:02pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/2 "2021-02-24T14:02:46Z")

</div>

I second this!

---

<div class="post-metadata">

**Author:** ![shxie](https://forum.obsidian.md/user_avatar/forum.obsidian.md/shxie/32/788_2.png) [@shxie](https://forum.obsidian.md/u/shxie)\
**Post date:** [January 13, 2022, 5:36pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/3 "2022-01-13T17:36:56Z")

</div>

+1. This should be a core plugin rather than a third party, especially that now the Better Word Count Plugin is no longer working in the latest live preview version.

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [February 6, 2022, 12:35am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/4 "2022-02-06T00:35:02Z")

</div>

I strongly agree the core plugin should do this. It’s a common feature in text editors and I use it often.

The Better Word Count plugin has never worked on mobile. When it stopped working on desktop I worked around it by copying text to a “word count” note. Then I learned that both plugins [count incorrectly](https://forum.obsidian.md/t/incorrect-word-count-from-apostrophes-re-submit/31883), so I started writing in a separate app. I’ve also set up a [workaround with Apple Shortcuts](https://github.com/lukeleppan/better-word-count/issues/30#issuecomment-1025241909).

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [February 6, 2022, 12:35am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/5 "2022-02-06T00:35:37Z")

</div>

Also, this request is tagged “editor-legacy” but still applies to the new editor.

---

<div class="post-metadata">

**Author:** ![Dor](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@Dor](https://forum.obsidian.md/u/Dor)\
**Post date:** [February 6, 2022, 12:41am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/6 "2022-02-06T00:41:14Z")

</div>

This is now in the Community Plugin store:

> **[GitHub - CattailNu/obsidian-file-info-panel-plugin: This plugin for Obsidian...](https://github.com/CattailNu/obsidian-file-info-panel-plugin)**
>
> This plugin for Obsidian creates a small File Info view that displays the active file's date created, date modified, file size, and links to open the file in its native application and to open ...

Works on Live Preview. I’ve not tested mobile (but LP uses the same editor as mobile) though there may not be enough screen space for it to work well on a phone.

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [February 6, 2022, 12:44am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/7 "2022-02-06T00:44:45Z")

</div>

~~This request is for word count of the current selection, not of the whole file.~~ I see it includes the count of the current selection!

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [February 6, 2022, 12:57am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/8 "2022-02-06T00:57:25Z")

</div>

Alas, it counts text in comments (and presumably in other invisible Markdown text, as the core word count plugin does). Looks quite useful for other people, tho!

---

<div class="post-metadata">

**Author:** ![dnaielk024](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/94ad74/32.png) [@dnaielk024](https://forum.obsidian.md/u/dnaielk024)\
**Post date:** [May 14, 2021, 3:14pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/9 "2021-05-14T15:14:53Z")

</div>

### Use case or problem

It would be great to see the word count of the selection. If nothing is selected the word count would be as usual. It is very useful when writing a piece that is supposed to have a fixed word count and having several versions in one note to check the amount of words.

### Current workaround

Just copy and paste the text into an online word count tool

---

<div class="post-metadata">

**Author:** ![mgmeyers](https://forum.obsidian.md/user_avatar/forum.obsidian.md/mgmeyers/32/7826_2.png) [@mgmeyers](https://forum.obsidian.md/u/mgmeyers)\
**Post date:** [May 14, 2021, 9:17pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/10 "2021-05-14T21:17:16Z")

</div>

This can be accomplished with the Better Word Count plugin: [https://github.com/lukeleppan/better-word-count](https://github.com/lukeleppan/better-word-count)

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [February 6, 2022, 12:24am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/11 "2022-02-06T00:24:52Z")

</div>

This is a duplicate of [https://forum.obsidian.md/t/word-count-on-highlight/10432](https://forum.obsidian.md/t/word-count-on-highlight/10432).

---

<div class="post-metadata">

**Author:** ![jamesgreenblue](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jamesgreenblue/32/49374_2.png) [@jamesgreenblue](https://forum.obsidian.md/u/jamesgreenblue)\
**Post date:** [June 20, 2023, 2:51pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/12 "2023-06-20T14:51:26Z")

</div>

Include me in the list of people that is surprised this functionality isn’t baked in – I just found myself copying a note into Google Docs in order to count how many characters are in each paragraph 😅 Is there any kind of voting mechanism for feature requests?

I’m a relatively new Obsidian user and still building trust using third party / community plugins and @CawlinTeffid’s point about plugins not working on mobile is incredibly valid.

Hopefully this does make it into core at some point. Following this topic 🍿

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [June 20, 2023, 6:07pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/13 "2023-06-20T18:07:10Z")

</div>

Upvote by pressing the heart button.

---

<div class="post-metadata">

**Author:** ![burial\_at\_sky](https://forum.obsidian.md/user_avatar/forum.obsidian.md/burial_at_sky/32/21209_2.png) [@burial\_at\_sky](https://forum.obsidian.md/u/burial_at_sky)\
**Post date:** [June 23, 2023, 10:18am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/14 "2023-06-23T10:18:25Z")

</div>

EDIT:

> [@Abbreviations for Word Count Core plugin](https://forum.obsidian.md/t/abbreviations-for-word-count-core-plugin/62898):
>
> Use case or problem Currently, the core word count plugin takes a lot of space in the status bar, especially when you have a slim status bar in the center. Proposed solution i’d love the core plugin to add an option to use abbreviations in the status bar: 1040 words =\> 1040w 3457 characters =\> 3457c a simple toggle to use abbreviations would do. I know this functionaliy exists as the Better Word Count plugin, but it’s unreliable & buggy, and i think it should be baked in. Current workaround…

extracted the other feature request to it’s own issue.

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [June 23, 2023, 8:48pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/15 "2023-06-23T20:48:02Z")

</div>

That deserves its own feature request.

---

<div class="post-metadata">

**Author:** ![RufusResearch](https://forum.obsidian.md/user_avatar/forum.obsidian.md/rufusresearch/32/1739_2.png) [@RufusResearch](https://forum.obsidian.md/u/RufusResearch)\
**Post date:** [May 9, 2022, 8:14am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/16 "2022-05-09T08:14:08Z")

</div>

The word counters in obsidian are awesome, in my opinion, showing words and characters, v simple.

but when I select a bunch of text in a document, it would be great if that word counters could then update and show me how many are in that selected piece of text (perhaps in brackets, next to the total word count for the document)

Hopefully that would be of some use to other people too, thanks!

---

<div class="post-metadata">

**Author:** ![Dor](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@Dor](https://forum.obsidian.md/u/Dor)\
**Post date:** [May 9, 2022, 9:16am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/17 "2022-05-09T09:16:18Z")

</div>

File Info Panel plugin (many features) has this. So does the Better Word Count plugin (simpler).

---

<div class="post-metadata">

**Author:** ![RufusResearch](https://forum.obsidian.md/user_avatar/forum.obsidian.md/rufusresearch/32/1739_2.png) [@RufusResearch](https://forum.obsidian.md/u/RufusResearch)\
**Post date:** [May 12, 2022, 10:52am UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/18 "2022-05-12T10:52:28Z")

</div>

> [@Dor](#):
>
> Better Word Count

Aha! Thanks Dor, much obliged 🙂

---

<div class="post-metadata">

**Author:** ![klor](https://forum.obsidian.md/user_avatar/forum.obsidian.md/klor/32/40425_2.png) [@klor](https://forum.obsidian.md/u/klor)\
**Post date:** [December 29, 2022, 12:14pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/19 "2022-12-29T12:14:04Z")

</div>

How a word counter might be implemented (show different contents in the “counter area”, depending on what is / is not selected):

 ![obsidian - word count](https://forum.obsidian.md/uploads/default/original/3X/2/1/211c0852e834450679fc48ee4fec4bd0a42c8ede.png)

Related: [Word count for selected text](https://forum.obsidian.md/t/word-count-for-selected-text/4071)

---

<div class="post-metadata">

**Author:** ![burial\_at\_sky](https://forum.obsidian.md/user_avatar/forum.obsidian.md/burial_at_sky/32/21209_2.png) [@burial\_at\_sky](https://forum.obsidian.md/u/burial_at_sky)\
**Post date:** [January 7, 2023, 10:11pm UTC](https://forum.obsidian.md/t/word-count-on-selection/10432/20 "2023-01-07T22:11:37Z")

</div>

i think this would be useful. yes, the better-word-count plugin has this, but it’s such a good & simple feature it could be implemented as a toggle in the native/core word count plugin

[Next page](https://forum.obsidian.md/t/word-count-on-selection/10432.md?page=2)
