About this tool
Strip repeated words from text and keep only the first occurrence of each, all in your browser.
Text is split on any run of whitespace, so line breaks and repeated spaces are separators, and the first occurrence of each word is kept. Punctuation stays attached: "cat" and "cat," are different words. Kept words are joined with single spaces, so the output is one line, and a note shows how many words were removed out of the total.
Case-insensitive (on by default) treats "Apple" and "apple" as the same word and keeps the first. Turning Keep order off sorts the survivors by character code, so with case-sensitive matching capitals come first.