Reverse text letters, words or lines

Paste a text and see its letters, words or lines in reverse order, in your browser: nothing you type is uploaded.

  • Nothing uploaded
  • As you type
  • Any language
  • Free, no sign-up

Getting ready…

Quick facts from our tests

Check it yourself: once the page has loaded, turn off Wi-Fi and mobile data, and Reverse Text still works. Your browser's network panel (F12 on a computer) lists every request the page makes: you'll see Google's ad requests, and none of them carries your text. Our code never gives your text to the ad code. How we prove it

How to reverse text

  1. Paste the text

    Or open a text file.

  2. Pick what to reverse

    Letters, words or lines.

  3. Copy the result

    Or download it.

When this tool isn't the right fit

  • You want mirror writing or upside-down letters. This tool turns the order round; it doesn't flip the letters' shapes.
  • You need reversed Hindi or another script to be readable. Reversed scripts are the letters in the opposite order, not words. Use it for games and checks.

Why use PDFGuild's text reverser

More free tools

Private like this one: nothing you type or add leaves your device.

Reverse Text: the complete guide

Letters, words and lines turned round, emoji and Indian scripts kept whole, palindromes, real results and tips.

In this guide
  1. What it does
  2. Step by step
  3. How text is reversed
  4. Real results
  5. Letters kept whole
  6. Words and lines
  7. Everyday uses
  8. Opening a file
  9. Privacy
  10. Long texts
  11. Tips
  12. Limits
  13. Terms explained

What Reverse Text does, and when you need it

Reverse Text turns a text round, in one of three ways: the letters of each line, so Hello becomes olleH; the words of each line, so the last word comes first; or the order of the lines, so the last line comes first. The result appears in the second box as you type, ready to copy or download. The box with your own text is never changed.

A letter that is made of several characters stays whole: an emoji with a skin tone, a flag, a letter with an accent, or a Hindi letter with its vowel sign is never split. It runs in your browser: your text is never uploaded and never saved, so closing the page forgets it.

Some jobs it is made for:

  • Word games and puzzles, where a word or a message is written backwards.
  • Checking a palindrome, a word that reads the same both ways, such as racecar or level.
  • A list in the opposite order, last line first, such as a log with the newest entries at the bottom.
  • Words in the opposite order, for a sentence-order exercise or a name written surname first.
  • Fun messages for friends, which they read by reversing them again.

Step by step: reversing text

It takes a few seconds, and the same steps work on a phone and on a computer:

  1. Put your text in the top box. Type it, paste it with the Paste button or Ctrl+V, or press and hold in the box on a phone. You can also choose Open a text file, or drop a text file anywhere on the page.
  2. Pick what to reverse under Reverse: The letters: olleH, The words in each line, or The order of the lines.
  3. Read the result in the second box. It follows your typing at once.
  4. Copy or download the result. Copy puts it on your clipboard; Download saves it as a text file.

Press Try a sample: the box fills with three lines, Hello world, नमस्ते दुनिया and The last line. With The letters chosen, the result is dlrow olleH, यानिदु स्तेमन and enil tsal ehT: each line is reversed on its own, and the lines stay in their order. Reversing the result again gives back what you started with.

How text is reversed, exactly

The rules are written here in full, and the same rules are checked by our tests.

PartThe ruleExample
The lettersEach line's letters in the opposite order. Lines stay in their orderHello world becomes dlrow olleH
A letterWhat a reader sees as one letter: an emoji with its skin tone, a flag, a letter with its accent, or an Indian letter with its vowel sign stays whole👍🏽 🇮🇳 ok becomes ko 🇮🇳 👍🏽
The words in each lineEach line's words in the opposite order. Punctuation stays with its word, and the spaces between words keep their widthsHello, world! becomes world! Hello,
The order of the linesThe last line first. The lines themselves are not changeda, b, c becomes c, b, a
Empty linesKept, in their place for letters and words, turned round with the rest for linesA blank line between paragraphs stays
TwiceFor ordinary text, reversing the same way twice gives back the originalolleH becomes Hello again

Nothing else changes: no capital letters, spaces or punctuation are added or taken away.

Real results from our tests

