| # | Char | Codepoint | UTF-8 Hex | HTML Entity | Note |
|---|
Copy-pasting text from PDFs, Slack, Microsoft Word, emails, or web pages frequently introduces invisible Unicode characters that break parsers, fail string equality checks, or cause mysterious syntax errors in code and config files. Because these characters have zero width or look identical to normal ASCII spaces, normal text editors make them impossible to spot. This inspector breaks your string down character by character, displaying each Unicode codepoint (U+XXXX), exact UTF-8 byte sequence in hex, HTML numeric entity, and a warning badge for hidden or control characters.
U+200B, ZWSP): Completely invisible and zero pixels wide. Frequently sneaks into URLs, API keys, and JSON strings copied from rich-text editors or chat apps, causing "invalid URL" or "auth failed" bugs.U+FEFF, BOM): Appears at the start of UTF-8 files exported by Windows Notepad or Excel CSV exports (EF BB BF). It can break JSON parsers, shell script shebangs (#!/bin/bash), and PHP headers.U+00A0, NBSP): Looks identical to a normal ASCII space (U+0020), but programming language lexers, YAML parsers, and SQL engines do not treat it as whitespace.U+000D, \r): Windows CRLF line endings (\r\n) can break Linux bash scripts ($'\r': command not found) or regex $ anchors.U+00AD) & Directional Marks (U+200E/U+200F): Hidden formatting characters that alter text equality, sorting, and database lookups.U+0000–U+007F) take 1 byte, Latin/Cyrillic/Greek letters take 2 bytes, CJK and symbols like € take 3 bytes, and emojis (such as 🚀, U+1F680) take 4 bytes.Array.from(str) iterates over full Unicode codepoints (handling UTF-16 surrogate pairs properly) rather than splitting 4-byte emojis in half.