# Reverse Text

> Reverse characters, words, or lines in any text. Unicode-safe. Useful for puzzles, mirrored layouts, and word games.

URL: https://uttir.com/reverse-text
Categories: text-tools
Privacy: Reversal happens entirely in your browser.

## About

Three flavors of reversal: characters (each character in reverse order), words (the order of words in the line is flipped), and lines (the order of lines is flipped). Pick whichever matches what you need.

All three are unicode-safe, so accented characters and emoji code points are preserved correctly (no broken surrogate pairs).

## How to use

1. **Paste your text** — A word, sentence, paragraph, or multi-line block.
2. **Pick a mode** — Characters, words, or lines — switch to see the difference.
3. **Copy the result** — Use the Copy button to grab the reversed text.

## Examples

### Character reverse

"hello world" becomes "dlrow olleh".

Output:

```
dlrow olleh
```

### Word reverse

"hello world" becomes "world hello".

Output:

```
world hello
```

## FAQ

### Is the reversal unicode-safe?

Yes. The tool uses Array.from() to split on code points, not on UTF-16 code units, so emoji and accented characters are preserved correctly.

### What is the use case?

Reversing text is useful for puzzles, word games, mirrored layouts in CSS, reversing poetry, and verifying whether a string is a palindrome (it is if reverse = original).

### What about emoji and surrogate pairs?

Most emoji are made of two Unicode code points. The tool reverses code points, not bytes, so emoji stay intact. The visual order on screen is reversed, but each emoji is still a single emoji.

## Related tools

- [Case Converter](https://uttir.com/case-converter) — Convert text between UPPER, lower, Title, sentence, camelCase, PascalCase, snake_case, and kebab-case.
- [Character Counter](https://uttir.com/character-counter) — Count characters, words, lines, and UTF-8 bytes as you type.
- [Palindrome Checker](https://uttir.com/palindrome-checker) — Check if a word, phrase, or sentence is a palindrome. Also detects anagrams. Case-insensitive, ignores spaces and punctuation.

---

For the full HTML page with the live tool, visit https://uttir.com/reverse-text.
This file is the markdown rendering at https://uttir.com/reverse-text.md. See https://uttir.com/llms.txt for a site-wide summary.
