Palindrome Checker
Palindrome Checker Tool
Folded in half: first character over last, second over second-last
Compared:
Twelve ways to write it
Separators are dropped; only the digits are compared. Previous and next are the nearest palindromic dates in that order, searched from year 1000 to 9999.
| Order | Written · digits | Verdict | Previous | Next |
|---|
Under each place's default short date pattern
The default short date pattern Unicode CLDR 48 records for each locale: the one many apps and operating systems start from when they write a date in short form. Phones, calendars and their users often show something else, and none of it is a government rule. Thailand's row is written with the Buddhist year, the calendar CLDR lists first there.
| Place | Pattern | Written · digits | Verdict | Next | In 2000–2099 | After the last |
|---|
Every palindromic date of 2000–2099, by order
One dot per date; hover or tap a dot for it. The dark line is the date you picked. Across the twenty locale defaults the same hundred years hold 9 to 322 palindromic dates.
| Order | Pattern | Dates | First | Last | Longest gap inside | Between | After the last |
|---|
All three eight-digit orders at once, 2000–2099:
All three at once, years 1000–9999:
Date patterns: Unicode CLDR 48, © Unicode, Inc., used under the Unicode License v3. Dates before 1582 are proleptic Gregorian (the calendar run backwards), not the calendar people used. "Today" is the date in Singapore.
How to Use the Palindrome Checker
Type, paste or pick an example
The verdict updates as you type. The examples include Chinese, Japanese, Korean, Greek and Finnish, plus two that look like palindromes and are not.
Read where it breaks
The fold view puts the first character over the last, the second over the second-last, and so on. A red pair is where the two halves stop agreeing; the outlined one is the first.
Switch to Dates for a date
Pick a date, or start from today in Singapore. You see it in twelve written orders and under twenty places' default short date patterns, with the nearest palindromic date before and after it in each, and every palindromic date of the century on one timeline.
What the checker compares
A palindrome reads the same forwards and backwards: level, kayak, or a sentence such as "A man, a plan, a canal: Panama" once its spaces, punctuation and capitals are set aside. That setting-aside is the usual convention and the default here; turn either option off for an exact match.
The harder question is what counts as one character. This checker compares characters as a reader sees them, which Unicode calls extended grapheme clusters (UAX #29, Unicode Text Segmentation), after composing the text to Unicode's NFC form (UAX #15). In practice that means:
- Vowel signs and tone marks stay with their letter. Tamil காக is not a palindrome, because கா is one character and க another; the same goes for Hindi कीक and Thai ก่าก.
- Accents count. été is a palindrome and éte is not, whether the é was typed as one code point or as e plus an accent.
- Korean and Japanese typed in decomposed form still work. Without the NFC step, 토마토 pasted from some Mac apps reads as not a palindrome.
- Greek final sigma is folded. ΣΟΣ lower-cases to σος, where the last letter is ς; with "Ignore case" on, ς and σ compare equal.
- Emoji and flags are whole characters. 👍🏽 is two code points and one character. 🇸🇬🇬🇸 is Singapore's flag then South Georgia's, not a palindrome.
- Arabic vowel marks count too. Some puzzle conventions ignore harakat; if yours does, remove them before pasting.
Dates: the same day, nine palindromes or 322
A date is only a palindrome as it is written. 7 November 2026 is 07112026 day first, 11072026 month first and 20261107 year first, and none of those reads the same backwards. Counted over every day from 2000 to 2099, this checker finds 29 palindromic dates written day first with zeros (DDMMYYYY), 12 month first (MMDDYYYY) and 12 year first (YYYYMMDD). Only 2 February 2020 was a palindrome in all three; the next is 12 December 2121. The month-first and day-first counts (12 plus 26 more without leading zeros, and 29 plus 9) were published earlier by Aziz Inan of the University of Portland, as reported by Live Science and in the Farmers' Almanac piece he co-wrote, which also covers year-first order and calls a date that works in every format "ubiquitous"; our enumeration agrees with his counts exactly.
Written with zeros, month-first and year-first always pick out the same dates, in any years: both are palindromes exactly when the month and day, written MMDD, are the year reversed. Day-first is a different rule, which is why every one of the 29 falls in February and every one of the 12 falls on the 2nd of a month.
The count moves much more under the default short date patterns in Unicode CLDR, the data most software formats dates from (pattern letters per UTS #35, Part 4). Run from 2000 to 2099, the twenty locale defaults on this page give anything from 9 palindromic dates (Hong Kong's d/M/y) to 322 (Singapore English's d/M/yy). Singapore's four official languages alone disagree: English 322, Tamil 322, Malay 129 (d/MM/yy) and Chinese 30 (dd/MM/yy). Malaysia's defaults run from 10 for Chinese (y/M/d) to 322 for Tamil. Thailand's default is written with the Buddhist year, the Gregorian year plus 543, which gives 321. These are software defaults, not a rule any government sets.
The longest gaps inside 2000 to 2099 come in ties. Day first with zeros, nine separate gaps last 2,903 days each, one per decade; month first, three last 3,684 days. Some defaults wait far longer, across the end of the range: Hong Kong's d/M/y had its last palindromic date on 9 October 2019 and its next is 10 January 2101, 29,678 days later, and the y/M/d default of China, Taiwan and Malaysia's Chinese locale has none left before 2100, waiting 29,312 days from 2 October 2019 to 2 January 2100. Counted as 2001 to 2100 instead, that 2 January 2100 brings the China and Taiwan default to 11.
Numbers that never turn into palindromes
Reverse a number and add it to itself: 196 + 691 = 887, then 887 + 788 = 1675, and so on. Nobody has found a step at which 196 turns into a palindrome, and nobody has proved it never will. MathWorld's "196-Algorithm" entry records John Walker stopping at a million digits in 1990, and Wade VanLandingham at 724,756,966 iterations by 1 May 2006: hundreds of millions of steps, none of them a palindrome.
Dates that work in every order, Joyce's knock and the 196 loop
Eleven dates in nine thousand years. From year 1000 to 9999 only 11 dates are palindromes in DDMMYYYY, MMDDYYYY and YYYYMMDD at once: 1 January 1010, 11 November 1111, 2 February 2020, 12 December 2121, then 3 March 3030 and one in each thousand years after, to 9 September 9090. The Dates tab lists them.
Drop the zeros and the palindromes stop in 2019. Written D/M/YYYY, with no leading zeros, 2000 to 2099 has 9 palindromic dates, all between 1 October 2011 and 9 October 2019. The next is 10 January 2101.
Joyce's knock. Ulysses has "his tattarrattat at the door": 12 letters, a palindrome (Project Gutenberg eBook #4300).
A linear-time answer. Finding palindromes inside a longer string can be done in time proportional to its length: Glenn Manacher's algorithm, J. ACM 22(3), 1975. A yes-or-no check like this one only needs to walk in from both ends.
Two-digit years cluster in November. Written DDMMYY, all 30 palindromic dates of 2000 to 2099 fall in November, from 10 November 2001 to 29 November 2092.
Frequently Asked Questions
-
A sequence that reads the same forwards and backwards. Words such as "level", "radar" and "kayak" are palindromes as written; sentences such as "A man, a plan, a canal: Panama" become one once spaces, punctuation and capitals are set aside, which is what this checker does by default.
-
Not by default. Turn off "Ignore spaces & punctuation" to compare every character, spaces included. With it on, a character is dropped only if it holds no letter, digit or emoji, so letters with accents or vowel signs are always kept.
-
Not by default: "Racecar" passes. Turn off "Ignore case" for an exact match. Folding case also treats the Greek final sigma ς as σ, so ΣΟΣ passes.
-
Yes. It compares characters as you see them on screen (Unicode grapheme clusters), not raw code points. 上海自来水来自海上 is a palindrome. Tamil காக is not, because கா is one character. Thai tone marks and Arabic vowel marks count as part of their letter. An emoji with a skin tone, or a flag, is one character, so 🇸🇬🇬🇸 is not a palindrome.
-
No. é, è and e are different characters here, because in many languages they are different letters. If your puzzle ignores accents, remove them before pasting. Text typed in decomposed form (e followed by a combining accent) is composed first, so é typed either way counts the same.
-
It depends on how the date is written. From 2000 to 2099 there are 29 in day-month-year with zeros (DDMMYYYY), 12 in month-day-year (MMDDYYYY) and the same 12 in year-month-day (YYYYMMDD). Under the default short date patterns of the twenty locales the Dates tab shows, the count runs from 9 to 322. Counting 2001 to 2100 instead changes one of them: China's and Taiwan's y/M/d gains 2 January 2100. Switch to the Dates tab to see every one.
-
Only the digits are compared. 02/02/2020 gives 02022020, which reads the same backwards; 2/2/2020 gives 222020, which reversed is 020222. The Dates tab shows each order's digits side by side.
-
The date in Singapore, for every visitor. Someone in New York at 9 pm is already on the next day here.
-
A DNA sequence that equals its own reverse complement: swap A with T and G with C, then read it backwards. GAATTC is one, since its complement CTTAAG reversed is GAATTC again. This checker compares letters only, so it reports GAATTC as not a palindrome.
-
No. The check runs in your browser and the text you type is not sent anywhere. The page itself, like every page on this site, loads analytics, error-reporting and advertising scripts, subject to your cookie choices; none of them reads the text box.
-
10,000 characters.
Method & sources
How it computes
Composes the text to Unicode NFC, splits it into user-perceived characters (UAX #29 grapheme clusters), optionally folds case (ς as σ) and drops characters with no letter, digit or emoji, then compares each character with its mirror. Dates: the digits of 12 written orders and 20 CLDR 48 locale default short patterns (Thailand in the Buddhist year), every day 1000-9999 enumerated (proleptic Gregorian); today is the Singapore date.
What this tool implements
- Until 2026-09-27 the punctuation filter was [^a-z0-9], which deleted every non-ASCII letter. Corrected 2026-11-07: the text is composed to NFC and compared by grapheme cluster, and a character is dropped only if it holds no letter, digit or emoji. The 2026-09-27 filter [^\p{L}\p{N}] had deleted combining marks (Tamil காக, Hindi कीक and Thai ก่าก read as palindromes), and code-point comparison failed decomposed Korean and split flags; Greek final sigma now folds to σ.
- Manacher (1975) finds palindromic structure in linear time; this tool needs only the simpler two-pointer check for a yes/no answer.
- 02/02/2020 was a palindrome in DD/MM/YYYY, MM/DD/YYYY and YYYY/MM/DD at once; the next such date is 12 December 2121 (checked by enumerating every date).
- Dates (2026-11-07): every day from 1000-01-01 to 9999-12-31 is rendered in 12 orders and 20 CLDR 48 default short patterns (Thailand in the Buddhist year, +543) and its digits compared. 2000-2099 holds 29 DDMMYYYY, 12 MMDDYYYY and the same 12 YYYYMMDD palindromic dates, and 9 to 322 under the locale defaults; Aziz Inan's published counts (12 + 26 month-first, 29 + 9 day-first) are reproduced exactly.
Sources
- Manacher G. A New Linear-Time "On-Line" Algorithm for Finding the Smallest Initial Palindrome of a String. J ACM. 1975;22(3):346-351. https://doi.org/10.1145/321892.321896
- Unicode Standard Annex #29, Unicode Text Segmentation (extended grapheme clusters). https://www.unicode.org/reports/tr29/
- Unicode Standard Annex #15, Unicode Normalization Forms (NFC). https://www.unicode.org/reports/tr15/
- Unicode CLDR 48.0.0, cldr-json: dateFormats.short per locale and calendarPreferenceData (Unicode License v3). https://github.com/unicode-org/cldr-json
- Live Science. Palindrome Dates in the 21st Century (Aziz Inan's month/day/year count). https://www.livescience.com/33583-palindrome-dates-21st-century-w…