Anagram Checker
Check whether two words or phrases are anagrams — they contain the same letters in different orders.
Enter both inputs to compare.
About Anagram Checker
An anagram is a word or phrase formed by rearranging the letters of another. This tool compares two inputs and reports whether they're anagrams. By default it ignores whitespace, punctuation, and case — so 'listen' and 'silent' match, as do 'A gentleman' and 'Elegant man'.
When to use it
- Solving anagram puzzles and word games
- Verifying anagram answers in a crossword or trivia quiz
- Teaching about letter frequencies and permutations
How it works
Both inputs are normalized: lowercased, with non-letter characters stripped. The remaining characters are sorted alphabetically. If the sorted strings match, the inputs are anagrams.
Examples
A: listen B: silent
✓ Anagrams (both contain: e i l n s t)
A: A gentleman B: Elegant man
✓ Anagrams (case and spaces ignored)
Frequently asked questions
- Is whitespace counted?
- By default, no — spaces are stripped before comparison. Toggle the option to require exact whitespace matches.
- Are accented letters folded?
- No. é and e count as different letters. Run the remove-accents tool on both inputs first if you want them treated the same.
- What's the difference from a palindrome?
- An anagram is a rearrangement of letters between two different strings; a palindrome is a single string that reads the same forwards and backwards.