We tested Reverse Text with headless Chromium 148, the open-source browser Chrome is built on, on a Windows laptop with an Intel Core i7-1185G7 and 32 GB of memory, on 1 November 2026. Other work was running on the laptop at the same time, so times vary from run to run: each time below is the middle one of 3 runs.

Reversing is quick. It took 265 milliseconds or less to reverse the letters of 500,000 characters of English, Hindi or a mix of English, Hindi, Tamil and emoji, keeping every letter whole, the most the page takes at once.

After a text is put in the box, the page waits 0.15 second before it works, so a burst of typing is worked on once, and 0.4 second when the text has more than 400,000 characters. So the result of 500,000 characters of English showed between 0.49 and 0.53 second after it was put in the box in our test. A result of more than 100,000 characters shows only its first 100,000 in the box, and says so, because showing a very long text is slow for the browser; Copy and Download take all of it.

Checked by our tests. Every example on this page is one of our tests, run on the page's own code. They cover letters, words and lines, emoji with skin tones and flags, accents typed both ways, Hindi letters with their vowel signs, double spaces and empty lines, and reversing twice to get the original back.

Size and offline. On a first visit the page downloads about 0.1 MB for the tool: the page, its styles, its scripts and the fonts, with Google's ad code not counted. In our test we switched the network off after the page had loaded and pressed Try a sample: the result showed 0.5 seconds later or less in each of 15 runs.

Phone-sized screen. We also ran the tests on a phone-sized screen in headless Chromium (390 × 844 pixels, with touch). That is not a real phone. Every button, box and tick box was 44 pixels high or more, and the page did not scroll sideways. These tests don't cover Safari or Firefox.

Try it yourself: press "Try a sample" at the top of this page. It puts three lines in the box, one of them in Hindi. With The letters chosen, the result is dlrow olleH and the two other lines reversed, each on its own. Then choose The order of the lines: The last line comes first.

Try the sample

Emoji, accents and Indian scripts kept whole

On a computer, many letters are made of more than one character. A thumbs-up with a skin tone is two characters, a flag is two letters of a code, and an accent can be stored as a separate mark after its letter. A simple reverse that swaps characters would split them, leaving a bare emoji and a lost skin tone, two broken flag halves, or an accent on the wrong letter.

Reverse Text works with letters as you see them instead. 👍🏽 🇮🇳 ok becomes ko 🇮🇳 👍🏽, with the skin tone and the flag intact, and café becomes éfac, with the accent still on its e, however the é was typed.

Hindi, Tamil and other Indian scripts write a letter and its vowel sign as separate characters, and join consonants into one letter. These stay whole too: नमस्ते becomes स्तेमन, with स्ते kept as one piece. The result is the letters in the opposite order, not a Hindi word, so reversed Hindi is for games and checks, not for reading.

Reverse Text after its sample: three lines written backwards letter by letter, the Hindi line too
Our sample text, reversed in the browser.

Reversing words, and reversing lines

The words in each line keeps each word as it is and turns their order round, line by line. one two three becomes three two one: the double space between two and three stays a double space, now between three and two. Punctuation belongs to the word it touches, so Hello, world! becomes world! Hello,. A sentence read backwards word by word is a common exercise, and a name such as Ravi Kumar Sharma becomes Sharma Kumar Ravi.

The order of the lines leaves every line as it is and puts the last one first. It is handy for a list with the newest entry at the bottom, such as a log, a chat export or a list of payments, when you want the newest at the top. Sort Lines does the same with its Last line first order, and can also sort the lines alphabetically.

The whole text, last letter first. Each choice works line by line, but two of them together reverse everything. First choose The order of the lines, and copy the result into the top box; then choose The letters. The lines are now in the opposite order and each one is reversed, so the text reads from its very last letter to its first, with its line breaks kept. Do the same two steps again to get the original back.

Everyday uses

  • Palindromes. Type a word and choose The letters: if the result is the same word, it is a palindrome. racecar and level stay the same, while hello becomes olleh. For a sentence, take out the spaces and punctuation first.
  • Secret messages. Send a reversed message; the reader reverses it again here to read it.
  • Puzzles and quizzes, with a word to be read backwards.
  • Newest first, by reversing the order of the lines of a list that grows at the bottom.
  • Surname first, by reversing the words of names, one name to a line.
  • Other codes: write a message in dots and dashes with the Morse Code Translator.

