Compare a normalized string with its code-point reversal to test phrase or number symmetry.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The source can be lowercased and stripped of whitespace, ASCII-oriented punctuation, and digits before Unicode code points are reversed. Equality is exact after those selected normalizations.
A man, a plan, a canal: Panama
Is palindrome: yes Normalized: amanaplanacanalpanama Reversed: amanaplanacanalpanama
Classroom exercises normalize phrase palindromes, puzzle solvers check candidates, and tests verify ASCII reversal routines.