Quick Work Studio logo Quick Work Studio

Text Tools

Palindrome Checker

Check whether a word, phrase or number reads the same forwards and backwards, ignoring spaces, punctuation and capitals.

About the Palindrome Checker

The Palindrome Checker tells you whether a word, phrase or number reads the same forwards and backwards. Letter tiles show each mirrored pair, with any mismatches in red, and it suggests the shortest ending that would turn your text into a palindrome. You can choose whether spaces, punctuation and capitals count.

What you can do with the Palindrome Checker

Famous examples

Single words like "racecar", "level" and "madam"; phrases like "A man, a plan, a canal: Panama" and "Was it a car or a cat I saw?"; and numbers like 12321. Dates can be palindromes too: 22 February 2022, written 22022022, reads the same both ways. Tap an example to try it.

How the check works

By default everything except letters and digits is removed, the remaining text is lowercased, and the result is compared with its own reverse. Switch off either option for a strict check, where "Racecar" with a capital R would not count.

Any language

Letters from any alphabet are compared, so words in Hindi, accented European words and other scripts are checked too.

Related tools

Frequently Asked Questions

Do spaces and punctuation matter?

Not by default, so whole sentences can count as palindromes. Switch off "Ignore spaces & punctuation" to include them.

Can numbers be palindromes?

Yes, 121, 1331 and 12321 are all palindromic numbers.

What's the longest palindromic word in English?

"Tattarrattat", a word coined by James Joyce in Ulysses, is often cited as the longest.

What is a palindrome? Give some examples.

A palindrome reads the same forwards and backwards. Words like madam, level, racecar and malayalam are palindromes, as are phrases like "Never odd or even" once spaces and capitals are ignored, and numbers like 12321.

What is a palindrome date?

A date whose digits read the same both ways. In the Indian day-month-year format, 22-02-2022 gives 22022022, which is a palindrome, and so does 12-02-2021. Type the digits without dashes to check any date.

How does "Turn it into a palindrome" work?

It finds the longest part at the end of your text that is already a palindrome, then adds the reverse of the remaining start. For "hello" the ending "o" is a palindrome, so "lleh" is added to give "hellolleh".

Why is "A man, a plan, a canal: Panama" not a palindrome for me?

With "Ignore spaces & punctuation" or "Ignore capitals" switched off, the commas, spaces, colon and capital letters are compared too, so the phrase fails. Switch both options on and it is compared as "amanaplanacanalpanama", which is a palindrome.

What do the red and green tiles mean?

Each letter is paired with its mirror from the other end. Green pairs match and red pairs do not, and in an odd-length word the middle letter is marked separately because it has no partner. Text over 30 characters is still checked but not drawn.

Is "stressed" and "desserts" a palindrome?

No. Reversing "stressed" gives a different word, "desserts", so neither is a palindrome. Words like this are called semordnilaps. A true palindrome turns into itself when reversed, as "refer" does.

How do you check a palindrome in a program?

Clean the string the same way this tool does, then compare it with its reverse, or move two pointers inward from both ends and stop at the first mismatch. The two-pointer method needs no extra copy and is a common interview answer.

Does a palindrome need an odd number of letters?

No. Odd-length palindromes like racecar have a middle letter that matches itself, while even-length ones like noon or abba pair every letter. Even a single letter counts as a palindrome, since it reads the same both ways.

Related tools

One studio. 96 tools.
Zero installs.

Browse by category
All tools
Guides & articles
CalculatorsHow Much Electricity Do Your AC, Geyser and Fans Really Use?Turn the watts on an appliance label into units and rupees, see which appliances actually drive your bill, and find the easy savings. CalculatorsWhich Pack Is Really Cheaper? How to Compare Unit PricesBigger packs aren't always better value. A simple way to compare price per kg, per litre or per piece, plus the shopping traps to watch for. CalculatorsHow to Calculate Your Exact Age "As On" a Date for Exam FormsRecruitment notices ask for your age as on a cut-off date. Here's how to count it correctly in years, months and days, and the cases that trip people up. Text ToolsHow Many Words Is That? Word and Character Limits ExplainedHow many words fit on a page, how long a speech takes, and the character limits for posts, meta descriptions and SMS, with tips for cutting to fit. CalculatorsSIP vs Lumpsum: Which Builds More Wealth?How monthly SIPs and one-time lumpsum investing really compare, when each one wins, and why most people should not agonise over the choice. CalculatorsUnderstanding Your Salary: CTC, Gross and In-HandWhy your offer letter number is bigger than what lands in your account, what CTC really includes, and how to compare job offers fairly.

All articles →

Every tool on Quick Work Studio, free and in your browser. Prefer reading first? See the guides or full directory.