Text and writing

How to check whether a phrase is a palindrome

Spaces and punctuation can make a phrase look different in reverse. Decide which differences matter before interpreting the result.

Before you start

Text is processed in the browser. Consider the content before using it and read the privacy policy.

Privacy

How to use it

  1. Enter the Portuguese phrase A mala nada na lama! and check it.

  2. Confirm that the tool identifies it as a palindrome.

  3. Replace it with banana and check again: the result is negative.

Palindrome Checker

Worked example

Without spaces or punctuation, the first phrase is compared as amalanadanalama, the same in reverse. Banana becomes banana, whose reverse is ananab.

Result: A mala nada na lama! is a palindrome; banana is not.

Limits and checks

The tool normalizes to NFC and lowercases according to the page language. It ignores spaces and punctuation but retains accents and combining marks attached to letters or numbers. Input without letters or numbers is rejected; limit: 10,000 UTF-16 code units. It does not interpret meaning.

Next step

For composed and decomposed forms, see the Unicode normalization guide.

Why visually similar text can have different Unicode
Back to the blog