Palindrome Checker

Checks whether a word, phrase or sentence reads the same backwards, ignoring case, spaces and punctuation — and also picks out every individual word in your text that is itself a palindrome.

Live demo · real result from this tool
PalindromeYes
Letters and digits compared
21

Cleaned string tested

amanaplanacanalpanama

Palindromic words in the text

None

Processed on your device — nothing is uploaded.

How to use Palindrome Checker

  1. Type or paste a word, phrase or sentence.
  2. The verdict appears immediately, with the cleaned string it actually tested.
  3. Check the word list underneath for individual palindromic words inside longer text.
  4. Case, spaces and punctuation are ignored; letters and digits are all that count.
  5. Single letters are technically palindromes but are excluded from the word list as noise.
  6. Accented characters are not folded, so “é” and “e” are treated as different letters.

What counts, and what is ignored

The check strips everything except letters and digits, then lowercases the rest, so “A man, a plan, a canal: Panama” reads as amanaplanacanalpanama and passes. That is the standard convention for phrase palindromes — punctuation and word boundaries are treated as typography rather than content. A strict character-for-character check, which would fail that phrase on the comma alone, is rarely what anyone means.

Palindromes worth knowing

The shortest interesting ones are everyday words: level, rotor, kayak, racecar, deified. The famous phrases are “A man, a plan, a canal: Panama” and “Never odd or even”. Napoleon is supposed to have said “Able was I ere I saw Elba”, which he did not. Numeric palindromes matter in programming interviews and in recreational mathematics — the Lychrel problem asks whether repeatedly reversing and adding a number always eventually produces a palindrome, and for 196 nobody knows.

Why programmers keep meeting this problem

Palindrome checking is the standard first exercise for two-pointer technique: walk one index from each end, compare, move inward. It runs in linear time with constant extra space, unlike the obvious reverse-and-compare, which allocates a second copy of the string — exactly what this tool does, because for text a person typed the difference is irrelevant. Interviewers like it because the naive answer is correct but not optimal, which gives the conversation somewhere to go.

Frequently asked questions

What is a palindrome?
A word or phrase that reads the same forward and backward, like 'racecar' or 'A man a plan a canal Panama'.
Are spaces counted?
No — spaces and punctuation are ignored in phrase palindrome checks.
Is palindrome checking case-sensitive?
No — 'Racecar' and 'racecar' are both recognized as palindromes.
Is “A man, a plan, a canal: Panama” a palindrome?
Yes, by the usual convention. Stripping punctuation, spaces and case leaves amanaplanacanalpanama, which reads identically in both directions. It was composed by Leigh Mercer in 1948.
Do numbers count as palindromes?
Yes — 12321 and 2002 both qualify, and digits are included in the check. Palindromic numbers turn up constantly in puzzles and in number theory, where palindromic primes such as 131 and 10301 are a studied curiosity.
What is the longest palindromic word in English?
“Tattarrattat”, coined by James Joyce in Ulysses for a knock at the door, at twelve letters. Among words in ordinary dictionaries, “redivider” at nine is usually cited, and “detartrated” at eleven appears in chemistry.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close