Palindrome Checker screenshot

Palindrome Checker

Whether a text reads the same from both ends, with the first mismatch named and the normalisation stated.

Privacy First
0 Runs
Updated 2026-11-21
Runs in your browser
No sign-up, no upload

What the palindrome checker does

It compares the characters from both ends and reports whether they match all the way. The first mismatch is printed with its position and both characters, so a near miss is explained rather than just rejected. The number of characters compared is printed too.

By default it compares letters and digits only, lowercased: case, spaces and punctuation are ignored, which is why "A man, a plan, a canal: Panama" is a palindrome. The Compare control offers an exact reading as well, where case and spaces count. The normalisation actually used is named in the result, because the two readings disagree on real text.

In the sample the phrase normalises to 21 characters and reads the same from both ends. "Not a palindrome" fails at position 1, where "n" meets the final "e".

An empty box is refused, and so is a text with no letters or digits when the default reading is selected, because that comparison would be vacuous. Only the first 60 characters are shown; the verdict is computed over all of them.

How to use it

Paste the text into the text box and choose a Compare reading.

Press Run. The result prints the characters checked, the normalised text, the verdict and, when it fails, the first mismatch.

Worked example

Input with the default reading:

A man, a plan, a canal: Panama

Output:

Characters checked:            21
Normalised:                    "amanaplanacanalpanama"
Verdict:                       a palindrome

Why it runs in your browser

The comparison runs in this tab. Your text is never uploaded.

The page compares a text's characters from both ends and reports whether they match, with the first mismatch named by position and both characters.

The default reading ignores case, spaces and punctuation; the exact reading keeps them, and the result prints which normalisation it applied.

Two readings, and why the choice is printed

"A man, a plan, a canal: Panama" is a palindrome under the letters-and-digits reading and not under the exact one, because the spaces and the capital A do not mirror. Neither reading is wrong; they answer different questions, so the page prints the normalisation it used beside the verdict.

The number of characters checked is the length after normalisation, not the length of what you pasted. That makes the two readings comparable at a glance.

How to use Palindrome Checker

Paste the text into the text box and choose a Compare reading.

Press Run. The result prints the characters checked, the normalised text, the verdict and, when it fails, the first mismatch.

What to Expect

Best for

  • Checking a word or phrase for a puzzle
  • Showing why punctuation matters to the answer
  • Finding the first place a near-palindrome breaks

Not ideal for

  • A linguistic palindrome test across words
  • Very long texts, where only the first 60 normalised characters are shown
  • A check that needs punctuation to count, unless the exact reading is selected

What this tool keeps

  • Every character you pasted, in order
  • The normalisation used, printed in the result

What may need cleanup

  • Accented letters, which the default reading keeps as letters
  • Digits embedded in a phrase, which the default reading keeps

Common errors

  • Assuming spaces are always ignored, when the exact reading keeps them
  • Reading only the first mismatch as the only difference

Example use cases

  • Checking a phrase for a puzzle answer
  • Teaching normalisation with a visible rule
  • Finding where a mirrored word breaks

Sample input

The phrase "A man, a plan, a canal: Panama" under the default reading.

Sample output

21 characters after normalisation, reading the same from both ends: a palindrome.

Who this is for

  • Puzzle solvers
  • Teachers showing normalisation

Frequently asked questions

Why is "A man, a plan, a canal: Panama" a palindrome here?

The default reading lowercases the text and removes everything that is not a letter or digit, leaving 21 characters that read the same from both ends. The normalised text is printed so the comparison can be checked.

What does the exact reading change?

It compares the characters exactly, including case and spaces. Under it, the same phrase fails, because the capital A does not mirror a lowercase a and the spaces are not symmetric.

Why is the first mismatch useful?

A near-palindrome fails at one point, and naming the position and both characters shows where. "Not a palindrome" fails at position 1, where the first n meets the final e.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.