🔄 文字反转工具

支持多种反转模式,输入文字即可实时查看反转结果。

ℹ️ 反转模式说明

全部反转:整个字符串从头到尾完全反转
单词反转:保持每个单词内部顺序,反转单词的排列顺序
行序反转:保持每行内容不变,反转行的排列顺序
保留单词反转字序:保持单词顺序不变,反转每个单词内部的字符顺序
随机打乱:将所有的字符随机打乱排列

❓ Frequently Asked Questions
Character reversal reverses each string character (e.g. "hello" -> "olleh"). Line (or sentence) reversal reverses the order of text lines (e.g. "line 1 line 2" -> "line 2 line 1"). Different concepts; the tool supports both.
Yes. The tool uses Array.from() to handle surrogate pairs, so emoji and rare CJK characters are correctly reversed. Common mistakes in other tools include emoji rendering as garbage and rare characters being split.
Click the "Copy Result" button. Note that some systems may not support rendering reversed Unicode characters (like the reversed "ɐ"); test the target platform first.
Common uses: password obfuscation, text games, copy-paste detection (check if text was manually reversed), creative writing, and U+202E right-to-left override testing.