String Reverse Tool
Reverse text strings quickly with multiple reverse modes
Select Reverse Mode
What is String Reverse?
String reversal is the operation of reversing the character order in text. For example, 'Hello' reversed becomes 'olleH'. There are multiple modes: reverse all, reverse words, reverse each line, etc., suitable for different text processing scenarios.
Common uses: data processing, text conversion, basic cryptography operations, string algorithm practice, etc.
How to Use
Basic Operations
- Enter or paste the text to reverse in the left input box
- Select a reverse mode (reverse all, reverse words, etc.)
- The right side automatically shows the reversed result
- Click 'Copy' to copy the result, or 'Swap' to use the result as input for further operations
Reverse Mode Description
- Reverse All: Reverse the entire string including all characters
- Reverse Words: Keep each word's internal order, but reverse the order between words
- Reverse Each Word: Keep word order, but reverse characters within each word
- Reverse Each Line: Reverse characters within each line separately
- Reverse Line Order: Keep each line's content, reverse the order of lines
- Reverse Sentences: Split by periods, question marks, exclamation marks, reverse sentence order
Examples
Reverse All Example
Reverse Words Example
Reverse Each Line Example
FAQ
Q: Does reverse work correctly with Chinese characters?
A: Yes. This tool processes characters using Unicode code points, fully supporting Chinese, Japanese, Korean and other multi-byte characters.
Q: What's the difference between 'Reverse Words' and 'Reverse Each Word'?
A: 'Reverse Words' reverses the order of words (e.g., A B C → C B A), while 'Reverse Each Word' reverses the characters within each word (e.g., Hello World → olleH dlroW).
Q: Are newlines reversed?
A: 'Reverse All' will also reverse the position of newlines. To keep each line independent, use the 'Reverse Each Line' mode.
Q: Can I reverse multiple times?
A: Yes. Click 'Swap' to put the result into the input box, then select a reverse mode again. Reversing all twice will restore the original text.