Reverse Text Text
Flip text backwards by character, word or line.
Reverse Text is a free online tool that flip text backwards by character, word or line. It runs entirely in your web browser using plain JavaScript, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.
- Price
- Free — no account, no quota, no watermark
- Category
- Text
- Where it runs
- In your browser, on your device
- Files uploaded
- None
- Technology
- plain JavaScript
- Settings
- 1
- Works offline
- Yes, after the first visit
About Reverse Text
Reversing text is a classic case where the obvious implementation is wrong. Splitting on characters breaks emoji, flags and accented letters built from combining marks, because those are several code points that must stay together and in order. This reverses by grapheme cluster — what a person would call a character — so 👨👩👧 survives intact rather than shattering into its component parts.
How to use it
- Paste the text you want to run through reverse text.
- Set reverse by.
The one setting
| Setting | What it does | Default |
|---|---|---|
| Reverse by | Choose from 3: Characters, Words, Lines. | Characters |
Under the hood
| Runs on | plain JavaScript — runs the whole thing |
| Controls | Reverse by |
Questions
Why do other tools mangle emoji when reversing?
They reverse an array of code points. A family emoji is several people joined by zero-width joiners; reversed naively, the joiners end up in the wrong places and the sequence falls apart into separate figures.
Can I reverse word order instead?
Yes — there is an option for reversing the order of words or of lines rather than characters.
What does the reverse by option change?
It offers 3 choices — Characters, Words and Lines. The default is Characters, which suits most cases; change it when your input or your destination calls for something specific.