Palindrome Checker
What counts as a palindrome
A palindrome is any sequence that reads the same in both directions. The strictest version demands a perfect mirror, character for character, capitals and spaces included — almost no real phrase passes that test, because a capital letter at the start has no twin at the end. So palindromes are almost always judged after normalisation: lowercasing everything, deleting spaces and punctuation, and deciding whether digits count. That is precisely what the three toggles above do, and playing with them teaches the definition better than any paragraph can. "No 'x' in Nixon" is a palindrome with normalisation on — noxinnixon mirrors itself — and fails with it off. "Racecar" needs only the case toggle: the R and the r must be allowed to match. A purist can switch everything off and hunt for the rare perfect specimens; a puzzle solver leaves the defaults on.
The word itself is Greek: palin (again) plus dromos (a running), a thing that runs back over its own course. The form is ancient — a palindromic inscription, "Nipson anomemata me monan opsin" ("wash my transgressions, not only my face"), was carved around Byzantine church fonts a thousand years ago, arranged so it could be read around the basin in either direction. English classics include "Madam, I'm Adam", supposedly Adam's first words to Eve, and the wartime "Able was I ere I saw Elba", pinned on Napoleon. Word-level examples are everywhere once you look: madam, civic, radar, level, rotor, kayak, refer, noon, stats — and the longest common one, rotavator, is a real machine. Finnish holds the world record for a single everyday word: saippuakivikauppias, a soapstone seller, 19 letters of perfect mirror.
Numbers play by the same rule with no normalisation needed: 12321, 45654 and 999 are palindromes exactly as written, which is why palindromic odometer readings and dates (12/02/2021 in day-first format) get photographed and shared. The idea also matters outside wordplay. In molecular biology, palindromic sequences in DNA — stretches that read the same on opposite strands — are the recognition sites where restriction enzymes cut, a foundation technique of genetic engineering. In music, composers from Haydn to Webern have written passages that play identically backwards. And in computing, "is this string a palindrome?" is a classic first interview question precisely because the normalisation decisions — case? spaces? unicode? — are where the real thinking hides.
Worked examples
"A man, a plan, a canal: Panama" (case, spaces and punctuation ignored): normalised to amanaplanacanalpanama → palindrome.
"No 'x' in Nixon" (same settings): normalised to noxinnixon → palindrome.
"racecar" exactly as typed → palindrome. "hello" → reversed is olleh → not a palindrome.
Sentence mode on "Madam Anna saw a racecar at noon" lists Madam, Anna, racecar, noon — four palindromes hiding in an ordinary sentence.
Quick reference: common palindromes
| Type | Examples |
|---|---|
| Words | madam, racecar, level, civic, radar, kayak, refer, noon, stats |
| Names | Anna, Hannah, Otto, Ava, Eve, Bob |
| Phrases (normalised) | A man, a plan, a canal: Panama · No 'x' in Nixon · Madam, I'm Adam |
| Numbers | 121, 12321, 45654, 1001, 123454321 |
Try the phrase examples with the punctuation toggle switched off to see how much quiet work normalisation does: not one of them survives the strict test, which is why every serious definition of a phrase palindrome includes the words "ignoring spaces and punctuation".
Frequently asked questions
What is a palindrome?
A palindrome is a word, phrase or number that reads the same forwards and backwards. Single words include madam, racecar, level and noon. Phrase palindromes only work once you ignore capital letters, spaces and punctuation: 'A man, a plan, a canal: Panama' becomes amanaplanacanalpanama, which is identical in both directions. The toggles on this page let you choose exactly how strict the check should be.
Is 'A man, a plan, a canal: Panama' really a palindrome?
Yes. Strip out the spaces, commas, colon and the capital A, and the remaining 21 letters (amanaplanacanalpanama) read exactly the same backwards. It is the most famous phrase palindrome in English and was coined in the 1940s, when the Panama Canal was a recent engineering marvel. Type it into the checker with the 'ignore spaces and punctuation' toggle on and it passes; switch that toggle off and it fails, because the raw text is not symmetrical.
Can numbers be palindromes?
Yes. A number such as 12321, 45654 or 1001 reads the same in both directions, and dates occasionally are too: 12 February 2021 written as 12/02/2021 is a palindromic date in day-month-year format. With the 'include numbers' toggle on, this checker treats digits as characters to be matched; turn it off and digits are stripped out before the check, which is what you want when a phrase happens to contain a year or a house number.
What is the difference between whole-text and sentence mode?
Whole-text mode treats everything you type as one candidate: the entire string, after your chosen normalisation, must mirror itself. Sentence mode splits your text into individual words and reports which of those words are palindromes on their own — in 'Madam Anna saw a racecar at noon' it would list madam, Anna (case ignored), racecar and noon, while ignoring saw and the other ordinary words. Sentence mode is the quick way to mine a paragraph, a name list or your own writing for hidden palindromes.
Is my text uploaded or stored?
No. The check runs entirely in your browser with a few lines of JavaScript; nothing is sent to a server, logged or stored. You can load this page, disconnect from the internet and keep checking text — it works exactly the same, which is the right arrangement for anything you would not paste into a stranger's website.
Related tools
Examples and tool logic last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.