文本反转

将文本整体反转,或逐行反转后保持行序。接收任意多行文本,支持去除首尾空白及跳过空行,输出逆序文本。本工具逐字符反转 Unicode 序列,复杂复合表情符号或重音组合字符可能会被拆散。

反转文本时保留行序并核对字符

适合反转普通文本或逐行检查字符顺序。逐行处理与整段反转的结果不同;它不是排版工具,也不保证正确保留所有表情或组合字符。

操作步骤

  1. 粘贴普通文本。需要每行分别反转时保留“处理多行文本”;需要整段反转时关闭该选项。
  2. 按需启用去除首尾空白与跳过空行。跳过空行发生在去除空白之前,仅含空白的行仍可能留下空行。
  3. 对照示例检查行序与字符,再复制或下载结果。涉及表情、音标组合或从右向左书写的文本时,请逐项核对。

去除空白并逐行反转两条文本

输入

  alpha  

beta

选项

处理多行文本:开启;跳过空行:开启;去除首尾空白:开启

输出 / 解析结果

ahpla
ateb

限制与常见问题

  • 逐行模式保留行的先后顺序;关闭后,换行也参与整段反转。
  • 表情符号、组合音标及部分复杂字符可能被拆开,输出异常时应保留原文并改用适合该文字的处理工具。
  • 本工具不会判断反转结果是否具有语言含义,也不能用作加密或隐私保护。

Reverse text while checking line and character order

Reverse ordinary text or inspect character order line by line. Per-line and whole-text reversal differ. This is not a typesetting tool and does not guarantee preservation of all emoji or combining characters.

Steps

  1. Paste ordinary text. Keep per-line processing enabled to reverse each line, or turn it off to reverse the entire text.
  2. Enable trimming and skipping empty lines only as needed. Empty lines are skipped before trimming, so a whitespace-only line may still leave an empty line.
  3. Compare line order and characters with the example before copying or downloading. Inspect emoji, combining marks and right-to-left text individually.

Trim and reverse two lines independently

Input

  alpha  

beta

Options

Per-line processing: on; skip empty lines: on; trim whitespace: on

Output / inspection

ahpla
ateb

Limits and common issues

  • Per-line mode keeps the original line order. When disabled, line breaks participate in reversing the whole text.
  • Emoji, combining marks and some complex characters may break apart. Keep the original and use an appropriate language-aware tool if the output is damaged.
  • Reversal does not establish linguistic meaning and is not encryption or a privacy safeguard.