A consonant remover keeps only the vowels in a piece of text and discards every consonant. It is the mirror image of a vowel remover and is useful for word games, phonetic experiments, and showing how little structure remains when only vowels survive.
How it works
The tool inspects each character and decides whether it is a cased letter by comparing its uppercase and lowercase forms. If it is a letter, it is kept only when it is a vowel:
vowels = "aeiou" (or "aeiouy" if y is treated as a vowel)
for each char:
if char is a letter:
keep only if char.toLowerCase() is in vowels
else:
keep it (space, digit, punctuation)
Non-letters always survive, so word spacing and punctuation are preserved while the consonant skeleton disappears.
Example and notes
The sentence The quick brown fox becomes e ui o o (with the original spaces
kept). Treating y as a vowel changes Why from empty to y. Because consonants
are thrown away, the transformation cannot be undone, so save your input if you
need the full text later.