Preparing your generator page
We are loading content and tools so everything is ready to use.
We are loading content and tools so everything is ready to use.
Build a frequency table from text or from numbers. Choose words, characters, lines, or numbers, paste the source, and get each distinct value with its count and its percent of all tokens. Words are lowercase, so “Cat cat dog.” is cat at 66.67% and dog at 33.33%. This page does not generate a sound, a hertz value, or a musical pitch.
More helpers are in Utility tools.
Last updated: October 8, 2026 · Published: 2026-04-02 · Updated: 2026-10-08
Counts words (case-insensitive).
Output (0 total tokens)
Choose a mode, paste data, and click generate.
Frequency here means how often a value shows up. The tool splits your paste into tokens, counts each distinct token, and divides that count by the number of tokens. The result is a table with three columns: the value, the count, and the percent to two decimal places.
The same word is used for audio equipment that emits a tone at a chosen frequency in hertz. This page does not do that. There is no oscillator, no speaker output, and no field for 440 Hz. If you need a count of words or numbers, you are in the right place.
Counting stays in the browser. The paste is not uploaded. Clear removes it from the box and clears the table. It does not change the selected mode.
Four steps. The table waits for the button.
Words is selected first. Characters, lines, and numbers use different split rules.
Words, characters, and lines take text. Numbers take values separated by commas, spaces, or line breaks.
The click counts tokens, then lists each distinct value with its count and percent.
Copy table writes tab-separated rows. Clear wipes the box and the table and keeps the mode.
Rules the table uses after you click Generate.
| Setting | This generator |
|---|---|
| What it counts | How often each word, character, line, or number appears |
| What it is not | An audio tone, hertz, or pitch generator |
| Default mode | Words |
| Percent | Count ÷ all tokens × 100, rounded to 2 decimals |
| Sort | Count descending, then label A to Z |
| Live update | No — click Generate after edits or a mode change |
| Copy | Tab-separated Value, Count, and Percent |
| Storage | Browser only |
One mode is active at a time. Switching modes does not recount until you generate again.
Lowercase, then split on punctuation other than apostrophes and hyphens. Case does not create a second row.
Every non-whitespace character, case kept. Spaces and blank lines are not tokens.
One token per non-empty trimmed line. Case kept. Blank lines are ignored.
Integers and simple decimals only. Commas split tokens, so 1,000 becomes 1 and 000.
Required after every edit and after every mode change. The table does not follow the textarea live.
Header Value, Count, Percent, then one TSV row per value. Disabled when the table is empty.
The split rule changes what “one token” means. The percent always uses that token total.
| Mode | A token is | Case |
|---|---|---|
| Words | Lowercase; letters, numbers, ' and - stay together | “Cat” and “cat” merge |
| Characters | Non-whitespace characters | “A” and “a” stay separate |
| Lines | Trimmed non-empty lines | Blank lines are dropped |
| Numbers | Optional minus, digits, optional .digits | 1e3 and .5 are dropped |
The same rounding the table uses. Percents are two decimal places.
| Mode | Input | Value | Count | Percent |
|---|---|---|---|---|
| Words | Cat cat dog. | cat | 2 | 66.67% |
| Words | Cat cat dog. | dog | 1 | 33.33% |
| Numbers | 1, 2, 2, 3, 3, 3 | 3 | 3 | 50.00% |
| Numbers | 1, 2, 2, 3, 3, 3 | 2 | 2 | 33.33% |
| Numbers | 1, 2, 2, 3, 3, 3 | 1 | 1 | 16.67% |
In Numbers mode, a thousands comma is a separator. The text 1,000 is the tokens 1 and 000, and 000 is not merged with 0. Scientific notation such as 1e3 is skipped.
Short definitions for the words on this page.
How many times a value appears. On this page that is a count and a percent of all tokens, not a sound in hertz.
One word, character, line, or number after the mode’s split rules. The total under the table is the token count.
That row’s count divided by the token total, times 100, shown to two decimal places.
A run of Unicode letters, numbers, apostrophes, and hyphens, compared in lowercase.
One row in the table. Repeats increase its count. They do not add another row.
Words, characters, lines, and numbers, how percents are rounded, and why this is not a tone generator.
Explore more tools in the directory.