Skip to content

String Reverse

Reverse any string of text instantly. Flip every character so the last one comes first, with emoji kept intact.

String Reverse tool

Loading...

Example

Input: Hello, World!

Result: !dlroW ,olleH

The characters are reversed one by one, including spaces and punctuation.

  1. Paste or type the text you want to reverse into the input area.
  2. Read the reversed text, which updates as you type.
  3. With several lines, note that the line order is reversed too, since the whole block is flipped.
  4. Compare the original and reversed versions, for example to check a palindrome.
  5. Click the copy button to copy the reversed text.

Reversing Text Character by Character

String Reverse writes your text backwards, so the last character comes first. "hello" becomes "olleh" and "Hello, World!" becomes "!dlroW ,olleH". The result updates as you type.

The whole input is reversed as one block. With several lines, that means the last line moves to the top and each line is also spelled backwards. If you only want to flip the order of the lines, use the Reverse Order option in Sort Lines instead.

Reversing text sounds simple, but quick scripts often get it wrong. A flag, a thumbs-up with a skin tone, or a letter with a separate accent mark is stored as two or more code points. A naive reverse splits those apart and leaves broken symbols. This tool reverses by grapheme, which is the unit you see on screen as one character, so emoji and accented letters stay whole. People use it for word puzzles, mirror-writing games, palindrome checks and coding practice, since "reverse a string" is a classic interview question. It is not a way to hide text, as anyone can flip it back. For simple letter-shifting codes instead, try the Text Encoder and Decoder.

Frequently Asked Questions

This tool reverses letters, not word order. To flip the words, put each word on its own line, for example with a find and replace that swaps spaces for line breaks in a text editor. Then use Reverse Order in Sort Lines and join the lines back together with spaces.
Reverse it and compare with the original. For single words like "level" or "racecar" they match exactly. For sentences, ignore spaces, punctuation and capitals. "A man, a plan, a canal: Panama" reverses to "amanaP :lanac a ,nalp a ,nam A", which reads the same once you strip those out.
Many emoji are built from several code points: a flag is two regional letter symbols, and a skin-tone emoji is the base emoji plus a tone modifier. Reversing code points one by one would swap them and break the picture. This tool keeps each visible character together, using the text segmentation built into modern browsers.

Related Tools

Case Converter

Convert text between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case, CONSTANT_CASE, and PascalCase.

Text and Writing

Text Repeater

Repeat any text or string a specified number of times with optional separators. Great for testing and data generation.

Text and Writing

Sort Lines

Sort lines of text alphabetically (A-Z or Z-A) with natural number order, by line length, or shuffle and reverse them.

Text and Writing

Word Counter and Character Counter

Count words, characters, sentences, and paragraphs in your text. Includes reading time and speaking time estimates.

Text and Writing

Find and Replace

Find and replace text with regular expressions, capture groups, case-sensitive matching, and a live match count.

Text and Writing

ASCII Art Text Generator

Convert text to ASCII art in Standard, Banner, Block, Big, Slant, and Small font styles for eye-catching displays.

Text and Writing