# Reverse text > How do you reverse a text? Reverse the order of the letters, the words or the lines. Reverse the letters, the words or the lines of any text and copy the result. Emoji and accented letters stay intact. Everything runs in your browser. - Page: https://how.box/reverse/ - 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/reverse/?mode={mode} - `mode` (letters, words or lines): Transformation mode. Example: `letters`. Example answer: https://how.box/reverse/?mode=letters The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `reverse_convert`: Reverse text conversion. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"reverse_convert","arguments":{"mode":"letters"}}}` - GET: https://how.box/mcp/run/reverse_convert?mode=letters ## How it works Letters reverses Unicode grapheme clusters with Intl.Segmenter, keeping emoji sequences and combining marks intact. Words reverses whitespace-delimited tokens while keeping whitespace slots. Lines reverses line contents while preserving separator slots. https://tc39.es/ecma402/#segmenter-objects Whitespace stays in its original slots in word mode; punctuation travels with its word. A final newline is an empty final line in line mode. ## FAQ **What do the three reverse modes do?** Letters reverses every character: "Hello, world!" becomes "!dlrow ,olleH". Words keeps each word but reverses their order: "world! Hello,". Lines reverses the order of the lines and keeps each line as it is. **Does reversing break emoji and accents?** No. Letters are reversed as whole characters, so emoji sequences like a family emoji and letters with combining accents stay intact instead of falling apart. **Is my text sent anywhere?** Text stays in this browser and is never saved or placed in links. **How much text can I enter?** Up to 20,000 UTF-16 units; some emoji use more than one unit. **How can I check whether a phrase is a palindrome?** Reverse it by letters and compare: if the result equals the original, ignoring case, spaces and punctuation, it is a palindrome. The palindrome checker does this for you. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)