World's simplest browser-based utility for creating n-grams from text. Load your text in the input form on the left, set the value for n, and you'll instantly get n-grams in the output area. Powerful, free, and fast. Load text – get n-grams. Created by developers from team Browserling.
World's simplest browser-based utility for creating n-grams from text. Load your text in the input form on the left, set the value for n, and you'll instantly get n-grams in the output area. Powerful, free, and fast. Load text – get n-grams. Created by developers from team Browserling.
With this tool, you can create n-grams of any order from the given text. You can specify the size "n" of an n-gram in the options above. This tool can generate word n-grams and letter/character n-grams. You can customize the output to your liking – you can put any character(s) between individual items in an ngram and also put any character(s) between ngram sequence elements. If the input text contains several sentences, then you have two choices – you can ignore the end of sentences and make n-grams for the entire text, or you can stop at the end of each sentence, end the current n-gram and start a new one. There are also additional options for quickly customizing n-grams. In particular, converting n-grams to lowercase, removing punctuation, and replacing spaces with any other symbol if you're generating letter n-grams. Textabulous!
With this tool, you can create n-grams of any order from the given text. You can specify the size "n" of an n-gram in the options above. This tool can generate word n-grams and letter/character n-grams. You can customize the output to your liking – you can put any character(s) between individual items in an ngram and also put any character(s) between ngram sequence elements. If the input text contains several sentences, then you have two choices – you can ignore the end of sentences and make n-grams for the entire text, or you can stop at the end of each sentence, end the current n-gram and start a new one. There are also additional options for quickly customizing n-grams. In particular, converting n-grams to lowercase, removing punctuation, and replacing spaces with any other symbol if you're generating letter n-grams. Textabulous!
This example builds a sequence of word-four-grams from a quote by Walt Disney. We make this generator run over sentences and in the end, we get six sequences, each 4 words long. We separate words in each four-gram by a space and also remove all dots and commas, and convert the output to lowercase.
In this example, we generate 5-grams from words in a quote by Oscar Wilde. We choose the option "respect-end-of-sentence" and it works as follows – the first sentence consists of exactly 5 words and as we're respecting end of sentence characters, there's only a single 5-gram for this sequence – the sentence itself. Therefore, the generator outputs first 5-gram with five words, stops, and starts at the next sentence, which contains several ngrams.
In this example, we create a 20-gram from a quote by Leonardo da Vinci. Each sequence consists of 20 characters. We don't separate characters with any extra symbol and each ngram ends with a newline. We remove all punctuation, convert all characters to lowercase, and replace all spaces with dots.
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
Find Levenstein distance of two text fragments.
Create a list of all words in text.
Lemmatize all words in text.
Apply stemming to all words in text.
Add color to punctuation symbols in text.
Add color to letters in text.
Add color to words in text.
Add color to sentences in text.
Add color to paragraphs in text.
Add slight perturbations to the given text.
Mess up characters in your text.
Generate text using random words.
Generate lorem ipsum placeholder text.
Generate a crossword puzzle from the given words.
Convert English text to Braille writing system.
Convert Braille symbols to English text.
Convert text characters to their corresponding code points.
Convert numeric character code points to text.
Convert CSV data to plain text columns.
Convert plain text columns to a CSV file.
Create a list of all 3-grams.
Encode the entire text to a single number.
Decode text that was encoded as a number back to text.
Divide text into chunks of certain size.
Apply formatting and modification functions to text.
Count the number of punctuation marks and other sybmols in text.
Count the number of letters in text.
Count the number of sentences in text.
Count the number of paragraphs in text.
Apply text transformation rules to any text.
Analyze text for interesting patterns.
Add accent marks to text letters.
Add a counter before every letter in text.
Add a counter before every word in text.
Add a counter before every sentence in text.
Add a counter before every paragraph in text.
Interleave the letters or words of the given text fragments.
Mess up the spacing between letters in any text.
Extract all emails from text.
Extract all URLs from text.
Extract all numbers from text.
Extract all countries from text.
Extract all cities from text.
Convert text to punycode.
Convert punycode to text.
Encode text to Baudot encoding.
Decode Baudot-encoded text.
Encode text to base32 encoding.
Decode base32-encoded text.
Encode text to base45 encoding.
Decode base45-encoded text.
Encode text to base58 encoding.
Decode base58-encoded text.
Encode text to Ascii85 encoding.
Decode Ascii85-encoded text.
Encode text to base65536 encoding.
Decode base65536-encoded text.
Encode text to nettext encoding.
Decode nettext-encoded text.
Convert written text into natural sounding voice.
Convert a voice recording to text.
Encode text to UTF8 encoding.
Decode UTF8-encoded text.
Encode text to UTF16 encoding.
Decode UTF8-encoded text.
Encode text to UTF32 encoding.
Decode UTF32-encoded text.
Encode text to IDN.
Decode IDN-encoded text.
Convert text to Unix-to-Unix encoding.
Decode Unix-to-Unix-encoded text.
Convert text to Xxencoding.
Decode Xxencoded text.
Encode text to QP encoding.
Decode QP-encoded text.
Remove all HTML tags from Text.
Remove all XML tags from Text.
Remove new line symbols from the end of each text line.
Find the difference between two text fragments.
Generate various text typos.
Generate a mirror reflection of text.
Cut out a piece of text.
Grep text for regular expression matches.
Extract first symbols, words, or lines from text.
Extract last symbols, words, or lines from text
Return the first letter of each word in text.
Make every paragraph to be two paragraphs in the given text.
Create an image from all words in text.
Create a circle from all letters in text.
Create a spiral from all letters in text.
Create a circle from all words in text.
Create a matrix of any dimensions from letters in text.
Create a matrix of any dimensions from words in text.
Create a spiral from all words in text.
Split the input text into syllables.
Write any text on an LCD display (with LCD font).
Convert text to 2-dimensional drawing.
Convert text to 3-dimensional drawing.
Create a horizontally or vertically scrolling text.
Create a GIF animation of a text message.
Create a GIF animation that slowly reveals a text message.
Decode text using the wrong encoding and create garbled text.
Try to find original text from garbled mojibaked text.
Make text harder to read.
Generate the entire alphabet from a to z.
Print the alphabet in random order.
Delete swear words from text.
Edit text in a neat browser-based editor.
Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.
Enter your email here
We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling we love to make people's lives easier, so we created this collection of online text tools. Our tools are focused on getting things done and as soon as you load your text in the input of any of our tools, you'll instantly get the result. Behind the scenes, our online text tools are actually powered by our web developer tools that we created over the last couple of years. Check them out!