Opening a text file

Choose Open a text file, or drop a file anywhere on the page, and the tool reads it on your device. These files open: .txt, .md, .csv, .tsv, .log, .json, .xml, .srt, .vtt, .html and other plain-text files, with up to 500,000 characters. The file's name and size appear below the box with an x; press the x to remove the file's text. The file is read on your device and never uploaded. The result can be copied, or saved as a new text file; the file you opened is never changed.

  • Letters. A file saved as UTF-8 (a byte order mark at the start is dropped) or as UTF-16 with a mark is read correctly, Hindi and Tamil included. A file that is not valid UTF-8 is read as Windows-1252, and the page says so: "This file isn't saved as UTF-8, so it was read as Windows-1252. If letters look wrong, save it as UTF-8 and add it again."
  • Windows line breaks. A Windows file stores each line break as two characters. The tool reads the pair as one line break, so the lines of a Windows file are turned round like any other.
  • Several files. Only the first one opens, and the page says so, for example "Opening a.txt only. Open the others one at a time."
  • Not a text file. A Word, PDF or picture file renamed to .txt is not read, and the page says it doesn't look like a text file. A file named .docx, .pdf or .rtf gets this message: "Only text files (.txt and similar) can be opened here. For a Word or PDF file, copy its text and paste it into the box."
  • Empty or too long. An empty file says it is empty. A file with more than 500,000 characters is not opened, and the page says how many characters it has.

For a Word or PDF file, open it in the program you normally use, select the text, copy it, and paste it into the box. A PDF whose pages are scans holds pictures, not text, so there is nothing to copy.

Private: your text stays on your device

Your text never leaves your device. The tool runs inside your browser and has no upload step: it never sends the text you type, paste or open anywhere, and it keeps no copy of it, so closing the page forgets it. The page's Content Security Policy lets it contact only this site and Google's ad service, which pays for the site; our code never gives your text to the ad code. You can check it yourself in your browser's network panel (F12 on a computer): reversing the text adds no request that carries your text. The site's menu does remember the last few tools you opened, on your device.

Even a puzzle or a message for a friend is yours. This tool turns it round without handing it over. Our privacy policy says what we collect, and How we prove it shows how you can check our claims yourself.

Once the page has loaded, it also works with the internet switched off. In our test we switched the network off after the page had loaded and pressed Try a sample, and the result showed 0.5 seconds later or less in each of 15 runs.

Reverse Text after its sample: three lines written backwards letter by letter, the Hindi line too, at a phone's size with the internet switched off by our test, between our test's bands that read "Internet switched off" and "Nothing uploaded: 0 requests sent data"
Proof from our testOn 9 November 2026, our test opened Reverse Text at a phone's size, switched the internet off and ran it on its built-in sample. It finished with no connection, and none of the page's 15 requests sent any data.How we test, and how to check it yourself

Long texts

The tool takes up to 500,000 characters at once, about 500 KB of English text. What happens when a text is longer:

  • A paste that would go over the limit is not added. This holds for Ctrl+V, for press and hold, and for the Paste button. The page says, for example: "That text is very long (550,000 characters), so it was not added. The box can hold 500,000 characters. Split it into smaller parts for faster results."
  • A file with too many characters is not opened. The page says, for example: "long.txt has 550,000 characters, more than the 500,000 counted at once. Split it into smaller parts for faster results."
  • A text that gets in some other way stays, unchanged. If text is dragged into the box, for example, it stays there, the result stays empty and the note says: "This text is very long (550,000 characters). Split it into smaller parts for faster results."

Reversing is quick. In our tests it took 265 milliseconds or less to reverse the letters of 500,000 characters of English, Hindi or a mix of English, Hindi, Tamil and emoji, keeping every letter whole. The slow part is the browser showing a very long text in a box, so a result of more than 100,000 characters shows only its first 100,000, without cutting an emoji in half, and the note says so, for example "Showing the first 100,000 of 164,999 characters. Copy and Download take all of it." Copy and Download always take the whole result.

