text_palindrome_checker
Identify if text reads the same forwards and backwards (palindrome), with word-by-word analysis and options to ignore case, spaces, and punctuation.
Instructions
Palindrome Checker. Check whether text reads the same forwards and backwards, at the whole-string level and per individual word, with options to ignore case, spaces, and punctuation. Use this to detect palindromes (for example racecar, or A man a plan a canal Panama) and to list which words in a phrase are palindromic; use text_reverse_text instead when you only need to flip text without a same-forwards-backwards verdict, or text_anagram_generator to rearrange letters. Runs locally on the text you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests per minute for anonymous callers). Returns an isPalindrome boolean, the processed and reversed strings, the palindrome center, per-word analysis, and summary statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to test for palindrome (must not be blank). Whitespace, case, and punctuation are handled per the options below. | |
| caseSensitive | No | When true, uppercase and lowercase letters are treated as distinct; when false (default) the comparison is case-insensitive. | |
| ignoreSpaces | No | When true (default) all whitespace is stripped before comparison, so spaced phrases can still qualify; when false spaces must mirror. | |
| ignorePunctuation | No | When true (default) punctuation and symbols (anything that is not a letter, digit, or space) are stripped before comparison; when false they must mirror. | |
| analyzeWords | No | When true (default) each whitespace-separated word is also tested individually and reported under wordAnalysis; when false only the whole-string verdict is computed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the check succeeded. | |
| result | No | Whole-string palindrome verdict and the strings it was derived from. | |
| wordAnalysis | No | Per-word results, present only when analyzeWords is true. | |
| palindromicWords | No | Subset of wordAnalysis whose entries are palindromes. | |
| nonPalindromicWords | No | Subset of wordAnalysis whose entries are not palindromes. | |
| statistics | No | Aggregate counts over the input and the per-word analysis. | |
| options | No | The effective options after defaults were applied. |