Palindrome Checker

A palindrome reads the same forwards and backwards: "racecar," "level," or longer phrases like "a man, a plan, a canal, Panama" once spacing and punctuation are ignored. This checks any word or phrase in both a strict mode (exact character match) and a relaxed mode (ignoring spaces, punctuation, and capitalization), since most famous palindromic phrases only work under the relaxed rules.

Famous palindromes

Fun fact: "A man, a plan, a canal: Panama" is one of the most famous palindromes in English, attributed to Leigh Mercer in 1948.

How to use this palindrome checker

  1. Type or paste a word or phrase into the input field.
  2. The result appears instantly: green check for palindrome, red X if not.
  3. Toggle strict mode to include case, spaces, and punctuation in the check.
  4. Click any famous palindrome to test it.

Why almost all interesting palindromes need the "relaxed" rules

Single-word palindromes ("racecar," "level") work under strict character-for-character matching just fine, but nearly every well-known palindromic phrase only qualifies once you ignore spaces, punctuation, and case. "A man, a plan, a canal, Panama!" is not a strict character-for-character palindrome (the punctuation and spacing break the mirror), but strip those out and compare only the letters, and it reads identically forwards and backwards. This is why any tool that only checks strict equality will incorrectly reject the phrase palindromes people actually find impressive.

Frequently asked questions

What's the difference between strict and relaxed mode?

Strict mode compares every character exactly, including spaces, punctuation, and case, so only single words or carefully-formatted phrases pass; relaxed mode strips spacing, punctuation, and case differences before comparing, which is how most well-known phrase-level palindromes are actually evaluated.

Does capitalization matter?

In relaxed mode, no. "Racecar" and "racecar" are treated identically; in strict mode, capitalization is part of the exact character match, so mismatched case would fail.

Can numbers be palindromes too?

Yes. The same logic applies to digit sequences (like 12321), and this checker works on numeric input the same way it works on words.