๐ Palindrome Checker
Case, spaces, and punctuation are ignored when checking.
Check whether the text you enter is a palindrome โ a string that reads the same forwards and backwards. Case, spaces, and punctuation are ignored when checking.
How to use
- Enter the text you want to check.
- Whether it's a palindrome is shown automatically.
How the calculation works
This tool checks whether your text is a palindrome โ something that reads the same forwards and backwards. Before checking, the characters are normalized in this order: 1. Unicode NFKC normalization turns full-width letters into regular ones and combines separately typed voicing marks with the kana before them. 2. Upper case becomes lower case, and katakana becomes hiragana. 3. Spaces, punctuation and symbols are removed, leaving only letters and digits. The normalized string is reversed character by character, and if it matches the original exactly, the text is a palindrome. The normalized string used for the check is shown on screen, so you can see exactly which characters were compared.
Worked example
Input: A man, a plan, a canal, Panama Normalized: amanaplanacanalpanama โ palindrome Input: Was it a car or a cat I saw? Normalized: wasitacaroracatisaw โ palindrome Input: ใใณในใใใใ Normalized: ใ ใใใใใใ โ palindrome (katakana is folded to hiragana) Input: ็ซน่ช็ผใใ Normalized: ็ซน่ช็ผใใ โ not a palindrome (kanji are compared by character, not reading)
Things to be aware of
- Kanji are not converted to readings, so palindromes written in kanji cannot be checked. Enter them in hiragana or katakana.
- Some Japanese palindrome games ignore voicing marks or small kana such as ใฃ and ใ; this tool treats them as different characters.
- Empty input or input with only symbols is not treated as a palindrome.
FAQ
Why is "A man, a plan, a canal, Panama" a palindrome?
Once case, spaces, and punctuation like commas are stripped out, it becomes "amanaplanacanalpanama", which reads the same forwards and backwards.
Does it handle non-English palindromes too?
Yes โ it compares characters directly, so palindromes in other scripts, such as the Japanese "ใใใถใใ", are also checked correctly.
Do spaces or punctuation affect the result?
No โ spaces, punctuation, and case are stripped and normalized before comparison, so they don't affect the result.