This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Word and Character Counter

Utilities · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryUtilities
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool counts words, characters (with and without spaces), lines, and paragraphs from any text on a web page. It displays these counts in a floating panel that updates in real-time as you select text or as the page content changes. The panel can be positioned anywhere on screen, and you can copy the counts to your clipboard with one click. Whether you're a writer tracking word count, an editor reviewing content length, or a student checking essay length, this tool provides instant feedback without interrupting your workflow.

WHERE IT RUNS

Runs on any website—articles, editors, social media posts, document viewers, email clients, and more. It works with static pages, single-page apps, and dynamically loaded content. If there is text on the page, the tool can count it. No per-site configuration needed; it automatically adapts to whatever page you're viewing.

HOW TO USE

Install the userscript via BotGentz, then simply select text on any webpage. The floating panel instantly updates to show the word count, character count (with and without spaces), line count, and paragraph count of your selection. If no text is selected, the tool counts all visible text on the page. Use the "Copy Counts" button to copy the statistics to your clipboard as a formatted report. Adjust the panel position using the dropdown (Top Right, Top Left, Bottom Right, Bottom Left). Toggle whether line counts are displayed, or whether whitespace is included in character counts, via the settings switches.

TECHNICAL MECHANISM

The tool listens to the selectionchange event, which fires whenever the user selects or deselects text. It also listens to input and change events on the page to detect dynamic content updates. A MutationObserver monitors changes to the document body, allowing the tool to refresh counts when content loads asynchronously. Debouncing and throttling are applied to avoid excessive recalculation during rapid selection changes. When counting, the tool uses split() with whitespace regex to accurately count words, and counts characters by measuring string length and filtering whitespace. The panel position is persisted using GM_setValue, so your preferred location is remembered across page reloads.

THE PANEL

The floating panel is built with BotGentz's BGPanel framework. It is draggable—click and drag the panel header to reposition it anywhere on the screen. The panel remembers its position per site via the settings dropdown. It can be collapsed to a small bubble icon by clicking the minimize button, preserving screen space. The panel can be closed and reopened via the BotGentz toolbar. Press the Escape key to quickly close the panel. The panel automatically adjusts its layout for different screen sizes.

PLEASE NOTE

Requires the free BotGentz extension. This tool processes text entirely in your browser and does not send any data to external servers. It cannot read or modify password, hidden, or file input fields. Websites change frequently; if the tool stops working on a particular site, the script may need updating. No data is stored beyond your panel position and settings, which are saved locally via GM_setValue.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.