文本反转
反转可见的字素簇,在支持的情况下保持组合重音符号和表情符号完整。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
Reversing text sounds trivial, but many simple reversers break emoji and accented letters because they reverse the computer’s code units rather than the characters a reader sees. This tool reverses visible characters (grapheme clusters), so a thumbs-up with a skin tone or an e with a combining accent stays whole.
It is used for puzzles, palindrome checks, mirrored lettering, testing how software handles Unicode, and checking how a string reads backwards.
使用方法
- Type or paste the text.
- Run the tool.
- Copy the reversed text.
- To check a palindrome, compare the result with the original, ignoring spaces and capitals.
计算原理
The text is split into grapheme clusters with Intl.Segmenter and the order of the clusters is reversed. Line breaks are reversed along with everything else.
计算示例
Reversing "Ñandú café" gives "éfac údnaÑ". Every accented letter stays a single letter, even when it was typed as a plain letter followed by a separate accent mark, and emoji with skin tones are kept whole the same way; a naive reverser would move the accent onto the wrong letter.
示例输入和结果
abc → cba
局限性
- Reverses everything, including punctuation and line breaks.
- Complex emoji sequences depend on your browser’s segmentation support.
- Up to 100,000 characters.
最后更新:
常见问题
Does it reverse words or letters?
Letters (visible characters). The word order is also reversed as a result.
Will it make mirror writing?
It reverses order but does not flip the shapes of letters.
Does right-to-left text work?
Characters are reversed in storage order; the display direction of Arabic or Hebrew may make the result look unexpected.
故障排除
An emoji split into two pieces.
Your browser may not recognize a newer emoji sequence. Update the browser.
Lines appear in reverse order.
Line breaks are characters too, so the last line comes first.
I only want words reversed, not letters.
Put each word on its own line and use sort lines in descending order, or reorder by hand.
隐私 & 免费使用
我的输入会被保存吗?
你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。
这个工具免费吗?
是的。无需注册或付费。