🔄 Palindrome Checker

📝
Text will be analyzed for palindrome patterns according to your settings
⚙️
⚡
🏷️
Case Sensitive: {{ caseSensitive ?'Yes' :'No' }}
Ignore Spaces: {{ ignoreSpaces ?'Yes' :'No' }}
Ignore Punctuation: {{ ignorePunctuation ?'Yes' :'No' }}
Word Analysis: {{ analyzeWords ?'Enabled' :'Disabled' }}
{{ result.isPalindrome ?'✅' :'❌' }}
Original:
{{ result.originalText }}
Processed:
{{ result.processedText }}
Reversed:
{{ result.reversedText }}
Center:
Position {{ result.centerInfo.position }}: {{ result.centerInfo.character }}
Positions {{ result.centerInfo.positions.join(',') }}: {{ result.centerInfo.characters }}
📊
Text Length:
Original: {{ statistics.originalLength }}
Processed: {{ statistics.processedLength }}
Ignored: {{ statistics.charactersIgnored }}
Words:
Total: {{ statistics.totalWords }}
Palindromic: {{ statistics.palindromicWords }}
Regular: {{ statistics.nonPalindromicWords }}
Palindromic Word Lengths:
Longest: {{ statistics.longestPalindromicWord }} chars
Shortest: {{ statistics.shortestPalindromicWord }} chars
🔤
{{ palindromicWords.length }} found
{{ word.original }}
({{ word.processed }})
{{ word.length }} chars
{{ showNonPalindromes ?'🔽' :'▶️' }}
{{ nonPalindromicWords.length }} words
{{ word.original }}
💡
Simple word:
"racecar" ✅ (same forwards and backwards)
Phrase (ignore spaces/punctuation):
"A man, a plan, a canal: Panama" ✅
Sentence:
"Was it a car or a cat I saw?" ✅
Features available:
• Real-time palindrome detection
• Individual word analysis
• Center character identification
• Flexible matching options
• Statistical analysis
⚠️ {{ error }}
🔄 Analyzing palindromes...

ℹ️ About Palindrome Checker

Palindrome Checker determines if text reads the same forwards and backwards. A palindrome is a word, phrase, number, or sequence with mirror symmetry, such as racecar, level, 1221, or A man, a plan, a canal: Panama after spaces, case, and punctuation are normalized.

Common Use Cases:

  • Literary analysis and wordplay detection
  • Educational tools for language learning
  • Linguistic research and pattern analysis
  • Programming challenges and algorithm testing
  • Creative writing and poetry analysis
  • Data validation and text processing

Analysis Features:

  • Text Palindromes: Check entire phrases and sentences
  • Word Analysis: Identify individual palindromic words
  • Flexible Matching: Ignore spaces, punctuation, and case
  • Center Detection: Find the center character(s) of palindromes
  • Statistics: Count palindromic vs non-palindromic words

Examples and edge cases: case-sensitive mode treats A and a as different characters. Ignoring punctuation lets phrases such as Was it a car or a cat I saw? match their reverse, while strict mode checks the exact string. Unicode text can include combining marks and visually similar characters; the Unicode Consortium's normalization forms and text segmentation rules explain why two strings can look alike but compare differently. For deeper character inspection, compare results with the Unicode escaper and ASCII table tools.

Processing options: case sensitivity, ignore spaces and punctuation, individual word analysis, detailed statistics. This is useful for language lessons, wordplay, algorithm practice, text normalization tests, and quick checks before using reverse-text or regex tools on a phrase.

API Usage Example:

POST /api/tools/text/palindrome-checker
Content-Type: application/json

{
    "text": "A man, a plan, a canal: Panama",
    "caseSensitive": false,
    "ignoreSpaces": true,
    "ignorePunctuation": true,
    "analyzeWords": true
}
Ready