Skip to content

Text

Text Reverse

Text Reverse

Beta

Reverse text by character, word or line in your browser. Emoji, flags and accented letters stay whole, and Windows line endings are kept. No signup.

Use via API
  • Free, no sign-up
  • REST + MCP
  • Updated
  • Reviewed by Olgun Ozoktas
Reverse by

Reverses every character. Flags, emoji and accented letters stay whole.

On this page, the text is reversed in your browser and is not uploaded.

What each mode does

Characters

Reads the text backwards, one character at a time. A flag, an emoji or a letter with an accent counts as one character.

café 🇹🇷🇹🇷 éfac

Words

Keeps each word as it is and reverses their order. Punctuation stays attached to its word.

one two threethree two one

Lines

Keeps each line as it is and reverses the order of the lines. Blank lines move with the rest, and line endings (LF or CRLF) are kept.

first second thirdthird second first

How to reverse text

  1. Choose what to reverse

    Pick Characters, Words or Lines at the top of the tool. The line under the buttons says what the selected mode does.
  2. Paste or type your text

    Paste the text into Your text. The reversed version appears in Reversed text as you type, and switching the mode updates it at once.
  3. Copy the result

    Press Copy to put the reversed text on your clipboard, or Clear to start again.

Common use cases

Flip a list that is in the wrong order

A log, a changelog or an export that lists the newest entry last can be turned round in Lines mode without sorting it, so entries with equal values keep their place.

Check a palindrome

Paste a word or a sentence in Characters mode and compare the result with the original.

Word games and puzzles

Write a clue or a message backwards, or reverse the word order of a sentence for a puzzle.

Test string handling in your own code

Reverse text with emoji and accents to get the expected output for a unit test of a reverse function that must keep grapheme clusters whole.

Why use a text reverser?

Reversing a string sounds trivial until the text has emoji, flags or accented letters. A naive reversal splits them: a flag becomes two different letters, and an accent jumps to the wrong vowel. Text Reverse reverses what a reader sees as characters, and it can also reverse the order of words or of lines, which is the quicker way to flip a list that was sorted the wrong way round.

Text Reverse writes text backwards by character, by word or by line. Characters mode reverses the grapheme clusters a reader sees as single characters, so flags such as 🇹🇷, emoji sequences joined with zero-width joiners, and letters with combining accents stay whole instead of breaking apart. Words mode keeps each word intact and reverses their order, and Lines mode reverses the order of lines while keeping Windows (CRLF) or Unix (LF) line endings.

The result updates as you type. On this page, the text is reversed in your browser and is not uploaded. The same function is available as the REST tool text-reverse and the MCP tool text_reverse for scripts and AI clients.

Related tools: change letter case with the Case Converter, put lines in alphabetical or numeric order with the Text Line Sorter, and remove stray spaces and blank lines with the Whitespace Cleaner.

How it compares

Most programming languages make a naive reversal easy and a correct one harder. In JavaScript, text.split('').reverse() reverses UTF-16 code units and breaks every emoji, and [...text].reverse() reverses code points, which keeps simple emoji but still turns the flag 🇹🇷 into 🇷🇹 and moves combining accents. Text Reverse segments the text into grapheme clusters first, which is what a reader expects.

A text editor can reverse line order with a plugin or a shell command such as tac, but it needs the right tool for each mode. This page does characters, words and lines in one place, with no signup.

Tips

  • To reverse each word in place, without moving the words, reverse the characters and then reverse the words of the result.
  • Lines mode does not sort. Use the Text Line Sorter when you need alphabetical or numeric order.
  • A trailing newline at the end of pasted text becomes an empty first line in Lines mode. Remove it first with the Whitespace Cleaner if that matters.

Frequently Asked Questions

What does Text Reverse do?

Text Reverse writes your text backwards in one of three ways. Characters mode reverses every character, so "Hello" becomes "olleH". Words mode keeps each word and reverses their order, so "one two three" becomes "three two one". Lines mode keeps each line and reverses the order of the lines. The result updates as you type and can be copied with one click.

Do emoji, flags and accented letters stay intact?

Yes. Characters mode reverses grapheme clusters, the units a reader sees as one character, using the browser's Intl.Segmenter. A flag such as 🇹🇷 is two code points that must stay in order, an emoji family is several emoji joined by invisible characters, and é can be an e followed by a combining accent. Each of these is moved as one unit, so the flag does not turn into a different flag and the accent stays on its letter.

How does Words mode handle spaces and punctuation?

Words mode splits the text at runs of whitespace and reverses the pieces, keeping the spacing between them. Punctuation stays attached to the word it touches, so "Hello, world!" becomes "world! Hello,". The letters inside each word are not changed.

What happens to line endings in Lines mode?

If the text contains Windows line endings (CRLF), the reversed lines are joined with CRLF; otherwise they are joined with LF. Blank lines count as lines and move with the rest, so a trailing empty line becomes a leading one.

Is there a size limit?

The page takes up to 1,000,000 characters at a time and shows an error above that. The MCP tool has the same 1,000,000-character limit, and the REST endpoint accepts up to 100,000 characters per request.

Is my text uploaded?

Not on this page. The text is reversed in your browser with JavaScript, and nothing you paste is sent to a server. The REST API and MCP tool are a separate path: a call sends the text you include to FindUtils over HTTPS, where it is reversed and the result returned. FindUtils does not store that input, and logs the request without its content.

Can I reverse text from a script or an AI client?

Yes. The same function powers the REST tool text-reverse at api.findutils.com, whose mode is characters, words or lines, and the MCP tool text_reverse at mcp.findutils.com, whose mode is chars, words or lines. The Run it from code card on this page shows a working request.

Does it make mirror or upside-down text?

No. Text Reverse changes the order of characters, words or lines; it does not flip the shape of each letter. Mirror and upside-down text use different Unicode look-alike characters, which this tool does not substitute.

Rate This Tool

0/1000

Get Weekly Tools

Suggest a Tool