Online Generate Text Unigrams
Extract unigrams (single words or characters) from text. One token per line—useful for word lists, character frequency, or tokenization. Client-side only.
hello world hello
Frequently Asked Questions
- What are unigrams?
- Unigrams are single-item units: one word per line (word unigrams) or one character per line (character unigrams). Same as n-grams with n=1.
- Word vs character unigrams?
- Word unigrams split on whitespace and list each word once per occurrence (or unique). Character unigrams list each character (optionally excluding spaces).
- Unique only?
- You can output every occurrence or deduplicate to get a unique list of words/characters. Unique is useful for vocabulary or character set.
Related Text Tools
Word Counter
Count words, characters, sentences, and paragraphs. Perfect for writers and students.
Case Converter
Convert text between uppercase, lowercase, title case, and sentence case instantly.
Morse Code Translator
Translate text to Morse code and Morse code to text. Supports letters, numbers, and punctuation.
Lorem Ipsum Generator
Generate placeholder text for designs and mockups. Choose paragraphs, sentences, or words.
Diff Checker
Compare two texts side by side. Highlight differences between documents, code, or strings.
Character Counter
Count characters with and without spaces. Real-time counts for tweets, meta descriptions, and forms.