Toolshub
校验 · 在浏览器中运行

找出文本中不可见的 Unicode 字符

检测粘贴文本中的不可见 Unicode——零宽、双向控制、标签、控制字符与异常空格——按行与列逐一点名,并返回一份清理后的副本。

免费 · 免费上限每文件 1.0 MB · 不限每天次数

粘贴文本;每个不可见码位都会连同其行与列被点名。在本标签页内运行——不上传任何内容。

在本标签页内运行,不上传任何内容。

结果

永久免费:每文件最多 1 MB,每次 1 个文件,不限每天次数,也不需要账号。站内其余工具一律按件一次买断。价格。

不需要授权:这一页没有要付费的东西。

这页与别处不同之处

不可见字符不显示却真实存在:零宽空格、双向控制符、标签字符、软连字符以及非 ASCII 空格。它们让标识符相撞、让粘贴的代码出错。这个页面按 Unicode 通用类别扫描粘贴的文本——每一个格式(Cf)、控制(Cc)与异常空格(Zs)码位,外加变体选择符区间——覆盖固定黑名单会漏掉的部分。每个字符都按码位、Unicode 名称、行、列与偏移点名,清理后的副本会移除不可见字符并把异常空格规范化为 ASCII。这是本地自查,不是易混淆字符审计。

用 Unicode 通用类别属性转义而非固定黑名单来检测,因此每个格式字符都能被抓到,并按行、列与偏移定位每一次出现,附带逐字节精确的清理副本。

示例输入与输出

环节 情形 体积 说明
输入 Text with seven invisible code points 63 B seven lines, each hiding one character: a zero-width space, soft hyphen, non-breaking space, bidi override, tag character, variation selector and function application
输出 An HTML report and a cleaned text file 4.4 KB names each code point with its line and column; the cleaned copy drops the invisible ones and turns the non-breaking space into an ASCII space

这里写的是本页构建时对照的演示数字,不是对每个文件的承诺。

你可以自己核对什么

承诺 测试结果
检测按通用类别进行,而不是按黑名单。 样本藏了 U+2061 FUNCTION APPLICATION,一个多数黑名单会漏掉的冷门格式字符;报告仍点名它,因为扫描测试的是 Cf 属性转义。
每一次出现都被定位,而不只是被计数。 helloworld 中的零宽空格被报在第 1 行、第 6 列、偏移 5,记为 U+200B ZERO WIDTH SPACE。

常见问题

以下问答目前仍为英文原文。

Is this a confusable or homoglyph detector?

No. It finds invisible code points — format, control, unusual space and variation selectors — not look-alike letters such as a Cyrillic a standing in for a Latin one. That is a separate UTS #39 confusable audit. This page tells you what is hidden in the text, not what is disguised as something else.

Why does it catch characters other checkers miss?

Most online detectors keep a fixed list of common invisible characters. This page tests the Unicode General Category of every code point with property escapes, so any format character — including obscure ones like U+2061 FUNCTION APPLICATION or U+180E MONGOLIAN VOWEL SEPARATOR — is caught, and the list grows with the Unicode data the browser already ships.

What does the cleaned copy change?

It removes format, control and variation-selector code points. In the default mode it also turns every unusual space into an ASCII space so words do not run together; the keep mode leaves those spaces as they were. Tab, newline and carriage return stay, visible characters are untouched, and no normalisation is applied.

Are some of these characters legitimate?

Yes. A zero-width joiner holds an emoji family together, a zero-width non-joiner shapes Persian and Arabic text, and bidi marks order mixed-direction text. The report names them without judging them; cleaning removes them knowingly, which can change how emoji and some scripts render.

Is my text uploaded anywhere?

No. You paste text into the page and the scan, the report and the cleaned copy are all produced in this tab. The site has no upload endpoint, which is the point of a free local checker for text you may not want to leave your machine.

价格

这件工具永久免费:不限每天次数,不需要账号,也没有留在购买之后才给的部分。它的作用就是当这个站点的入口,付费工具维持站点运转。

这件工具每次收 1 个文件,单文件上限 1 MB。这就是全部上限:不限每天次数,也没有留到购买之后才给的部分。

相关工具