Skip to content
TextRuns in your browser

Palindrome Checker

A palindrome checker that tells you whether a word or phrase reads the same backwards, ignoring case and punctuation.

Input
No upload needed — instant
Privacy
Nothing is uploaded
Cost
Free · no sign-up · no watermark

Loading tool…

The tool is loading its code on your device. This happens once and is cached for later visits.

Processed entirely on your device

Everything you type or paste is handled by JavaScript running in this tab. No request is sent, nothing is logged and nothing is stored. Close the page and it is gone.

Overview

About the Palindrome Checker

A free palindrome checker that ignores case, punctuation and spaces, so real phrases like “A man, a plan, a canal: Panama” are tested the way people write them.

A palindrome is a word, phrase, number or other sequence that reads the same backwards as forwards. Single words like “racecar”, “level” and “madam” are the easy cases; the interesting ones are whole sentences that only reveal their symmetry once you look past the punctuation. This palindrome checker tests words and phrases with independent toggles for case, punctuation and space normalisation, so you can check real-world phrases the way people actually write them.

The three normalisations that matter for palindrome checking

Almost every well-known phrase palindrome depends on ignoring something:

Case. “Never odd or even” mixes capitals and lowercase. Comparing case-sensitively would fail, so the default lowercases everything first.

Punctuation. “A man, a plan, a canal: Panama” is full of commas and a colon. Strip the non-letters and the underlying sequence is symmetric.

Spaces. The same phrase only lines up once the word gaps are removed, because the spaces themselves are not positioned symmetrically.

Each of these is an independent switch here. Turn all three on for casual phrase checking; turn them off when a task demands an exact, character-for-character mirror.

What the palindrome checker result shows

Rather than a bare yes or no, the output prints the normalised string and its reverse on two lines. If a phrase fails, lining those two up makes the mismatch obvious — you can see the exact position where the sequence stops mirroring, which is far more useful than a red cross.

Beyond words

Palindromes are not only a linguistic curiosity. Numeric palindromes (12321, 1221) appear in recreational mathematics and date puzzles such as 02/02/2020. Palindromic sequences matter in genetics, where a DNA palindrome is a region whose reverse complement matches itself — the site many restriction enzymes cut. And in computing, “is this string a palindrome?” is a classic first exercise precisely because it forces you to think about normalisation, Unicode and two-pointer comparison.

Whatever the domain, the test is the same: normalise, reverse, compare. This tool does all three in the browser and shows you each step.

A worked example, stage by stage

Take the classic “A man, a plan, a canal: Panama”. With all three toggles on the normaliser runs in a fixed order — spaces first, then anything that is not a letter or a digit, then case:

StageResult
TypedA man, a plan, a canal: Panama
Spaces removedAman,aplan,acanal:Panama
Punctuation removedAmanaplanacanalPanama
Lowercasedamanaplanacanalpanama
Reversedamanaplanacanalpanama

Thirty characters typed, twenty-one compared, and the last two rows are identical. Those final two lines are what the output panel prints, one above the other, so you can check the verdict yourself rather than take it on trust.

What the four palindrome checker counters tell you

Verdict is the plain answer: Palindrome, or Not a palindrome.

Compared is the length of the normalised string — twenty-one in the example above. When this number sits far below the next one, most of what you typed was punctuation and spacing rather than letters.

Original counts the characters you actually typed, walked as code points, so an emoji counts once instead of twice.

Ignored names the toggles currently in force: “case, punctuation, spaces”, or “nothing” when all three are off and you are demanding an exact mirror.

The strict test, and when you want it

Turn every toggle off and the raw characters are compared. Racecar then fails, because a capital R does not mirror a lowercase r, while racecar still passes. That stricter definition is the one a coding-interview question or a unit test usually means, and it is the right setting when you are checking a machine-generated identifier rather than a piece of wordplay.

Why this palindrome checker runs locally

The entire check happens in the page — no request to a server, no upload, no logging. Puzzle answers, competition entries and unpublished wordplay never leave your device. The comparison walks whole code points rather than UTF-16 units, so an accented letter or an emoji is never sliced down the middle. Whether you are checking a single word or a long phrase, the result is instant and private.

Step by step

How to use the Palindrome Checker

  1. Type or paste the word or phrase you want to test.

  2. Leave the ignore-case, ignore-punctuation and ignore-spaces toggles on for everyday phrases.

  3. Read the verdict and the normalised forwards/backwards comparison.

  4. Check the Compared counter to see how many characters survived the normalisation.

  5. Turn the toggles off to demand an exact, character-for-character palindrome.

Why use it

Benefits and common use cases

What this tool is good for, and what it deliberately does not try to do.

Handles real phrases, not just single words

“A man, a plan, a canal: Panama” is only a palindrome once you set aside case, commas and spaces. Each of those normalisations is a separate switch, so you decide how strict the test should be.

Shows its working

Alongside the verdict you see the exact string that was compared and its reverse, so you can confirm why something passed or failed rather than trusting a bare yes or no.

Unicode aware

The comparison walks whole code points rather than UTF-16 units, so an accented letter or an emoji is never sliced down the middle and reversed into a different character entirely.

Private by design

The check happens entirely in the page. Puzzle answers, competition entries and unpublished wordplay never leave your device.

Questions

Frequently asked questions

Short, honest answers about quality, limits and privacy.

What counts as a palindrome?

A palindrome reads the same forwards and backwards. Strictly, that means the exact character sequence is identical when reversed. In everyday use people also ignore case, punctuation and spacing, which is why this tool lets you toggle each of those independently.

Should spaces and punctuation be ignored?

For famous phrases, yes — “Never odd or even” only works when you drop the spaces and capitalisation. For a single word or a coding interview that demands an exact match, turn the toggles off so the raw characters are compared.

Are numbers and emoji supported?

Digits count as ordinary characters, so numeric palindromes such as 12321 and 1221 pass. Emoji are a special case: with “Ignore punctuation” switched on they are dropped along with the commas, because that filter keeps only letters and digits. Switch it off and they are compared as whole code points like anything else.

Why does an empty or single-character input show as a palindrome?

A single character trivially reads the same in both directions, and by the usual definition an empty string does too. This tool reports a non-empty result only once there is at least one character to compare.