Escape Text
Escape a string for JSON, JavaScript, SQL, shell or regex.
Turn a text into a clean list of its words.
The Word Extractor turns a text into a clean word list in one pass — punctuation stripped, contractions and hyphenated compounds kept whole, duplicates optionally collapsed, and the result sorted however you need it.
A word list is the starting point for a great deal of work: a spelling exercise, a vocabulary study, a search index, a word cloud, a puzzle. Producing one by hand means stripping punctuation, splitting, de-duplicating and sorting — four passes.
This does all four at once. Punctuation is removed, words are split on real boundaries so contractions and hyphenated compounds survive intact, duplicates can be collapsed, and the result can be sorted alphabetically, by length or by frequency. Filters let you keep only words of a certain length, words starting with a given letter, or words matching a pattern — which turns the tool into a quick way to answer "what long words does this document use?"
"Don't" stays one word rather than becoming "don" and "t", neither of which is useful.
Keep only words in a length range, starting with a letter, or matching a pattern.
Original, alphabetical, by length or by frequency — each answering a different question.
Keep "state-of-the-art" whole, or split it, depending on what the list is for.
The list with counts alongside, which turns it into a concordance.
A document, an article or any body of writing.
Minimum and maximum length, starting letter, or a pattern to match.
Original order, alphabetical, by length or by frequency.
One per line, comma separated, or with frequencies alongside.
They stay whole. "Don't" is one word, not two, because splitting it produces "don" and "t", neither of which is useful in a word list.
"State-of-the-art" is kept as one word by default, since that is what it is. There is a switch to split on hyphens when you want the parts separately.
By default yes, since a standalone number is a token in the text. Switch them off when you want a purely alphabetic vocabulary list.
Yes. Keeping them gives you every word in order, which is what a tokeniser or a concordance needs. Removing them gives you the vocabulary, which is what a study list needs.
What people who use the Word Extractor think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Word Extractor. It takes half a minute and no account.
Write the first reviewEscape a string for JSON, JavaScript, SQL, shell or regex.
Find which lines repeat in a list, and where they are.
Corrupt text with stacked combining marks.
Remove hard line breaks so paragraphs flow again.
Strip extra spaces, tabs, blank lines and invisible characters.
Flip text so it reads upside down.
Count words, characters, sentences and reading time as you type.
Count sentences and find the ones that run too long to read.