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.

Last updated:

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.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

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.Grammar CheckerCheck grammar, spelling and punctuation with clickable suggestions and one-click fixes.Word Count to PagesHow many pages is 1,000 words? Estimate pages by font, size, spacing and margins.X Post Character CounterCount X (Twitter) post characters and split long text into a thread.YouTube Title Length CheckerCheck YouTube title length, preview truncation and score it for clicks.Text CompareFind the differences between two texts.Word Frequency CounterFind the most used words and phrases in any text and turn them into a word cloud.Sentence CounterCount sentences and paragraphs, see average sentence length and spot long sentences.Readability CheckerScore your text with Flesch, Flesch-Kincaid, Gunning Fog, SMOG and more readability tests.Keyword Density CheckerFind the most used 1, 2 and 3-word phrases in your text and their keyword density %.Reading Time CalculatorEstimate how long a text takes to read or speak at any speed, and copy a “5 min read” badge.Syllable CounterCount syllables per word, line and total, and check haiku 5-7-5 instantly.Text SummarizerSummarize long text into its key sentences and keywords, privately in your browser.Spell CheckerCheck spelling online: misspelled words are highlighted with suggestions you can click to fix.DictionaryLook up English word definitions with pronunciation audio, examples, synonyms and antonyms.Letter Frequency CounterCount how often each letter appears, compare with English frequencies and see top bigrams.Antonym FinderFind opposites of any word: direct antonyms, near antonyms and definitions, click to copy.British to American Spelling ConverterConvert UK spelling to US spelling and back (colour/color, organise/organize) with highlights.Homophone FinderLook up homophones like there/their/they're with definitions and examples from 400+ sets.N-Gram GeneratorGenerate word or character n-grams (1-5) with frequency counts, stopword filter and CSV export.Passive Voice CheckerHighlight passive voice in your writing, see the passive sentence %, and get active rewrites.Periodic Table Word SpellerSpell words and names with chemical element symbols and download them as element tiles.Related Words FinderFind words related to any word or topic: associations, describing adjectives and more.Synonym FinderFind synonyms grouped by relevance, filter by syllables or first letter and click to copy.Text Similarity CheckerCompare two texts for similarity with cosine, Jaccard and Levenshtein scores and shared phrases.Words That Start With FinderFind words that start with, end with or contain any letters, filtered by length.AI Token CounterCount GPT tokens in any text, see every token highlighted and estimate the API input cost.Elevator Pitch GeneratorBuild 10, 30 and 60-second elevator pitches with word counts and speaking time.Abbreviation FinderLook up what common abbreviations and acronyms stand for, or find the abbreviation for a phrase.Describing Words FinderEnter a noun and get adjectives that commonly describe it, sorted by how often they are used.Keyword ExtractorPull the top keywords and key phrases from any text with RAKE or TF-IDF scores.Line CounterCount total, non-empty, blank and unique lines in text or a .txt file, with line length stats.Paragraph CounterCount paragraphs in any text, with words and sentences per paragraph and the longest and shortest.GC Content CalculatorDNA/RNA GC %, AT %, base counts, GC skew and a sliding-window GC plot from any sequence or FASTA.Google Ads Character CounterWrite responsive search ads with live 30/90/15 counters, pins, keyword insertion checks and a preview.ORF FinderFind open reading frames in all 6 frames of a DNA sequence, with positions, lengths and protein translations.Podcast Intro Script GeneratorWrite podcast intro and outro scripts in five tones, with sponsor, call to action and read time.Restriction Enzyme FinderFind cut sites for 180+ restriction enzymes in DNA, with fragment sizes, a site map and a virtual gel.SAT Vocabulary Flashcards363 high-frequency SAT words with definitions and examples: flip cards, quizzes and saved progress.Text HighlighterHighlight chosen words and phrases in several colors, count each one and copy the colored text.Resume Keyword ScannerCompare your resume to a job description: match score, missing skills and keyword counts.Scrabble Word CheckerCheck if a word is playable, see its Scrabble score, hooks, anagrams and two-letter word meanings.Sentiment AnalyzerScore the sentiment of reviews and messages per sentence, with positive and negative words.SMS Character CounterCount SMS characters and segments, detect GSM-7 vs Unicode and find the characters that cost extra.Social Media Character CounterCheck one post against X, Instagram, TikTok, LinkedIn, YouTube and more limits at once.Spelling Bee SolverEnter the 7 honeycomb letters to get every word, pangrams highlighted, points and a hint grid.Spelling PracticeType your weekly spelling words, hear each one read aloud, spell it and retry the misses.Spelling Test GeneratorTurn a word list into a spoken, auto-graded spelling test or a printable test with answer key.Transition Words FinderFind transition words by category with examples, and check the transitions in your essay.Writing Style AnalyzerHighlight hard sentences, adverbs, passive voice and complex words, with a grade level.Food Allergen CheckerPaste an ingredient list to highlight the 9 major food allergens and their hidden names.
See all 53 Text Counters & Analyzers →