EditSafely

String Frequency Analysis

Find the most frequent letters and words in a string. Runs entirely in your browser, so your data never leaves your device.

0 chars · 0 lines

Output

The result appears here as you type.

Options

How to use String Frequency Analysis

  1. 1. Paste the text. Enter any block of text into the input pane, from a single sentence to a full paragraph. String Frequency Analysis counts both letters and whole words at the same time.
  2. 2. Set How many to show. Set How many to show to limit the ranking to the top entries, such as the top 5 letters and top 5 words, keeping the report focused on the most significant ones.
  3. 3. Turn on Case sensitive if needed. Turn on Case sensitive to count uppercase and lowercase versions of a letter or word separately, or leave it off to merge them into one count.
  4. 4. Read the frequency report. Review the two ranked lists, top letters and top words, each showing the character or word alongside its occurrence count, ordered from most to least frequent.

When to use String Frequency Analysis

String Frequency Analysis counts how often each letter and each word appears in a piece of text and ranks them from most to least common. Use it any time you need a quick statistical snapshot of a passage without writing a script.

  • Solving a substitution cipher. You are working through a classic cryptogram and want to compare the letter frequencies in the ciphertext against known English letter frequency to guess likely substitutions.
  • Checking for repetitive writing. An essay or article draft feels repetitive, and seeing which words appear most often helps you spot overused terms before editing them out.
  • Studying a text for a linguistics exercise. A classroom assignment asks students to analyze letter and word distribution in a passage as an introduction to corpus statistics and Zipf's law.
  • Auditing keyword density in copy. You are reviewing marketing copy or a product description and want to confirm a target keyword appears often enough, or not so often that it looks like keyword stuffing.

Examples

Analyze

Input

the the cat

Output

Top letters
  t  3
  e  3
  h  2
  c  1
  a  1

Top words
  the  2
  cat  1

About the String Frequency Analysis tool

String Frequency Analysis runs as plain JavaScript in your browser tab, with no server behind it. Find the most frequent letters and words in a string. Whatever you put in stays on your device from start to finish.

The tool is part of EditSafely's String Tools section, 159 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.

You can shape the output with 2 settings, including How many to show and Case sensitive, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.

Frequently asked questions

Does String Frequency Analysis cost anything?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How much text can I process at once?

There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.