Skip to content
1001 Tools
sr
Text tools

Palindrome Checker

Type a word or phrase and instantly find out whether it’s a palindrome — the same read forwards and backwards. By default it ignores case, spaces and punctuation, so full sentences count; switch that off for a strict, character-exact check. It works with Serbian diacritics too.

Enter a word or phrase to check.

Loose mode compares only letters and digits. Turn it off for an exact, character-for-character check.

How it works

In the default “loose” mode the text is lower-cased and everything except letters and digits is stripped, then compared with its reverse. That’s why a phrase like “A man, a plan, a canal: Panama” counts — the spaces, comma and colon are ignored. The reversal is done by Unicode code point, so accented letters such as š and č flip cleanly.

Turn off loose mode for a strict check that compares the text exactly as typed, including spaces, punctuation and case. Under strict rules “racecar” is a palindrome but “Racecar” is not, because the capital R doesn’t match the final lowercase r.

Practical examples

A classic phrase

“A man, a plan, a canal: Panama” is a palindrome in loose mode — ignoring punctuation and case reveals the mirror pattern.

A Serbian palindrome

“Ana voli Milovana” reads the same both ways once spaces are ignored — a well-known Serbian example.

Not a palindrome

“hello” reversed is “olleh”, so it’s reported as not a palindrome, and you can see the compared string below the answer.

Frequently asked questions

What exactly is a palindrome?

A word, number or phrase that reads the same backwards as forwards — like “level”, “12321”, or “Ana”. Longer palindromic sentences work by ignoring spaces and punctuation.

What does loose mode ignore?

Case, spaces, punctuation and any symbol — it compares only letters and digits. This is what lets whole sentences qualify as palindromes.

When should I use strict mode?

Use it when spacing and case matter, for example checking a specific string or code exactly as written. In strict mode nothing is normalised: every character, including capitals and spaces, must mirror.

Does it work with Serbian letters?

Yes. Diacritic letters like č, ć, š, ž and đ are handled correctly because the check reverses text by Unicode code point rather than byte, so they aren’t split or garbled.

Are numbers considered?

Yes. Digits count as characters, so “12321” is a palindrome and “2026” is not. In loose mode digits are kept while punctuation is dropped.

What does the “compared” line show?

It shows the normalised string the tool actually tested — useful for understanding why a phrase did or didn’t qualify, especially in loose mode where spaces and punctuation are removed.

Is a single letter a palindrome?

Yes. Any single character reads the same in both directions, so one-letter inputs are palindromes. Empty or symbol-only inputs have nothing to compare and aren’t counted.

Is my text sent anywhere?

No. The check runs entirely in your browser, so nothing you type leaves your device.

Related tools