How to find hidden characters in text

Hidden characters can be legitimate language controls, formatting marks, or accidental copy-and-paste residue. The reliable way to investigate them is to inspect the actual code points instead of trusting visual appearance.

Concrete code points

For example, U+200B ZERO WIDTH SPACE has no visible width, while U+200D ZERO WIDTH JOINER can connect emoji or shaping sequences. U+202E RIGHT-TO-LEFT OVERRIDE affects display direction and may be useful in a controlled text format, but it deserves review in identifiers or filenames. Paste this example into the inspector:

invoice\u200b-2026\u202e.txt

RevealText reports the actual character, name, code point, and position. A finding is evidence about text structure; it is not proof of author intent, maliciousness, or AI authorship.

Legitimate uses and risks

Joiners, directional marks, and script-specific controls can be required for languages, typography, emoji sequences, or bidirectional text. Removing them blindly can change meaning or presentation. Risks include broken matching, confusing display order, and accidental identifier differences.

Clean conservatively

Review every change. Preserve joiners when they carry meaning and compare before/after output. Start with Inspect this text locally, then use Clean with reviewable options.

Reference: Unicode UTR #36: Unicode Security Considerations.

Reproduce a synthetic incident

Original fixtures checked on 22 October 2026. No user text is included. Download all cases and independent encoding counts.

An invisible character in a CSV header

Remove U+200B from the header. Downloaded originals use CRLF; browser textareas normalize newlines to LF before Inspect and Clean. Editor counts and the editor-specific expected result therefore differ from the downloaded CRLF files. Commas and line order remain; this is plain text, not structural CSV repair.

Original text · Expected text

\u{73}\u{6B}\u{75}\u{200B}\u{2C}\u{71}\u{75}\u{61}\u{6E}\u{74}\u{69}\u{74}\u{79}\u{D}\u{A}\u{30}\u{30}\u{31}\u{2C}\u{32}\u{D}\u{A}

24 UTF-8 bytes · 22 UTF-16 units · 22 code points in the downloaded original. In the editor: 22 bytes · 20 UTF-16 units · 20 code points (LF). Download the editor input and editor expected output to reproduce the text-area workflow. Compare the original and expected text in Compare; use Inspect to check offsets and Clean to choose a minimal transformation. The original remains in the editor.

One family emoji, several positions

28 UTF-8 bytes, 13 UTF-16 units, 9 code points, 3 graphemes. NBSP starts at byte offset 26, UTF-16 offset 12 and code-point position 9. Removing joiners splits the family presentation; preserve them unless removal is intentional.

Original text · Expected text

\u{41}\u{1F468}\u{200D}\u{1F469}\u{200D}\u{1F467}\u{200D}\u{1F466}\u{A0}

28 UTF-8 bytes · 13 UTF-16 units · 9 code points in the downloaded original. Compare the original and expected text in Compare; use Inspect to check offsets and Clean to choose a minimal transformation. The original remains in the editor.

Mixed scripts and directional controls

The second character is Cyrillic U+0430, while the other letters are Latin; U+202E changes display order. Mixed scripts can be legitimate. These are character observations, not conclusions about identity, authorship, fraud or intent.

Original text · Expected text

\u{70}\u{430}\u{79}\u{70}\u{61}\u{6C}\u{202E}\u{2D}\u{65}\u{78}\u{61}\u{6D}\u{70}\u{6C}\u{65}

18 UTF-8 bytes · 15 UTF-16 units · 15 code points in the downloaded original. Compare the original and expected text in Compare; use Inspect to check offsets and Clean to choose a minimal transformation. The original remains in the editor.