Home › Text Tools › Palindrome Checker

Palindrome Checker

Find out instantly whether a word, phrase or number reads the same forwards and backwards. Ignore case, spaces, punctuation and accents, see exactly where a near-palindrome breaks, find the longest palindrome hidden in a text, and explore palindromic numbers.

Advertisement
Advertisement

How to use the Palindrome Checker

  1. Type or paste a word or sentence in the Check text tab. The answer appears as you type.
  2. Choose what to ignore: upper/lower case, spaces and punctuation, or accents.
  3. If it is not a palindrome, the mismatched letters are highlighted and the longest palindrome inside is shown.
  4. Switch to Find palindromes to search a longer text for its longest palindrome and every palindromic word.
  5. Use Palindromic numbers to check a number, get the next and previous palindrome, list palindromes in a range or play reverse and add.

Palindrome examples

TypeExamples
Wordslevel, radar, civic, kayak, refer, rotor, madam, noon, racecar, redivider
NamesAnna, Bob, Hannah, Otto, Ava
SentencesStep on no pets · Was it a car or a cat I saw? · No lemon, no melon
Numbers121, 1331, 12321, 9009 (the largest palindrome that is the product of two 2-digit numbers: 91 × 99)
Dates02/02/2020 and 12/02/2021 (written as 12022021) read the same both ways

How many palindromic numbers are there?

DigitsCountSmallest – largest
110 (including 0)0 – 9
2911 – 99
390101 – 999
4901001 – 9999
590010001 – 99999
6900100001 – 999999

A palindrome is fixed by its first half, so with d digits there are 9 × 10⌈d/2⌉−1 of them: the first digit can be 1–9 and the rest of the first half 0–9. Every palindromic number with an even number of digits is divisible by 11.

Finding the next palindrome

To get the next palindrome after a number, copy its first half onto the second half in mirror order. If that is larger than the number, you are done (12345 → 12321 is smaller, so…). Otherwise add 1 to the first half and mirror again (123 + 1 = 124 → 12421). If the first half is all nines, the answer is 10…01 with one more digit (999 → 1001).

Frequently asked questions

What is a palindrome?

A palindrome is a word, phrase, number or other sequence that reads the same backwards as forwards, such as level, racecar, 12321 or “Never odd or even”. For phrases, spaces, punctuation and capital letters are normally ignored.

How does the palindrome checker work?

It removes whatever you chose to ignore (case, spaces and punctuation, accents), then compares the first character with the last, the second with the second-to-last and so on. If every pair matches, the text is a palindrome; otherwise the first pair that differs is highlighted.

What is the longest palindromic substring?

It is the longest continuous part of a text that is a palindrome. For example, in “banana” it is “anana”. The tool finds it with Manacher's algorithm, which runs in linear time, so even long texts are searched instantly.

What are palindromic numbers?

Numbers whose digits read the same in both directions, such as 7, 44, 121 or 9009. All one-digit numbers are palindromes. There are 9 two-digit, 90 three-digit and 90 four-digit palindromes, and 9 × 10^(k−1) palindromes with 2k−1 or 2k digits.

What is the reverse and add process?

Take a number, add it to its reverse, and repeat until the result is a palindrome. Most numbers get there quickly: 56 + 65 = 121. 89 needs 24 steps. For 196 nobody has ever reached a palindrome; such numbers are called Lychrel number candidates.

Is 0 or a single letter a palindrome?

Yes. Any single character reads the same in both directions, so single letters and the digits 0 to 9 are palindromes.

What are some famous palindrome sentences?

Classics include “A man, a plan, a canal: Panama”, “Was it a car or a cat I saw?”, “Madam, in Eden, I’m Adam”, “Step on no pets” and “Never odd or even”. Press Try an example to test them.

Related tools

