Productivity and Utilities

Keyword in Context Concordance

Paste a text and type a word or phrase to list each occurrence with its surrounding words.

Your numbers

From 1 to 20.

Result

Occurrences

10

60 words in the text, about 166.7 per thousand.

Words in the text
60
Lines shown
10

Concordance

#BeforeMatchAfter
1It was the bestoftimes it was the
2it was the worstoftimes it was the
3it was the ageofwisdom it was the
4it was the ageoffoolishness it was the
5it was the epochofbelief it was the
6it was the epochofincredulity it was the
7it was the seasonofLight it was the
8it was the seasonofDarkness it was the
9it was the springofhope it was the
10it was the winterofdespair
How this was calculated
  1. The text is split into words: runs of letters and numbers that can hold apostrophes and hyphens inside them. Punctuation is dropped from the context lines.
  2. A phrase matches when its words appear next to each other. Capital letters are ignored unless you ask for an exact match.
  3. Each line shows up to 4 words before and after the match. Sorting by the words after (or before) groups similar contexts together so patterns stand out.

Calculated using SumPanda.com · https://sumpanda.com/keyword-in-context-concordance/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the keyword in context concordance

  1. Paste the text and type the word or phrase to find.
  2. Choose how many words on each side to show, from 1 to 20.
  3. Choose how to sort the lines: by place in the text, by the words after the match, or by the words before it.
  4. Read the count and the table of lines, and download the table as a CSV if you want to study it elsewhere.

Formula

words = runs of letters and numbers, with apostrophes and hyphens allowed inside a word

a match = the phrase words appearing one after another

line = up to N words before + match + up to N words after

Matching ignores capital letters unless you ask for an exact match. Punctuation is dropped from the context, so lines read as plain runs of words.

A famous opening paragraph

In the starting text, the word "of" occurs 10 times in 60 words, about 166.7 per thousand words. The first line reads "It was the best / of / times it was the", and the second "it was the worst / of / times it was the".

Searching for the phrase "age of" with 2 words on each side and sorting by the words after finds two lines. They sort as "foolishness it" before "wisdom it", because f comes before w. Sorting "times" by the words before puts "best of" before "worst of", which groups the contexts alphabetically by the word nearest the match.

What a concordance shows

A keyword in context list lines up every use of a word with its neighbors. That makes patterns in use easy to see: which words come before it, which come after and whether it is used in one sense or several. Linguists use it to study meaning, and writers use it to check how a word or term is used across a long document.

Sorting by the first word after the match groups lines that continue the same way, and sorting by the word before groups lines that start the same way. Try both for the same word to see different patterns.

Related checks

To see which words are used most overall, use the Word Frequency Counter. To find words repeated too close together, use the Repeated Word Finder. The Word Counter gives length statistics and the Text Similarity Calculator compares two texts. All of them run in your browser.

Assumptions and limits

  • The text can be up to 1,000,000 characters, and up to 500 lines are listed (the count shows all matches).
  • A phrase must appear as consecutive words. Hyphenated words count as single words.
  • Context lines are made of words only, so punctuation and line breaks in the original are not kept.
  • Everything is processed in your browser and nothing is stored or sent.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

Can I search for a phrase?

Yes. Type two or more words and the page finds places where those words appear next to each other, in that order. Capital letters are ignored unless you tick the exact match option.

Why is there no punctuation in the lines?

The context is built from words so that every line shows the same number of words on each side. This keeps the lines aligned and easy to sort. Look up the line number in your own text for the original punctuation.

What counts as a word?

A run of letters and numbers, which may contain apostrophes and hyphens inside it. So don't and well-known are single words, and a number such as 2024 is also a word.

Does it find parts of words?

No. The search matches whole words only. A search for "cat" does not match "category" or "concatenate".