🔄 Palindrome Checker
Check if words or sentences are palindromes. The tool automatically ignores spaces, punctuation, and capitalization to detect true palindromes. Perfect for word games, linguistic analysis, and text validation.
- Enter any word or sentence in the textarea
- The tool removes spaces, punctuation, and ignores case
- Compares the cleaned text with its reverse
- If they match, it's a palindrome (✅)
- If they don't match, it's not a palindrome (❌)
- Results update in real-time as you type
📝 Examples:
| Text | Cleaned | Result |
|---|---|---|
| racecar | racecar | ✅ Palindrome |
| A man, a plan, a canal: Panama | amanaplanacanalpanama | ✅ Palindrome |
| madam | madam | ✅ Palindrome |
| level | level | ✅ Palindrome |
| hello | hello | ❌ Not a Palindrome |
| Was it a car or a cat I saw? | wasitacaroracatisaw | ✅ Palindrome |
- Word games and puzzle solving
- Linguistic and language analysis
- Educational activities for learning
- Text validation and pattern recognition
- Cryptography and data encoding projects
- Testing algorithms and data structures
- Creative writing and poetry composition
Cleaning first, then comparing
A palindrome test on raw text would fail on almost every real phrase, because capitals, spaces and punctuation are not symmetric. The checker normalises the text before it compares anything:
clean = lowercase(text) with everything but a-z and 0-9 removed
verdict = clean === reverse(clean) and clean is not empty
A man, a plan, a canal: Panama cleans to
amanaplanacanalpanama - 21 characters that read identically in both
directions, so the answer is yes. The Clean Chars figure tells you how much
survived the strip; Characters counts what you actually typed, spaces included.
You can copy the cleaned string if you want to check it elsewhere.
What counts and what does not
- Digits are kept, so 12321 and dates like 02/02/2020
(cleaned to
02022020) are tested as written. - Accented and non-Latin letters are removed, not folded. The e-acute in Ésope reste ici et se repose is stripped rather than turned into a plain e, so this checker is reliable for English only.
- Nothing left means no verdict. Type only punctuation and you get "Invalid" rather than a false yes - an empty string technically reverses to itself, which is not a useful answer.
- Every keystroke rechecks, so you can edit a phrase until it balances.
aaa
pass. Any string of one character is a palindrome by definition.Frequently asked questions
Is "A man, a plan, a canal, Panama" a palindrome?
Yes. Ignore case, spaces and punctuation and it reads the same both ways. Leigh Mercer published it in 1948; longer versions of the same joke run to hundreds of words.
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 everyday words the winners are redivider and detartrated at nine and eleven.
Can a number be a palindrome?
Yes, and digits are checked here alongside letters. 1221 and 90109 both pass, and so does a phone number or a date once its separators are stripped.