文字与文档工具

文本反转

在浏览器中反转完整文本或逐行内容;可按显示字素簇或Unicode码点反转,并选择先修剪Unicode边缘空白及在逐行模式移除处理后为空的行。CRLF/CR统一为LF,逐行模式保留行序,结果可复制或下载TXT。

优先本地处理无需注册隐私说明 ↗

Maximum 100,000 characters. Per-line mode supports up to 50,000 lines.

Cleanup before reversal

使用步骤

如何使用

  1. Enter up to 100,000 characters and choose complete-text or per-line reversal.
  2. Choose displayed grapheme clusters or Unicode code points, then set trimming and empty-line handling.
  3. Reverse the text, review the Unicode-sensitive result, then copy it or download a text file.

Choose the reversal unit deliberately

Displayed-grapheme mode uses browser Unicode segmentation so combining sequences, flags, emoji modifiers, and joined emoji normally remain intact. Code-point mode reverses every Unicode scalar value separately, which can place combining marks before their base and separate the components of a displayed emoji. Neither mode performs mirrored-glyph substitution or bidirectional-layout correction.

Whole text and per-line processing differ

Complete-text mode reverses line breaks along with the surrounding content. Per-line mode keeps line order and reverses each retained line independently. CRLF and CR are normalized to LF first. Optional trimming removes Unicode whitespace from the edges of the complete text or each line. In per-line mode, Remove empty lines runs after optional trimming, so it can also remove whitespace-only lines when trimming is enabled. Per-line mode supports up to 50,000 lines.

常见问题

你可能还想知道

Will emoji stay together?

Usually in displayed-grapheme mode, which follows the browser’s Unicode grapheme segmentation. Code-point mode intentionally exposes and reverses the components separately.

Does per-line mode reverse the order of lines?

No. It preserves line order and reverses the contents of each retained line. Use complete-text mode when line breaks themselves should move with the reversed sequence.

What happens to Windows line endings?

CRLF and lone CR line endings become LF before trimming, filtering, or reversal, giving one consistent output format.