Skip to content

Mirror Text Generator

Reverse the characters on each line. Hello becomes olleH. The letters keep their usual shapes. This is a character reverse, not an upside-down font.

Result

Enter text

How to Use

  1. 1 Paste the text.
  2. 2 Choose Mirror text.
  3. 3 Copy the reversed lines. Hello becomes olleH.

Example Output

  • Hello becomes olleH.
  • Hello! becomes !olleH.

About This Tool

Each line is reversed on its own. A line break stays a line break. The page does not substitute a mirrored glyph.

Using the Mirror Text Generator

This page reverses the characters on each line. Hello becomes olleH. Hello! becomes !olleH. The letters keep their usual shapes. The e in Hello stays e. It does not become a turned e. A line break stays between lines, and each line is reversed on its own. The page does not reverse the order of the lines.

The result is a character reverse, not a font and not a mirror-image glyph. Hold the output up to a mirror if you want a visual reflection. This page only reorders the characters you typed. Whitespace at the ends of a line moves with the characters. A field that is only spaces is rejected. The text may be at most 2000 characters.

The headline is the reversed text when it is short enough to show. The lines count the characters and the lines. Check Hello before you trust a longer paste.

What the Reversed Line Is

Each line is split into characters and written back from the last character to the first. Hello has five characters. The last is o, then l, then l, then e, then H, so the line is olleH. The capital H stays a capital H. It moves to the end because it was at the start.

The character count includes spaces and punctuation. Hello! is six characters, and the exclamation mark leads the result because it was last. The line count is 1 for a single line and rises when you press Enter. A blank line between two lines stays a blank line, reversed in place, which is still blank.

Reset clears the field. The previous result stays until the next run. A paste longer than 2000 characters is rejected rather than cut off.

How Each Line Is Reversed

The page splits the text on line breaks first. It does not treat the whole paste as one string to flip end to end, because that would move the last line to the top. Each line is reversed separately, then the line breaks are put back. Two lines, Hello and World, become olleH and dlroW, still in that order.

Characters are counted as Unicode characters. A single accented letter is one character and moves as one character. The page does not split it into a base letter and a mark for the purpose of this reverse.

An upside-down mapping is a different page. The Upside Down Text Generator maps letters and then reverses the string. Hello becomes ollǝH on that page, with a turned e. This page returns olleH, with an ordinary e. Use the upside-down page when you want the turned glyphs. Use this page when you want the order reversed and the letters unchanged.

What the Reverse Leaves Out

The page does not substitute a mirrored glyph such as a backwards R. If a font on your computer draws a reversed letter, that is the font, not this result. The characters in the output are the same characters you typed, in reverse order on each line.

The page does not reverse words as wholes while keeping the letters inside each word. Hello is not olleH because the word was spun as a unit of meaning. It is olleH because the characters were reversed. A line of two words reverses across the space as well. The space ends up where the character order puts it.

There is no image of a mirror. Copy returns the text. A reader who pastes it into a document sees the reversed characters, not a picture.

Hello and Hello!

Enter Hello. The headline and the text are olleH. The character line is 5. The line count is 1. Enter Hello!. The text is !olleH. The character line is 6. The exclamation mark moved to the front and the H moved to the end. Run Hello again. olleH matches.

Enter only spaces and confirm the rejection. A paste of ordinary words is accepted. The reverse of a reverse is the original line, because reversing twice restores the order. Run olleH and the text is Hello.

Circled letters are a different transformation. The Bubble Letter Generator turns Hi into circled letters. It does not reverse Hello into olleH. Use it for circled letters. Use this page to reverse a line.

Limits of a Character Reverse

The field accepts at most 2000 characters. A longer text is rejected. The page does not drop the tail. Shorten the paste or split it yourself and reverse each part. Remember that a split in the middle of a line changes where the reverse starts.

A line break is the boundary. A sentence that wraps only because the box is narrow is still one line if you did not press Enter. The reverse will treat it as one line. If you wanted each visual row reversed, insert the line breaks first.

The page does not translate. olleH is not a word in another language. It is Hello backwards. Do not look it up as a vocabulary item. Look at it as an order.

Common Mistakes

The usual miss is to expect the turned letters of an upside-down alphabet. This page keeps e as e. If the result shows a turned e, it came from the other tool. Another miss is to expect the lines themselves to swap so the last line becomes the first. They do not. Only the characters inside each line move.

A third miss is to reverse a line that already contains a combining mark and then expect the mark to stay on the same letter after a naive byte reverse. This page moves whole characters. A mark that is its own character moves as its own character.

