Skip to content

Menu

Palindrome Checker

Check if a word or phrase is a palindrome.

Runs entirely in your browserText & DiffFree, no sign-up
Loading tool

01What is Palindrome Checker?

Type a word, phrase or number and the checker tells you right away whether it reads the same forwards and backwards. It applies the relaxed rules people use for phrase palindromes, and there are no settings to change. Case is ignored. Accents are stripped, so É counts as a plain e. Anything that is not a letter or digit gets dropped, including spaces, commas, colons, apostrophes and emoji. The check itself is short. Your text is first decomposed with Unicode NFD, which splits an accented letter into its base letter plus a combining mark. The marks are removed, the text is recomposed with NFC and lowercased, and then everything outside the Unicode letter and number categories is filtered out. The cleaned string is split into grapheme clusters with the browser's Intl.Segmenter, reversed, and compared with itself. Because the filter uses Unicode categories rather than a-z, letters from any script count. The Korean 토마토 passes, and so does the Russian "А роза упала на лапу Азора". Two panels show the working. Normalized Text is the exact string that was compared, which is the quickest way to see why a phrase did or did not pass. Reversed (full text) is your original input flipped by grapheme cluster, punctuation and all. That keeps emoji, flags and accented letters whole instead of splitting them into broken code points. Both panels have copy buttons, and a Famous Palindromes list gives you a few phrases to try. A quick worked example. Paste "Madam, I'm Adam" and you get the green Palindrome! badge. Normalized Text shows madamimadam, and the full reversal reads madA m'I ,madaM. Try "racecar 🏎️" and it still passes, because the car emoji is not a letter and is ignored for the comparison. The reversed panel keeps the emoji intact at the front. There are honest limits. Input with no letters or digits left after cleaning, such as "!!!", is reported as not a palindrome. The tool works character by character, so it cannot check word-level palindromes like "fall leaves after leaves fall". There is also no strict mode. If your kata needs case or punctuation to matter, you will have to compare the raw string yourself. All the checking happens in your browser tab, so the phrase you type is never uploaded.

Students practising string algorithms and developers writing test cases for a palindrome function use it to confirm the expected answer and see the normalized string. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Palindrome Checker

  1. Type or paste a word, phrase or number into Enter Text
  2. Read the green Palindrome! or red Not a Palindrome result
  3. Check Normalized Text to see exactly which characters were compared
  4. Look at Reversed (full text) for the original input flipped with punctuation kept
  5. Copy either panel with its copy button, or Reset to start again

03Worked examples

Input: Was it a car or a cat I saw?
Result: Palindrome! (Normalized Text: wasitacaroracatisaw)
Spaces, the question mark and capital letters are ignored.
Input: Madam, I'm Adam
Result: Palindrome! (Normalized Text: madamimadam; Reversed: madA m'I ,madaM)
The reversed panel keeps the punctuation in place.
Input: Ésope reste ici et se repose
Result: Palindrome! (Normalized Text: esoperesteicietserepose)
É is compared as e because accents are stripped.
Input: racecar 🏎️
Result: Palindrome! (Normalized Text: racecar; Reversed: 🏎️ racecar)
The emoji is ignored in the check but stays whole in the reversal.
Input: palindrome
Result: Not a Palindrome (Reversed: emordnilap)
Input: !!!
Result: Not a Palindrome
Nothing is left after cleaning, and an empty result never counts.

04Common use cases

  • Checking expected output while writing an isPalindrome function for a coding interview or kata
  • Building test cases with punctuation, accents and mixed case for a string utility
  • Verifying a multi-word wordplay answer before putting it in a puzzle or quiz
  • Seeing exactly how a phrase is normalized before comparison when your own checker disagrees
  • Testing a palindrome in a non-Latin script such as Korean or Cyrillic
  • Getting a grapheme-safe reversal of text that contains emoji or accented letters

05Tips

  • The two-pointer approach (compare the first and last characters, then move inwards) checks a palindrome in O(n) time and O(1) extra space.
  • Normalize before comparing in your own code. é can be stored as one code point or as e plus a combining accent, and the two are not equal until normalized.
  • Reversing a JavaScript string with split('').reverse() breaks emoji made of surrogate pairs. Intl.Segmenter keeps them whole.
  • Emoji and symbols are dropped from the comparison here, so a test case like "a😀a" passes. Expect a stricter checker to disagree.
  • Interview prompts often say "consider only alphanumeric characters". That matches this tool, except that it also strips accents.

06Related concepts

Palindrome, Unicode normalization, Grapheme clusters, Two-pointer technique.

Frequently Asked Questions

What is Palindrome Checker?

Palindrome Checker is a free, browser-based developer tool on AIDToolStack. Check if a word or phrase is a palindrome. It requires no installation or sign-up and works entirely in your browser.

Is Palindrome Checker free to use?

Yes. No sign-up, no fees and no usage cap.

Does Palindrome Checker store my data?

No. It runs in your browser; nothing is uploaded.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe