# Palindrome maker > How do you write a palindrome of your own? Type the first half, get the second half mirrored, break it into words and see every letter that doesn't match. Write your own palindrome: the second half mirrors as you type, mismatched letters light up, and a letter ladder proves it. Check any text too, free. - Page: https://how.box/palindrome/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/palindrome/?mode={mode}&front={front}&mid={mid}&back={back}&mirror={mirror}&text={text}&words={words}&abc={abc}&plain={plain}&digits={digits} - `mode` (write or check): write (front, middle, back) or check (one text). Example: `write`. - `front` (text): Writer: the first half. Example: `Never od`. - `mid` (text): Writer: the middle letter of an odd-length palindrome. Example: ``. - `back` (text): Writer: the second half. Example: `d or even`. - `mirror` (boolean): Writer: mirror typed letters to the other side. Example: `true`. - `text` (text): Checker: the text to check. Example: `Step on no pets`. - `words` (boolean): Checker: compare words instead of letters. Example: `false`. - `abc` (en, fi, sv, de, es, fr, it or et): Letter rules of a language (en, fi, sv, de, es, fr, it, et). Example: `fi`. - `plain` (boolean): Treat accented letters as plain. Example: `false`. - `digits` (boolean): Count digits as letters. Example: `false`. Example answer: https://how.box/palindrome/?mode=write&front=Never+od&mid=&back=d+or+even&mirror=1&text=Step+on+no+pets&words=0&abc=fi&plain=0&digits=0 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `palindrome_check`: Checks whether a text is a palindrome: its letters (grapheme clusters) read the same backwards, ignoring spaces, punctuation and case. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"palindrome_check","arguments":{"text":"Step on no pets","words":false,"alphabet":"fi","plain":false,"digits":false}}}` - GET: https://how.box/mcp/run/palindrome_check?text=Step+on+no+pets&words=false&alphabet=fi&plain=false&digits=false - `palindrome_mirror`: Mirrors the first half of a palindrome: returns back, the letters of front reversed in lower case without spaces (add your own word breaks; any spacing of these letters completes the palindrome), and count, the number of letters mirrored. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"palindrome_mirror","arguments":{"front":"Never od","alphabet":"fi","plain":false,"digits":false}}}` - GET: https://how.box/mcp/run/palindrome_mirror?front=Never+od&alphabet=fi&plain=false&digits=false ## How it works A palindrome reads the same forwards and backwards. Only the letters count: spaces, punctuation and capital letters are ignored, so “Step on no pets” works even though its spaces fall in different places. That is why the tool splits your text in two. Whatever letters you put in the front half must come back in reverse order in the back half, but you are free to cut them into different words. In symbols: write the letters of the whole text as L₁ L₂ … Lₙ. It is a palindrome when Lᵢ = Lₙ₊₁₋ᵢ for every i, so the first letter equals the last, the second equals the second to last, and so on. The letter ladder shows exactly these pairs, column by column from the outer ends inwards. With an odd number of letters the one in the very middle pairs with itself; that is the Middle letter switch (the k of “saippuakauppias”). Example: the front “Never od” has the letters n e v e r o d. Reversed they are d o r e v e n, which you can break into “d or even”. Joined, the text reads “Never odd or even.”: 14 letters in 7 matching pairs. Each language keeps its own letters apart. In Finnish and Swedish ä is not a, and in Spanish ñ is not n; other accents count as the plain letter (é = e). Change this under Letter rules. The tool checks letters only, not whether the words make sense: that part is yours. Sources: Merriam-Webster, “palindrome”; the examples are traditional palindromes listed in each language's Wikipedia article on palindromes. ## FAQ **Do spaces and punctuation have to match?** No. Only the letters are compared, so the words can break in different places on each side. Upper and lower case count as the same letter. **What is the longest one-word palindrome?** In everyday use it is often said to be the Finnish “saippuakivikauppias”, a soapstone seller, with 19 letters. In English, “racecar”, “level” and “rotator” are well known; most longer English ones are rare words. **What is the trick to writing a long palindrome?** Write a few words, look at the reversed letters on the back and find words hiding in them. Then add to the front so the back keeps making sense. Short words such as a, I, no and on are easy to fit on either side. **What is a word palindrome?** A sentence whose words, not letters, read the same in reverse, such as “Fall leaves after leaves fall”. Turn on Compare whole words in Check mode to test one. **Can I share my palindrome?** Yes. Copy the finished sentence from the result, or copy the link: it opens the tool with both halves filled in. Nothing is stored on a server. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)