Verificador de palíndromos
Comprueba si un texto es un palíndromo y encuentra la subcadena palindrómica más larga.
Acerca del verificador de palíndromos
Prueba instantáneamente si cualquier palabra, frase u oración es un palíndromo. Activa opciones para ignorar mayúsculas/minúsculas, espacios y puntuación — para que los ejemplos clásicos como "A man, a plan, a canal: Panama" se detecten correctamente.
Preguntas frecuentes
- ¿Qué es un palíndromo?
- Un palíndromo es una palabra, frase o secuencia que se lee igual de adelante hacia atrás que de atrás hacia adelante — como "racecar" o "A man a plan a canal Panama".
- ¿Por qué "A man a plan a canal Panama" pasa la prueba?
- Ignorando los espacios y la puntuación, la cadena normalizada amanaplanacanalpanama se lee igual de adelante hacia atrás que de atrás hacia adelante.
- ¿Qué es la subcadena palindrómica más larga?
- La secuencia contigua más larga dentro del texto de entrada que es en sí misma un palíndromo.
ACERCA DE ESTA HERRAMIENTA
Type or paste any text to instantly check whether it reads the same forwards and backwards, and see the longest palindromic substring hiding inside it even if the whole phrase itself isn't a palindrome. The checker typically ignores spaces, punctuation, and letter case so that phrases like 'A man, a plan, a canal, Panama' are correctly recognized as palindromes rather than failing on formatting differences. It's a quick reference for word puzzle enthusiasts checking a clever phrase, students studying language and pattern structure, or anyone testing a string for a coding challenge involving palindrome detection. Because results update as you type, you can experiment with different phrases or word substitutions to see immediately whether they still qualify.
CÓMO USARLO
- Type or paste the text you want to check.
- Look at the result indicating whether it's a full palindrome.
- Check the longest palindromic substring shown below the result.
- Edit the text and watch the result update live.
- Try removing spaces or punctuation manually if you want to test strict character-by-character matching.
CASOS DE USO COMUNES
- Verifying a clever palindrome phrase you wrote for a puzzle or word game
- A student checking classic examples like 'racecar' or longer sentence-level palindromes for a linguistics assignment
- A programmer double-checking expected output while practicing a palindrome-detection coding exercise
- Someone testing whether a username, license plate idea, or short phrase happens to be a palindrome
- A puzzle designer searching for the longest palindromic substring within a longer piece of text for a hidden-word game
CONSEJOS Y ERRORES COMUNES
- Most palindrome checks ignore case and punctuation by default, so 'Racecar' and 'race car' may both register as palindromes even though they aren't identical strings
- Single characters and empty strings technically count as palindromes, which can be a surprising edge case if you're testing programmatically
- The longest palindromic substring doesn't have to be a real word, it's found purely by matching character patterns
- Numbers work the same way as letters here, '1221' is checked the same as any text-based palindrome
MÁS PREGUNTAS
- Does spacing or punctuation affect whether text counts as a palindrome?
- Typically no, the checker normalizes the text by stripping spaces, punctuation, and case differences first, which is why classic phrase palindromes like 'A man, a plan, a canal, Panama' pass even though the raw characters aren't a mirror image.
- What counts as the 'longest palindromic substring'?
- It's the longest continuous run of characters within your text that itself reads the same forwards and backwards, regardless of whether the full input is a palindrome.
- Can a single word be a palindrome even if the whole sentence isn't?
- Yes, a sentence can contain a palindromic word or substring in the middle while the sentence as a whole fails the check; that's exactly what the longest-substring result is designed to surface.
- Are palindrome checks case-sensitive?
- Generally no, because case sensitivity would make otherwise obvious palindromes fail on trivial capitalization differences, so most checkers normalize to lowercase before comparing.