Palindrome Checker

Share:

Check if any word, phrase, or sentence is a palindrome instantly. Live results, character-by-character comparison, ignore case and punctuation. Free.

RT-TXT-040 · Text Tools

Palindrome Checker Tool

Type something above to start.
Characters0
Words0
Normalised0
Advertisement
After results · AD-W1 Responsive · Post-tool — peak engagement

How to Use the Palindrome Checker

Type or paste your text

Enter a single word, phrase, or full sentence into the text box. The check runs instantly as you type.

Adjust the ignore options

By default the checker ignores letter case and punctuation, which is how most palindromes are scored. Toggle them off for strict matching.

Read the result

A green tick means it's a palindrome; a red cross means it isn't. The character-by-character comparison highlights matches and mismatches.

Try a famous example

Click the "Try an example" button to cycle through famous palindromes from literature and pop culture.

About the Palindrome Checker

A palindrome is any sequence of characters that reads identically forwards and backwards. The word itself comes from the Greek palin ("again") and dromos ("running") — literally "running back again." Simple word palindromes like level, radar, and kayak are the everyday cases; the more impressive sentence palindromes — "A man, a plan, a canal: Panama", "Madam, in Eden, I'm Adam", "Was it a car or a cat I saw" — only work once you strip out spaces, punctuation, and case. That stripping convention is what most palindrome checkers, including this one, follow by default. Toggle the strict-match options off if you need exact comparison instead.

Palindromes are deceptively rich. In mathematics, a palindromic number reads the same in both directions (1991, 2002, 12321); the famous 196 problem asks whether iteratively reverse-and-adding from 196 ever produces a palindrome (after billions of iterations, it still has not). In biology, a DNA palindrome is a sequence that reads identically when you reverse it and take the complement (A↔T, G↔C) — these palindromic restriction sites are where many restriction enzymes cut DNA, and they're foundational to genetic engineering. In computer science, the "longest palindromic substring" problem is a staple interview question and a classic application of dynamic programming.

"A man, a plan, a canal: Panama" — palindrome attributed to Leigh Mercer, 1948. Read it without spaces and you'll see: amanaplanacanalpanama. Reverse those letters and you get the same sequence back.

— a 75-year-old proof that English palindromes can be poetry

Palindromes across languages

English palindromes are constrained because English uses a 26-letter alphabet with frequency imbalances (E appears five times as often as W). Languages with more even letter distributions, like Finnish or Latin, produce palindromes more easily. The longest single-word palindromes in English are still relatively short — tattarrattat (12 letters, coined by James Joyce in Ulysses) is a widely cited candidate, while Finnish gives us saippuakivikauppias ("soapstone seller") at 19 letters. In Bahasa Malaysia and Bahasa Indonesia, palindromes work cleanly because the orthography is phonemic — phrases like kasur ini rusak ("this mattress is broken") demonstrate sentence palindromes that read naturally. Tamil, with its richer letter inventory, produces some of the longest sentence palindromes documented.

Why we check character-by-character

This tool runs in your browser, with no input sent anywhere. The character-by-character comparison view shows you exactly where a near-palindrome breaks — which letter pair mismatches. This is genuinely useful for puzzle constructors and crossword editors who need to verify their work, students learning about symmetry in language, and programmers practising for interviews. The check handles Unicode properly: Chinese, Japanese, Arabic, and Tamil text all work as long as the characters are well-formed. We do not normalise accented characters (é ≠ e by default) because in some languages they represent distinct phonemes; the strict-match toggle exposes this behaviour explicitly.

For longer texts (we cap at 10,000 characters), the check completes in well under a millisecond on modern hardware. There's no compilation, no virtual DOM, no library — just a tight loop comparing index i from the start with index length − 1 − i from the end. If you're curious, open DevTools and watch the timing. A 10,000-character palindrome check is genuinely cheap.

10 Things to Know About Palindromes

01

The word itself is Greek. Palin ("again") + dromos ("running") = "running back again." Coined in English around 1638.

02

The Sator Square. A 2,000-year-old Latin palindrome — SATOR AREPO TENET OPERA ROTAS — found inscribed at Pompeii. It reads the same in four directions because it's a word square as well as a palindrome.

03

