Palindrome Checker - Is It a Palindrome?

Check if any word, phrase, or sentence reads the same forwards and backwards. Ignores spaces and punctuation automatically.

Runs in your browser. No data leaves your device.

About this tool

Checks whether a word, number or phrase reads the same forwards and backwards. Spaces, punctuation and letter case are ignored. Use it for word games, puzzles or teaching.

Features
  • Removes accents, spaces and punctuation and lowercases, keeping letters of any script and digits
  • Compares the cleaned text with its reverse and shows Palindrome or Not a Palindrome
  • Shows the cleaned text and the reversed text side by side, each with copy and pipeline buttons
  • Example buttons (above the result): racecar, A man a plan a canal Panama, Was it a car or a cat I saw, Never odd or even, hello world
  • Live result as you type
How to use it
  1. Type or paste text (or click an example).
  2. Read the Palindrome or Not a Palindrome verdict.
  3. Compare the cleaned and reversed versions to see where they differ.
Inputs
  • Any text or number
Outputs
  • Palindrome verdict, cleaned text and reversed text
Limits and notes
  • Checks the whole input as one string; it does not find palindromes inside longer text.
  • Text is not saved and nothing is uploaded.

Frequently Asked Questions

How does the Palindrome Checker work?

The tool removes accents, spaces and punctuation (letters of any alphabet and digits are kept), converts the text to lowercase, then compares the cleaned string with its reversed version (using Array.reverse()). If the forward and reversed strings are identical, the input is a palindrome. The comparison ignores spaces, punctuation, and case so phrases like "A man, a plan, a canal: Panama" are correctly detected.

What is a palindrome?

A word, phrase, or sentence that reads the same forwards and backwards. Examples include "racecar", "madam", and "A man a plan a canal Panama" (ignoring spaces and punctuation).

Does it ignore spaces and punctuation?

Yes. The checker strips spaces, punctuation, and capitalization before comparing. This means phrases like "Was it a car or a cat I saw?" are correctly identified as palindromes.

Can I check numbers too?

Yes. Numbers like 12321, 1001, and 45654 are palindromes. The tool works with any text input including numbers, letters, and mixed content.