Some of the most confusing bugs in web content are caused by characters you cannot see. A word that will not match in search, a URL that looks right but returns 404, a heading that wraps in the wrong place, a username that looks identical to another one — the cause is often an invisible character hidden in the text.

The usual suspects

  • Non-breaking space (U+00A0). Looks like a normal space but prevents a line break. Useful between a number and its unit ("10 kg") or in names; a problem when pasted into code or URLs.
  • Zero-width space (U+200B). Takes no space at all but allows a line break. Helpful for breaking very long words or URLs; harmful when it ends up inside a keyword or an address.
  • Zero-width non-joiner and joiner (U+200C, U+200D). Control how letters connect in scripts such as Arabic or Persian, and how emoji combine. Essential in those cases, invisible noise elsewhere.
  • Hangul filler (U+3164). A Korean character that renders as blank space. Often used to create "empty" names or messages on platforms that do not allow blank fields.
  • Byte order mark (U+FEFF) at the start of a file — a frequent cause of "headers already sent" errors in PHP and of broken JSON.

Where they cause problems

  • URLs and slugs. An invisible character copied into a link creates an address that looks right and does not exist.
  • Title tags and keywords. A zero-width space inside a word splits it in two for search and for any tool that compares text.
  • Structured data and code. JSON, CSV and configuration files can fail to parse because of a character nobody can see.
  • Duplicate detection. Two texts that look identical are not identical to a computer, so duplicates slip through.
  • Spoofing. Invisible and look-alike characters are used to make fake usernames and links that look legitimate. Systems that accept user names should normalise or reject them.

How to find and remove them

  • Use an editor that can show invisible characters, or search for the specific code points with a regular expression.
  • Paste text into a plain-text editor before moving it into code or a CMS field that expects plain text.
  • Normalise user input on the server — trim, collapse spaces, strip zero-width characters where they have no purpose.
  • When a URL "looks right" but fails, retype it rather than copying it again.

When you actually need one

Invisible characters have legitimate uses: keeping "10 kg" on one line, allowing a long URL to wrap on mobile, creating an intentionally blank line on a platform that strips empty ones, or formatting social media bios and posts. Use them deliberately, in display text only, and never in addresses, code or data.

Invisible Character in SEO Melody

The free Invisible Character tool in your SEO Melody account lets you pick one of these characters — Hangul filler, zero-width space, zero-width non-joiner and joiner, or non-breaking space — see its code point and copy it with one click. It does not use credits.

Summary

Invisible characters are useful in display text and harmful almost everywhere else. Know the common ones, keep them out of URLs, code and keywords, normalise user input, and when something that looks right does not work, suspect what you cannot see.