Stacked marks from a fixed pattern are a different page. The Cursed Text Generator adds combining marks and does not reverse Hello into olleH. Use it for those marks. Use this page for the reverse.

Reading olleH in a Note

Copy the reversed line and, if the direction matters later, keep the original beside it. olleH without Hello can be this sample or a reverse of a different string that happens to look the same. The character count for Hello is 5. The character count for Hello! is 6.

Say that the letters were not substituted. A reader who sees olleH and expects a turned e is looking for the other tool. The ordinary e is the mark of this page.

If you reverse the result again, you should see the original line. That second run is the check that nothing was substituted. Hello comes back from olleH. Hello! comes back from !olleH.

Rebuilding the Sample

Enter Hello and confirm olleH, 5 characters, and 1 line. Enter Hello! and confirm !olleH. Enter olleH and confirm Hello. Enter a field of only spaces and confirm the rejection.

Joining lines is a different page. The Remove Line Breaks tool joins or spaces lines. It does not reverse the characters inside them. Use it when a line break is the problem. Use this page when the order of characters is the problem.

File the line count with the text when the paste had more than one line. A reverse that moved a line from the bottom to the top would be a different rule, and this page does not use that rule.

Checking a Longer Line

Confirm Hello before you paste a paragraph. The result should be olleH, not ollǝH. Then paste two lines and confirm the first line reverses and stays first. Confirm the second line reverses and stays second.

Stay within 2000 characters. A blank field is rejected. A line of punctuation is accepted, and the punctuation reverses with everything else.

Raised digits are a different transformation. The Superscript Generator lifts digits and a few signs. It does not reverse Hello. Use it for a superscript. Use this page to reverse a line.

What the Field Accepts

The field is one text area. It may contain letters, digits, spaces, punctuation, and line breaks, up to 2000 characters. A value that trims to nothing is rejected. The page does not ask for a seed, because the reverse is determined by the text alone. The same text always returns the same reverse.

The headline is the reversed text when it is at most 80 characters, and a character count otherwise. The lines are the character count and the line count. Copy returns the reversed text. There is no font file.

Hello is the sample. The capital H is the last character of olleH. If your result starts with H, the line was not reversed.

Why a Second Reverse Restores the Line

Reversing a sequence twice returns the original sequence. The last character becomes first, and the second reverse sends it to the end again. That is why olleH becomes Hello, and why !olleH becomes Hello!. Use the second run as a check whenever a paste is long enough that you cannot see the reverse by eye. If the second run does not match the original, a line break was added or removed between the runs, or the text was edited.

Do not compare olleH with the upside-down result ollǝH. They differ in the e. Both tools reverse order. Only one of them changes the glyph. A note that says "mirrored Hello" should say which tool, or a later reader will accept the turned e as this page's output. This page's output for Hello is olleH.

Multiple lines stay in order, so a second reverse restores each line and also leaves the lines stacked as they were. If you wanted the last line to become the first, you would be asking for a different operation. Do that by hand after this page, and mark it as your edit. A fresh run will not swap the lines.

Mirroring Hello Without Moving the Lines

Hello becomes olleH. The five characters reverse, and the capital H ends on the right. Hello! becomes !olleH. The exclamation mark was at the end, so it is at the start after the reverse. Run olleH through the page and the result is Hello. The operation is its own inverse. A second run restores the first input, including the side the capital letter sits on.

Checking the Generator

Enter Hello and confirm olleH. Enter Hello! and confirm !olleH. Enter olleH and confirm Hello. Enter only spaces and confirm the rejection. When the sample reverses, the reverse of the reverse restores Hello, and a blank field is refused, the page is reversing characters on each line.

Frequently Asked Questions

What does Hello become?

olleH. The letters keep their usual shapes. The e stays e.

What does Hello! become?

!olleH. The exclamation mark moves to the front.

Does the page turn letters upside down?

No. It only reverses the order of characters on each line.

Do the lines themselves swap?

No. The first line stays first. The characters inside it reverse.

What does a second reverse do?

It restores the line. olleH becomes Hello.

How many characters can I enter?

At most 2000. A longer paste is rejected.

What does a blank field do?

It is rejected. Enter text to mirror.

Does the character count change?

No. Reversing does not add or remove characters.

Is there a seed?

No. The same text always reverses the same way.

What do the lines show?

The character count and the line count.

What does copy return?

What does copy return? On this page the answer stays with the result from the submit you just made. Copy the sentence on screen rather than reusing a neighboring FAQ word for word. FAQ 11 is only about this question.

What does reset restore?

An empty field. The previous result stays until the next run.