DNA palindromes matter. Restriction enzymes recognise palindromic sites in DNA to cut it precisely — the foundation of recombinant DNA technology and modern biotech. Without them, no CRISPR, no PCR primers, no gene editing as we know it.

04

The 196 problem is unsolved. Take 196, reverse it to 691, add → 887. Reverse 887 to 788, add → 1675. Keep going. After billions of iterations no palindrome has ever appeared. Whether one ever will is an open mathematical question.

05

"Was it a car or a cat I saw" appeared in a 1948 puzzle column and remains one of the most-quoted English sentence palindromes. It works precisely because English allows definite-article omission, which most languages don't.

06

Joyce invented one. James Joyce coined tattarrattat in Ulysses (1922) — onomatopoeia for a knock on the door. At 12 letters it's one of the longest single-word palindromes in a major published novel.

07

02/02/2020 was unique. It was a palindrome date in DD/MM/YYYY, MM/DD/YYYY, and YYYY/MM/DD formats simultaneously — an alignment that won't happen again for thousands of years. Singaporeans on social media kept screenshots.

08

"Longest palindromic substring." The classic interview question can be solved in O(n) time using Manacher's algorithm (1975) — but most candidates only get to the O(n²) dynamic programming solution. Worth practising if you're job-hunting in tech.

09

Bahasa palindromes flow easily. Because Bahasa Indonesia and Bahasa Malaysia use phonemic spelling, palindromic phrases like kasur ini rusak ("this mattress is broken") work without contortion. English palindromes need much more massaging.

10

This tool runs locally. Your text never leaves your browser. We don't log inputs, we don't analyse content, we don't even send analytics on what you type. Open DevTools and watch — only static assets load.

Frequently Asked Questions

  • A palindrome is a sequence of characters that reads identically forwards and backwards. Single words like "level", "radar", "kayak", and "rotator" are simple palindromes. Sentence palindromes such as "A man, a plan, a canal: Panama" work once you strip out spaces, punctuation, and case differences — which is the standard convention this tool follows by default.
  • By default no — they're ignored, which is the standard "literary palindrome" convention. Sentence palindromes like "Was it a car or a cat I saw" only work this way. Toggle "Ignore spaces & punctuation" off if you need strict exact-match checking instead, for example when verifying number palindromes or strict word puzzles.
  • By default no. "Racecar" and "racecar" both count as palindromes. Toggle "Ignore case" off if you need strict case-sensitive matching — useful for code-related palindromes where letter case matters.
  • 10,000 characters, which handles essentially any palindrome you would encounter in practice. The check runs in your browser instantly even at maximum length — under one millisecond on modern hardware.
  • No. Everything runs locally in your browser. No upload, no server-side processing, no analytics on what you type. You can verify this in DevTools: only the static asset bundle loads, nothing else. Safe for sensitive text and private notes.
  • Yes. Chinese, Japanese, Tamil, Thai, Arabic, and other scripts all work as long as the characters are well-formed Unicode. The check compares characters by their code points. Bahasa Malaysia and Bahasa Indonesia work particularly well because their phonemic spelling produces clean palindromes.
  • Yes, they work the same way. 12321, 1991, and 2002 are palindromes. Famous examples: 02/02/2020 was a palindrome date in DD/MM/YYYY, MM/DD/YYYY, and YYYY/MM/DD formats simultaneously. Mathematicians call any number that reads the same forwards and backwards a "numeric palindrome."
  • In molecular biology, a DNA palindrome is a sequence that reads the same forwards on one strand as backwards on the complementary strand (A pairs with T, G pairs with C). These palindromic sites are where most restriction enzymes cut DNA, making them foundational to genetic engineering, PCR, and CRISPR. This tool doesn't implement biological complement matching — it does pure character comparison.
  • No, by default we treat é, è, and e as different characters because in many languages they represent distinct phonemes (and thus different sounds in a palindrome). If you want unaccented matching, normalise your text before pasting it in — most text editors offer a "remove diacritics" command.
  • Yes — palindrome detection is in the public domain, the algorithm is trivial, and any output from this tool is yours to use however you like. We just supply the check; the words, phrases, and verified palindromes you discover belong to you.
Advertisement
After how-to · AD-W2 Responsive

Related News

You may be interested in these recent stories from our newsroom.

View all news →
Advertisement
Pre-footer · AD-W3 728 × 90

75 more free tools

Calculators, converters, security tools — no signup.