Tips

  • One item to a line when reversing words or lines, so each line is turned round on its own.
  • Reverse twice to check: for ordinary text, doing it again gives back what you started with.
  • Take out spaces and punctuation before checking a sentence for a palindrome; Find and Replace can delete them.
  • Choose the order of the lines to flip a list without touching its words.
  • For the whole text backwards, reverse the order of the lines first, then the letters, as described above.
  • Keep your own copy. The page forgets everything when you close it.

Limits

  • No mirror writing. It turns the order round; it doesn't flip the letters' shapes or write upside down.
  • Reversed scripts aren't words. Reversed Hindi, Tamil or Arabic is the letters in the opposite order, not something to read.
  • Line by line. Letters and words are reversed inside each line; for the whole text in one piece, put it on one line first with Remove Line Breaks.
  • 500,000 characters at once, about 500 KB of English text.
  • Text only. It doesn't open Word or PDF files: copy their text first.

Terms explained

Palindrome
A word or sentence that reads the same forwards and backwards, such as level.
Grapheme
What a reader sees as one letter, even when a computer stores it as several characters.
Emoji modifier
A character that changes an emoji, such as a skin tone.
Vowel sign
The mark an Indian script adds to a consonant for its vowel, as in के or कि.
Combining mark
An accent stored as its own character after the letter it sits on.

Frequently asked questions

How do I reverse text?

Type or paste it into the top box, and choose what to reverse: the letters, the words in each line, or the order of the lines. The result appears at once. Copy it, or download it as a text file.

How do I write a word backwards?

Type it and keep The letters: olleH chosen. Hello becomes olleH.

How do I reverse the order of words?

Choose The words in each line. Each line's words come in the opposite order, and punctuation stays with its word: Hello, world! becomes world! Hello,.

How do I reverse the order of lines?

Choose The order of the lines. The last line comes first, and the lines themselves are not changed.

Does it keep emoji whole?

Yes. An emoji with a skin tone, a flag or any emoji made of several characters stays whole and the right way round: 👍🏽 🇮🇳 ok becomes ko 🇮🇳 👍🏽.

Does it work for Hindi and other scripts?

Yes. A Hindi or Tamil letter with its vowel sign stays whole, so नमस्ते becomes स्तेमन. The result is the letters in the opposite order, not a Hindi word.

How do I check if a word is a palindrome?

Type it and choose The letters. If the result is the same word, as with racecar or level, it is a palindrome. For a sentence, take out the spaces and punctuation first.

Can it make mirror or upside-down text?

No. It turns the order of letters, words or lines round; it doesn't flip the shapes of the letters.

Are lines reversed into one?

No. Letters and words are reversed inside each line, and the lines keep their order. To reverse everything in one piece, put the text on one line first.

How do I get my text back?

Reverse the result again the same way: for ordinary text, reversing twice gives back the original.

Is Reverse Text free?

Yes. There is no sign-up and no watermark, and you can use it as often as you like. Ads from Google help pay for the site. They are kept apart from the tool, and our code never gives them your text.

Is my text uploaded anywhere?

No. The tool has no upload step: it works inside your browser and never sends the text you type, paste or open anywhere, and it keeps no copy of it. Google's ad code is on the page, and our code never gives it your text. How we prove it shows how to check.

How much text can it take at once?

Up to 500,000 characters, about 500 KB of English text. A paste or a file that would go over is not added, and the page says so. In our tests it took 265 milliseconds or less to reverse the letters of 500,000 characters of English, Hindi or a mix of English, Hindi, Tamil and emoji, keeping every letter whole. See Long texts.

Can I open a text file, or a Word or PDF file?

A text file, yes: choose Open a text file or drop a .txt, .csv or similar file on the page, with up to 500,000 characters. A Word or PDF file must have its text copied out first, because the tool reads text, not those files.

Does it work offline?

Yes, once the page has loaded. In our test we switched the network off after the page had loaded and pressed Try a sample: the result showed 0.5 seconds later or less in each of 15 runs. If you open the page for the first time with no internet, it can't load.

By the PDFGuild team · Updated · How we test