About Palindrome Checker
Type a word, a phrase or a whole sentence and see at once whether it reads the same in both directions. By default only letters and digits count, so “A man, a plan, a canal: Panama!” passes; switch to Every character for a strict, exact comparison.
When the text is not a palindrome, the tool shows the first pair of characters that differ and the longest palindrome hidden inside it. Turn on Check each line separately to test a whole list of candidates at once.
How it works
- The text is split into characters as a reader sees them (grapheme clusters), so emoji and accented letters are compared whole.
- With Letters and digits, everything that is not a letter or a digit in any script is dropped and the rest is lower-cased. Ignore accents also turns é into e, ñ into n and so on.
- The remaining characters are compared from both ends towards the middle. The first pair that does not match is reported.
- The longest palindrome inside the text is found with Manacher’s algorithm, which takes time in proportion to the length of the text, and is shown as it appears in your original text.
Questions
Does it work for languages other than English?
Yes. Letters and digits from any script count, so Russian, Greek, Japanese kana or Chinese characters are compared just like Latin letters. Ignore accents removes diacritic marks from letters in any script that uses them.
Why does a phrase with an emoji in it pass or fail unexpectedly?
With Letters and digits, emoji and symbols are ignored entirely. Choose Every character to include them; each emoji, including flags and skin tones, is then compared as one character.
How long a text can it check?
Up to 1 MB of text. Long results are shortened on screen, but the verdict, the count and the longest palindrome always cover the whole text. In line mode the table lists the first 500 lines and the count covers every line.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.