๐Ÿ”ค Anagram Checker

They are anagrams โœ“

Enter two words or phrases to check whether they are anagrams of each other (rearrangements of the same letters). Case, spaces, and punctuation are ignored during comparison.

How to use

  1. Enter the first text.
  2. Enter the second text.
  3. Whether theyโ€™re anagrams is shown automatically.

How the calculation works

This tool checks whether two strings use the same characters the same number of times โ€” in other words, whether you can rearrange one to get the other. Before comparing, the characters are normalized in this order: 1. Unicode NFKC normalization turns full-width letters (๏ผก๏ผข๏ผฃ) into regular ones and combines a separately typed voicing mark with its kana (ใ‹ + ใ‚› โ†’ ใŒ). 2. Upper case becomes lower case, and katakana becomes hiragana. 3. Spaces, punctuation and symbols are removed, leaving only letters (Latin, kana, kanji and so on) and digits. The remaining characters are sorted, and if the two sorted strings are identical, the inputs are anagrams. Sorting makes the original order irrelevant: only which characters appear, and how often, matters.

Worked example

Input A: listen Input B: silent Sorted: eilnst and eilnst โ†’ anagrams Input A: Dormitory Input B: Dirty Room! Without the space and "!", in lower case, both sort to dimoorrty โ†’ anagrams Input A: ใชใ‚‰ในใ‹ใˆ Input B: ใ‚ซใ‚จใƒŠใƒฉใƒ™ With katakana folded to hiragana, the characters match โ†’ anagrams

Things to be aware of

  • Kanji are compared by character, not reading. Convert words containing kanji to kana before checking.
  • Voiced and unvoiced kana are different characters (ใ‹ and ใŒ do not match).
  • If either side is empty or contains only symbols, the result is not an anagram.

FAQ

What is an anagram?

A word or phrase formed by rearranging the letters of another, such as "listen" and "silent".

Does case or spacing matter?

No. The comparison ignores letter case and strips out spaces and punctuation before comparing.

Are "Dormitory" and "Dirty Room" anagrams?

Yes โ€” ignoring the space, they rearrange to the same set of letters, making this a well-known classic anagram example.

Does it work with Japanese?

Yes. Hiragana and katakana are treated as the same letters, so ใชใ‚‰ในใ‹ใˆ and ใ‚ซใ‚จใƒŠใƒฉใƒ™ count as anagrams. Kanji are compared by character rather than reading, so convert them to kana first.