Free character frequency counter

Character frequency counter counted right in your browser

Paste any text and get a table with each character, how many times it appears and its share of the total. Switch case, spaces and letters-only rules, then copy the table or save a CSV.

Any text, a cipher or a list.

  • Free, no sign-up
  • Your text stays in this browser
  • The table updates as you type

From pasted text to a frequency table

Each rule you switch on recounts the same text at once, so you can compare results side by side.

  1. Step 01

    Paste your text

    Drop in a paragraph, a cipher, a list of names or code. The box stays empty until you add something, and Paste example fills a short sample.

  2. Step 02

    Choose the counting rules

    Ignore case merges A and a, Count spaces decides whether blanks are counted, and Letters and digits only skips punctuation.

  3. Step 03

    Read the table

    Characters are sorted from most to least common, with the count and the percentage of everything counted. Totals sit above the rows.

  4. Step 04

    Copy or download

    Copy table puts every row on the clipboard, and Download CSV saves character-frequency.csv for a spreadsheet.

What you get with every count

  • A sorted table with character, count and percentage
  • Total and unique characters shown above the rows
  • Emoji, accented letters, Cyrillic and CJK counted as single characters
  • Three switches that recount instantly
  • Readable labels for spaces, tabs and new lines
  • Copy table and a ready CSV download
  • Long tables fold to twelve rows with Show all
  • Your last text and switches remembered in this browser

What is counted and how to read the table

A character frequency table answers a simple question: which symbols appear in a text, and how often. Each row holds one character, the number of times it occurs and its share of the total as a percentage. Rows are sorted from the most common character to the least common one. When two characters appear equally often, the one that showed up first in your text is listed first, so the order never jumps around between recounts.

The counter works on what people see as one character, not on raw code units. A family emoji built from several parts joins into one row, a letter with a combining accent such as e followed by an acute mark counts once, and Cyrillic or Chinese characters each count as themselves. Your browser splits the text into these visible units, which are called graphemes, and the table is built from them.

By default every character is counted, including spaces and punctuation, and capital letters are separate from small ones. That is the right setting when you want to see the exact makeup of a string, for example to check a password policy sample or a log line. Spaces, tabs and line breaks cannot be seen in a table, so they appear as Space, Tab and Newline.

Ignore case treats A and a as the same character and lists them under the lowercase form. Use it for classic letter frequency analysis, such as breaking a substitution cipher or comparing a text with the known frequency of letters in English, where case does not carry meaning.

Count spaces is on by default. Turn it off and every blank, tab and line break is skipped, so the percentages describe only the visible symbols. Letters and digits only goes further and keeps only letters and numbers from any alphabet, which removes punctuation and symbols. Both switches change the total, and the percentages are always calculated from the characters that were counted.

Percentages show one decimal place, and tiny shares show two. For a quick reading, look at the first few rows to see what dominates your text, then open the full table with Show all to inspect rare characters. Copy table and Download CSV always include every row, even when the table on screen is folded.

What is saved. The text and the switches are stored in this browser after every change, and nothing is sent to a server. The counting limit is about one million characters, which is far more than a long book chapter.

Worked example: a short greeting

These numbers come from the same code as the tool, applied to the text “Hello, hello World!” with spaces counted.

Total characters (default rules)19
Unique characters (default rules)11
Most common character, case-sensitive“l” ×5 (26.3%)
Unique characters with Ignore case10
Most common with Ignore case“l” ×5 (26.3%)
Total with Letters and digits only15

Ignore case merges H and h into one row, so the number of unique characters drops by one while the total stays the same.

What the counter is built for

  • It processes up to about one million characters at a time. Longer text is cut at the limit and the page tells you so.
  • It counts single characters only. Word counts, line counts and text comparison are separate jobs for other tools.
  • Results are a table, not a chart, so export the CSV when you want to draw a graph elsewhere.

Character frequency questions

Is the text I paste sent anywhere?

No. Counting runs in your browser, and the text is kept only in this browser's local storage.

How are emoji and accents counted?

By visible character. A family emoji or a letter with a combining accent is one row, not several.

What does Ignore case change?

A and a become one character, listed in lowercase, with their counts added together.

Are spaces included in the percentages?

Yes while Count spaces is on. Turn it off and the percentages describe only the other characters.

Why is the table only twelve rows long?

Long tables are folded for easy reading. Press Show all to see every row; Copy and CSV always include all of them.

What does the CSV contain?

Three columns named character, count and percent, one row per character, with spaces and tabs written as readable labels.

How much text can I paste?

About one million characters. Beyond that the text is cut at the limit and the page shows how many characters are allowed.

Popular tasks with this tool

Curious what your text is made of?

Paste it in and read the table in a moment, free and without an account.

Count my characters

About ToolperLast updated: Privacy