✍️ Text & Writing

Palindrome Checker

Find out if text reads the same forwards and backwards.

  • Yes / Noinstant answer
  • Longestpalindrome inside
  • Ignorecase & punctuation
  • Reversedview

—

Longest palindrome inside—
Its length—
Reversed—

How to use the Palindrome Checker

  1. 1

    Type a word, number or sentence

    For example “Never odd or even”.

  2. 2

    Choose what to ignore

    Case, and spaces and punctuation (both on by default).

  3. 3

    Read the answer

    Plus the exact characters compared.

  4. 4

    See the longest palindrome

    Found inside any text, with its length.

Features

Instant check

Yes or no as you type.

Longest inside

Finds hidden palindromes.

Ignore case

Racecar = racecaR.

Ignore punctuation

Sentence palindromes work.

Reversed text

Shown for comparison.

Numbers and dates

12321, 22/02/2022.

Who uses it — and for what

Students

Programming and English homework.

Coding interviews

Check your own solutions.

Word games

Puzzle creation.

Date fun

Find palindrome dates.

What is a palindrome?

A palindrome reads the same forwards and backwards. Single words like level, radar, racecar and madam are palindromes, as are numbers like 12321 and dates such as 22/02/2022. Sentence palindromes usually ignore spaces, punctuation and capital letters — “A man, a plan, a canal: Panama”, “Was it a car or a cat I saw?” and “Never odd or even” all work once those are stripped. The checker lets you choose whether to ignore case and punctuation.

Longest palindrome inside your text

Even when the whole text isn’t a palindrome, it usually contains one. The tool searches for the longest palindromic run of characters using the expand-around-centre method — a classic coding-interview problem — and shows it with its length. It is a fun way to explore words (“banana” hides “anana”), DNA sequences, where palindromic patterns mark enzyme cutting sites, and puzzle answers.

Palindromes in Hindi and numbers

Hindi words like “कनक” and “जलज” read the same both ways too. Number palindromes appear on vehicle plates and in maths puzzles: take any number, add its reverse, and repeat — 57 + 75 = 132, 132 + 231 = 363, a palindrome. Most numbers reach one within a few steps.

How the checker cleans your text

With both options on, the text goes through four steps before it is compared:

  1. Accents are split off and dropped — é becomes e, ü becomes u.
  2. Everything that is not a letter or digit is removed — spaces, punctuation, symbols and emoji. Letters from any script count, so Hindi, Tamil or Russian words work.
  3. Text is lowercased.
  4. The text is split into visible characters and compared with its own reverse, so an emoji or a Hindi syllable with its vowel sign is treated as one unit.

One side effect is worth knowing for Indian languages: vowel signs (matras) are classed as marks, not letters, so step 2 removes them. “काक” is checked as कक and passes, which matches how it sounds (kaak) though not how it is written. Untick “Ignore spaces & punctuation” to compare the written syllables instead — “मलयालम” still passes that stricter check.

The Reversed box always shows your original text backwards, punctuation included (“Was it a car?” → “?rac a ti saW”), while the result line uses the cleaned version.

Palindrome dates you can still catch

Dates are a favourite source of palindromes, but whether a date qualifies depends on how you write it. Checking every day from 2027 to 2035 gives only these:

DateDD/MM/YYYY (India, UK)MM/DD/YYYY (US)YYYY-MM-DD (ISO)
3 February 203003022030 ✓——
2 March 2030—03022030 ✓20300302 ✓
13 February 203113022031 ✓——
23 February 203223022032 ✓——

Type any date with its slashes into the checker; the slashes are ignored, so “23/02/2032” is compared as 23022032.

Worked examples

A sentence palindrome

“Never odd or even” → compared as neveroddoreven → Yes, it’s a palindrome (14 characters).

A sentence that only contains palindromes

“My mom said wow at noon” → not a palindrome, but the longest palindrome inside is noon (4 characters).

One phrase, four settings

“Step on no pets” with each combination of the two options:

Ignore caseIgnore spaces & punctuationComparedResult
OnOnsteponnopetsPalindrome
OffOnSteponnopetsNot — capital S vs small s
OnOffstep on no petsPalindrome — the spaces mirror too
OffOffStep on no petsNot a palindrome

A French classic with accents

“Ésope reste ici et se repose” → compared as esoperesteicietserepose → Yes (23 characters). The accent on É is removed along with the spaces, which is exactly how puzzle-makers treat accented palindromes.

Pro tips

  • Turn off “Ignore spaces & punctuation” for a strict character-by-character check.
  • Use the Text Reverser to write your own.
  • A word that spells a different word backwards, like “stressed” and “desserts”, is not a palindrome — use the Anagram Checker or the Text Reverser for those.
  • If the result surprises you, read the “Compared” line under it: it shows exactly which characters were checked.

Glossary

Palindrome
Text that reads the same forwards and backwards.
Expand-around-centre
An algorithm that finds the longest palindrome inside text.
Semordnilap
A word that becomes a different word when reversed, such as stressed → desserts.
Grapheme cluster
What a reader sees as one character, even if it is stored as several code points.
Matra
A vowel sign attached to a consonant in Devanagari and related scripts.

Frequently asked questions

Is “racecar” a palindrome?

Yes — it reads the same in both directions.

Do spaces count?

Not by default; untick the option to require an exact match.

What is the longest English palindrome word?

“Tattarrattat”, coined by James Joyce, is often cited; “rotavator” is a common dictionary example.

Is a single letter a palindrome?

Yes — technically any single character is.

Why does “stressed” fail when it spells a word backwards?

A palindrome must read as the same word in both directions. “Stressed” reversed is “desserts”, a different word, so it is a semordnilap rather than a palindrome.

Why does the Reversed box still show punctuation?

It reverses your original text so you can see it backwards exactly as typed. The yes/no answer uses the cleaned version shown on the Compared line.

Are numbers with commas, like 1,221, checked?

Yes. With spaces and punctuation ignored, 1,221 is compared as 1221, which is a palindrome.

Found it useful? Share the Palindrome Checker:

Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of Text & Writing (36 tools)