Text Tools

Four small tools for working with text: count words or characters as you type, convert text between letter cases, and draw random names or numbers fairly. All of them run entirely in your browser.

Your text stays on your device

Many writers paste drafts, cover letters and confidential documents into online counters without considering where the text goes. These tools are written in plain JavaScript that runs inside your browser tab. The text is never uploaded, logged or saved, and it disappears when you close or reload the page. You can confirm this by loading the page, disconnecting from the internet and continuing to type — the counts still update.

Word counter or character counter?

Use the Word Counter when a limit or target is expressed in words: school essays, grant applications, journal abstracts, blog posts and speeches. Alongside the word total it reports sentences, paragraphs, average word length, average sentence length, an estimated reading and speaking time, and your most frequent words so you can spot repetition.

Use the Character Counter when the limit is in characters: text messages, app-store descriptions, form fields, product titles, ad headlines and social posts. It counts characters with and without spaces, breaks the total down into letters, digits, spaces and punctuation, lets you set your own limit with a progress bar, and works out how many SMS segments a message would use.

Case converter

The Case Converter takes one piece of text and returns it in ten styles at once: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and alternating case, each with a copy button. It is useful for repairing text typed with caps lock on, making headings consistent across a document, and turning a plain phrase into a variable, CSS class or URL slug in the style your codebase uses. Title case follows a simple rule that keeps short function words lowercase, which covers most headings but may differ from your style guide on edge cases, and acronyms need re-capitalising by hand afterwards.

Random name and number picker

The Random Picker draws whole numbers from any range, with or without repeats, or picks one or more entries from a pasted list of names. It uses the browser's cryptographically secure generator and discards the few raw values that would make some outcomes slightly more likely, so every number or name has exactly the same chance. Teachers use it for cold-calling and grouping, organisers for raffles and giveaways, and families for settling who goes first. It is not certified for regulated lotteries or gambling.

How counting works

A word is counted as a run of letters or digits, so it works for accented letters and non-Latin alphabets as well as English. Contractions such as "don't", hyphenated compounds such as "well-known" and numbers such as "3.14" each count as one word, which matches how most word processors treat them. Characters are counted the way you see them on screen: an emoji, or a letter with a combining accent, counts as one character even though a computer may store it as several code units. That matters because some platforms count storage units rather than visible characters, so a message full of emoji may hit a limit sooner than the visible count suggests.

Reading and speaking time

Reading time uses an average silent reading speed of 238 words per minute and speaking time uses 183 words per minute, figures taken from a 2019 review of 190 reading studies by Marc Brysbaert in the Journal of Memory and Language. Real speeds vary widely with the reader, the difficulty of the text and the purpose of reading, so treat the estimates as a rough guide when timing a speech or labelling an article.

Practical editing tips

If you are over a word limit, the frequency list often reveals filler words and repeated phrases that can go first. Long average sentence lengths — above roughly 25 words — are a hint that splitting a few sentences will make the text easier to read. For character limits, check whether the platform counts spaces and line breaks; the character counter shows totals both ways so you can match the rule.

Frequently asked questions

Is my text saved or sent anywhere?

No. Counting happens in your browser; the text never leaves your device and is cleared when you leave the page.

Do numbers count as words?

Yes. A number such as 2026 or 3.14 counts as one word, as it does in most word processors.

Why does my emoji count as one character here but more elsewhere?

This tool counts visible characters. Some systems count UTF-16 code units, where many emoji take two or more.

Is the random picker fair?

Yes. It uses crypto.getRandomValues with rejection sampling and a Fisher–Yates shuffle, so every outcome is equally likely.