Palindrome Forge

Compose word-level palindromes from a lexicon, mirror or minimally edit any text into one, take a sentence apart, and hunt palindromes in the integers.

Compose a sentence

Words are chosen so the whole letter stream reads the same both ways, the way a man a plan a canal panama does.

Results

Click a line to copy it.

    How it works

    The sentence is grown from both ends at once. One side always runs ahead of the other; the overhang is the only thing that still has to be answered. Adding a word either eats into the overhang or overshoots it and hands the debt to the other side. The moment the overhang is itself a palindrome, the whole sentence is one.

    Build from text

    Five ways to turn an arbitrary string into a palindrome. Only letters and digits are counted; everything else is dropped.

    Constructions

    Analyze

    Report

    Nothing analyzed yet.

    Reverse and add

    Add a number to its own reversal and repeat. Most numbers land on a palindrome quickly; 196 is the smallest that has never been shown to.

    Trajectory

    Nothing run yet.

    Palindrome search

    Found

    Nothing found yet.

    One number, every base

    Representations

    Nothing shown yet.

    Lexicon

    The composer draws on this list. Replace it with your own — one word per line, or any whitespace separated text.

    What's in it

    Palindromic words

    Reversible pairs

    Words whose reversal is another word — the raw material of two-way sentences.

    Pattern search

    Use ? for one letter, * for any run. Try ?a?a? or re*er.