Count Specific Letter

Count how many times a letter, character or string appears in your text, and see the words that contain it.

Matches

0

Characters

0

Type a letter (or any character or string) above to count it.

How many times does a letter appear?

How many Es are in this paragraph? How many times does the letter S appear in a brand name, a passage, a password policy example or a puzzle answer? Counting by eye is slow and unreliable beyond a few words. This tool counts one letter, character or short string for you. Type what you're looking for, paste your text, and you'll see how many times it appears, its share of all characters, how many words contain it, how many words start with it, and a table of the words that contain it.

What you can search for

Although it's built for single letters, the search box accepts:

  • a single letter, such as e, Q or ñ;
  • a digit or symbol, such as 7, @, # or %;
  • a punctuation mark, such as a comma, an apostrophe or a dash;
  • a short string of up to 20 characters, such as "th", "ing" or "qu".

Unlike the Specific Word Counter, which matches only whole words, this tool counts every occurrence wherever it appears, including inside words. Searching for "art" counts the "art" in "start", "party" and "article". That's exactly what you want for letters and letter combinations, and it's the key difference between the two tools.

Case sensitivity

By default the search ignores case, so searching for "e" counts both "e" and "E". Tick "Case-sensitive" to count only the exact form you typed. That's useful when:

  • checking how many capital letters of a particular kind appear, such as every capital "I" for the first-person pronoun;
  • validating text against a rule that distinguishes upper and lower case;
  • analysing a cipher in which case carries meaning.

Accented letters are distinct from their unaccented forms, so "e" doesn't match "é". Search for each separately if you need both.

Reading the results

The main figure is the number of occurrences. Overlapping matches aren't double-counted. Searching "aa" in "aaaa" finds two, not three.

Share of characters shows how much of the text your search term accounts for. For a single letter, that's the count divided by the total number of characters, including spaces and punctuation. In typical English text, the letter e makes up about 10% of all characters, spaces included, and t about 7%.

Words containing it is the number of words with at least one occurrence. Words starting with it is the number of words beginning with your search term, which is useful for alliteration, acrostics and word games.

The table lists each distinct word containing your term, with how many times that word appears. In case-insensitive mode, words are grouped regardless of capitalisation.

Why count a specific letter?

Puzzles and word games. Many puzzles ask how many times a letter appears in a phrase, or need words containing or starting with a given letter. Tongue-twisters, alliterative slogans and acrostic poems are all built around particular letters.

Teaching. Teachers use letter counts in phonics, spelling and early reading lessons, and as a simple data exercise in maths. "How many times does the letter a appear on this page?" is a classic classroom task.

Constrained writing. Lipograms avoid a particular letter entirely, and the count confirms whether one has slipped in. Other constraints require a letter to appear in every word or sentence.

Typography and design. Some letters, such as W, M and Q, cause spacing or layout problems in certain fonts or logos. Counting them helps designers anticipate where adjustments will be needed.

Data and programming. Developers count delimiters such as commas, tabs and pipes to check that rows in a data file have the expected number of fields, or count a character to validate a format. Counting a specific character is also a common programming exercise.

Linguistics. Researchers and learners study how often particular letters and letter pairs appear, for example "th" in English, "sch" in German or "ll" in Spanish.

Tips

  • For a full frequency table of every letter rather than just one, use the Letter Frequency Counter.
  • To count delimiters in data, paste one row at a time and search for the delimiter. Each row should give the same count.
  • To find alliteration, search for a letter and check the "starting with it" figure against the total word count.

Counting delimiters in data

One of the most practical uses for this tool has nothing to do with letters. In CSV, TSV and pipe-delimited files, every row should contain the same number of delimiters. A row with too few or too many breaks the columns and causes import errors that can be hard to trace. To check, paste the header row and search for the delimiter, a comma, a tab or a pipe (|). Note the count. Then paste a suspect row and compare. If the counts differ, that row has a missing field, an extra field, or a delimiter inside a value that should have been quoted.

The same approach works for other structured text. Count opening and closing brackets in a formula or a snippet of code to check they match. Count quotation marks in a line to make sure none is left unclosed. Count @ signs in a field that should hold one email address. Count slashes in a file path to check its depth.

Because the search accepts up to 20 characters, you can also count short patterns such as "://" to see how many URLs a text contains, or "\n" sequences in an escaped string.

Related tools

For whole words and phrases, with keyword density, use the Specific Word Counter. For vowels or consonants as a group, the Vowel Counter and Consonant Counter give per-letter breakdowns. Your text and search terms stay in your browser and are never uploaded.

How to use it

  1. 1

    Type a letter or string

    Enter a letter, digit, symbol or short string of up to 20 characters.

  2. 2

    Paste your text

    The count updates as you type.

  3. 3

    Choose case sensitivity

    Leave it off to match both cases, or turn it on to match exactly.

  4. 4

    Review the words

    See how many words contain or start with it, and which ones.

Features

Any character

Letters, digits, symbols, punctuation or short strings.

Matches inside words

Counts every occurrence, not just whole words.

Word list

Each word containing your term, with counts.

Private

Processed on your device.

Questions fréquentes

Does it count letters inside words?

Yes. Every occurrence is counted, wherever it appears. For whole-word matching, use the Specific Word Counter.

Is the search case-sensitive?

Not by default. Tick 'Case-sensitive' to count only the exact form.

Does 'e' match 'é'?

No. Accented letters are counted separately from unaccented ones.

Can I count more than one letter at a time?

You can search for a string such as 'th' or 'ing'. For every letter at once, use the Letter Frequency Counter.

Are overlapping matches counted?

No. 'aa' in 'aaaa' is counted twice, not three times.

Is my text uploaded?

No. Counting happens in your browser.

Rate Count Specific Letter

No account needed, and ratings are anonymous.

How useful was this tool?
No ratings yet — be the first

Further reading

All articles →