Skip to content
Free text tool

Anagram checker

This tool checks whether two words or phrases use exactly the same letters. Puzzle fans, word game players and teachers use it to confirm an anagram or see which letters are left over.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

20 characters

Ignore spaces
Ignore punctuation
Ignore case
Ignore accents
É matches e

Result

AnagramsYes
First
Dormitory
Second
Dirty room
Characters compared
9 and 9
Sorted letters
dimoorrty

This check ignored spaces, punctuation and letter case.

The short answer

Two phrases are anagrams if they use exactly the same letters the same number of times. Ignore spaces, punctuation and letter case, sort the letters of each phrase and compare the two results.

FormulaAnagram if the sorted letters of A equal the sorted letters of B, ignoring case, spaces and punctuation

Worked example"Dormitory" and "Dirty room" both reduce to 9 letters that sort to dimoorrty, so the answer is Yes.

Example

Input
Dormitory
Dirty room
Result
AnagramsYes
First
Dormitory
Second
Dirty room
Characters compared
9 and 9
Sorted letters
dimoorrty

This check ignored spaces, punctuation and letter case.

How to use the anagram checker

  1. Type two words or phrases, one per line, into the box.
  2. Choose whether to ignore spaces, punctuation, case and accents.
  3. The Yes or No answer appears at the top as you type, with a table of differences when they do not match.
  4. Press Copy result to keep it.

How it works

The tool counts every character on each line after the ignore options are applied and compares the counts.

When the lines are not anagrams, a table shows each character whose count differs, with how many times it appears on each line.

Ignore accents treats letters like é as e. Characters are compared as visible characters, so emoji and accented letters count as one.

You must enter exactly two nonblank lines, and each must keep at least one character after the options are applied.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

What is an anagram?

An anagram is a word or phrase made by rearranging all the letters of another, such as listen and silent.

Do spaces and punctuation count?

Not by default. Set Ignore spaces or Ignore punctuation to No to include them.

Is dormitory an anagram of dirty room?

Yes. Both use the letters d, i, m, o, o, r, r, t and y once spaces are ignored.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools