Get Started
More information

Count words and characters


Counts paragraphs, words and characters with or without spaces in the selected part of the document.

The following elements are not included in the word count:

  • footnotes/endnotes;
  • numbers from numbered lists;
  • page numbers.

Plugin type: visual, non-system.

Supported editors: documents.


Available by default in ONLYOFFICE Enterprise Edition and Community Edition (Document Server + Community Server).

You can also download this plugin from the ONLYOFFICE App Directory and install it following the desktop or cloud installation instructions.

  1. Select the text.
  2. Open the Plugins tab and press Count words and characters.
  3. Calculations will be displayed in the plugin window automatically.
Plugin structure

Repository on GitHub:

  1. config.json, index.html and code.js
  2. Icons
  3. The translations folder contains translations into Russian, German, Spanish, Czech and French.
    "name" : "Count words and characters",
    "guid" : "asc.{584EEEE8-DBF5-45C3-A4CA-F52177C82754}",

    "variations" : [
            "description" : "Count words and characters",
            "url"         : "index.html",

            "icons"           : ["resources/img/icon.png", "resources/img/icon@2x.png", "resources/img/icon2.png", "resources/img/icon2@2x.png"],
            "isViewer"        : true,
            "EditorsSupport"  : ["word"],

            "isVisual"        : true,
            "isModal"         : false,
            "isInsideMode"    : true,

            "initDataType"    : "text",
            "initData"        : "",

            "buttons"         : [],

            "initOnSelectionChanged": true
Methods and events

If you want to request a feature or report a bug regarding this plugin, use the issues section on GitHub.