Reverse Text GeneratorWrite text backwards, reverse words or lines, mirror or flip it upside down.Word UnscramblerUnscramble letters into every possible word, with blank tiles, length filters and Scrabble scores.ROT13 Encoder / DecoderEncode and decode ROT13, ROT47, ROT5, ROT18 and any Caesar shift live as you type.Character CounterCount characters with and without spaces, words, lines and bytes, with live limit bars.Random Riddle Generator150+ riddles with hidden answers in easy, hard and kids levels. Guess, get a hint or reveal.Word CounterCount words and characters and clean up text.Word Count to PagesHow many pages is 1,000 words? Estimate pages by font, size, spacing and margins.Remove Line BreaksStrip line breaks and extra spaces, keep paragraphs if you want.Sort Lines AlphabeticallySort a list A-Z, Z-A, numerically, naturally or by length, or shuffle it.Case ConverterConvert text to UPPERCASE, lowercase, Title Case, camelCase and more.Citation GeneratorCreate APA, MLA and Chicago citations for books, websites and articles.MLA Format GeneratorBuild an MLA 9 heading, title page layout and Works Cited entries.Bibliography GeneratorBuild an alphabetized bibliography in APA 7, MLA 9, Chicago or Harvard style.Essay Length & Reading TimeWords to reading time, speaking time and handwritten or typed pages.Lorem Ipsum GeneratorGenerate placeholder text as paragraphs, words or lists, with HTML.Instagram Caption FormatterKeep line breaks and spacing in Instagram captions and bios.Instagram Bio GeneratorCreate Instagram bios with templates, fancy fonts and emojis.X Post Character CounterCount X (Twitter) post characters and split long text into a thread.TikTok Caption CounterCount TikTok caption characters and hashtags against the 2,200 limit.Speech Length CalculatorPaste a speech to see how long it takes to say at any speaking speed.Text to SpeechTurn text into natural-sounding speech.Fancy Text GeneratorTurn text into cool Unicode fonts for bios.Upside Down Text GeneratorFlip text upside down with Unicode characters, or turn it back to normal.Text RepeaterRepeat any text or emoji up to 100,000 times with custom separators.YouTube Title Length CheckerCheck YouTube title length, preview truncation and score it for clicks.YouTube Description & Chapters GeneratorBuild a YouTube description with chapters, links and hashtags from templates.Text CompareFind the differences between two texts.AI Prompt GeneratorBuild better prompts for ChatGPT, Midjourney and more.Email Signature GeneratorBuild HTML email signatures for Gmail and Outlook.Flashcard MakerMake flashcard decks and study them with flip cards and spaced repetition, saved in your browser.Find and Replace TextFind and replace words or regex patterns in any text, with match highlighting and undo.YouTube Tag GeneratorGenerate YouTube tag ideas from your title and keywords and fit them in the 500-character limit.Quiz MakerMake a multiple-choice quiz, take it with instant scoring and share it with a link.Add Line NumbersNumber every line of your text with custom start, step, padding and separator, or remove numbers.Add Prefix and Suffix to LinesAdd text to the start and end of every line: quotes, commas, bullets or SQL lists.Comma SeparatorTurn a column of lines into a comma separated list and back, with any delimiter.LinkedIn Post FormatterAdd bold, italic and other Unicode styles to LinkedIn posts and preview the fold.Word Frequency CounterFind the most used words and phrases in any text and turn them into a word cloud.Social Media Post PreviewMock up a post for X, Facebook, Instagram, LinkedIn or Threads and save it as a PNG.Sentence CounterCount sentences and paragraphs, see average sentence length and spot long sentences.Emoji CounterCount every emoji in your text, including flags, skin tones and ZWJ sequences.Readability CheckerScore your text with Flesch, Flesch-Kincaid, Gunning Fog, SMOG and more readability tests.Text to Handwriting ConverterTurn typed text into realistic handwriting on notebook paper and save it as PNG or PDF.Keyword Density CheckerFind the most used 1, 2 and 3-word phrases in your text and their keyword density %.Title Capitalization ToolCapitalize titles and headlines in AP, APA, Chicago and MLA style side by side, with one-click copy.Accent KeyboardClick to insert é, ñ, ü, ç, ß and other accented letters for 11 languages, then copy.Small Text GeneratorTurn text into tiny superscript, subscript and small caps letters you can copy and paste.Headline AnalyzerScore your headline 0–100 on length, word balance, power words, sentiment and type, with tips.Cyrillic TransliterationConvert Bulgarian, Russian and Ukrainian Cyrillic to Latin and back using official rules.Zalgo Text GeneratorMake creepy glitch text with separate up, middle and down sliders, or clean zalgo back to normal.Arabic KeyboardType Arabic online with a full on-screen keyboard, harakat and Arabic-Indic digits, then copy.Invisible CharacterCopy blank and invisible characters (ㅤ U+3164, U+2800, zero width space) for names and messages.Reading Time CalculatorEstimate how long a text takes to read or speak at any speed, and copy a “5 min read” badge.Russian KeyboardType Russian online with a ЙЦУКЕН or phonetic on-screen keyboard, then copy your Cyrillic text.Emoji PickerSearch 1,900+ emoji by name, pick skin tones and copy and paste them with one click.Japanese Kana ConverterConvert romaji to hiragana or katakana, kana to romaji, and hiragana to katakana instantly.Special CharactersCopy and paste 1,500+ symbols: arrows, math, currency, stars, checkmarks, © ® ™ and more.Pinyin Tone ConverterTurn pinyin tone numbers (ni3 hao3) into tone marks (nǐ hǎo), or tone marks back into numbers.Remove Duplicate LinesDelete duplicate lines from any list, ignoring case or spaces, keep first or last, and sort.Remove Extra SpacesClean up double spaces, tabs, blank lines, non-breaking and invisible spaces in one click.Random Word GeneratorGenerate random English words by type, length, first letter and syllables, then copy them.Syllable CounterCount syllables per word, line and total, and check haiku 5-7-5 instantly.List RandomizerShuffle a list into random order, pick random items or split it into fair teams.Email ExtractorPull every unique email address out of text or files, sort, filter by domain and export CSV.URL ExtractorExtract every link from text or HTML, remove duplicates, filter by domain or protocol.NATO Phonetic Alphabet TranslatorSpell any text as Alfa, Bravo, Charlie, hear it spoken, or decode code words back to text.Braille TranslatorTranslate English text to Grade 1 Unicode braille and back, with dot numbers and printing.Text SummarizerSummarize long text into its key sentences and keywords, privately in your browser.Strip HTML TagsRemove HTML tags and get clean plain text with line breaks and decoded entities.Speech to TextDictate with your voice and get editable text in 50+ languages, with voice punctuation.ASCII Art GeneratorTurn text into big ASCII banners or convert any image into ASCII art you can copy.Online NotepadPrivate notepad that autosaves notes in your browser, with find, word count and .txt download.Bold Text GeneratorConvert text to bold Unicode letters you can copy and paste anywhere.Italic Text GeneratorConvert text to italic Unicode letters you can copy and paste anywhere.Cursive Text GeneratorConvert text to cursive Unicode letters you can copy and paste anywhere.Strikethrough Text GeneratorConvert text to strikethrough Unicode letters you can copy and paste anywhere.Underline Text GeneratorConvert text to underlined Unicode letters you can copy and paste anywhere.Bubble Text GeneratorConvert text to bubble Unicode letters you can copy and paste anywhere.Wide Text GeneratorConvert text to wide Unicode letters you can copy and paste anywhere.Old English Text GeneratorConvert text to Old English Unicode letters you can copy and paste anywhere.Superscript GeneratorConvert text to superscript Unicode letters you can copy and paste anywhere.Subscript GeneratorConvert text to subscript Unicode letters you can copy and paste anywhere.