­ Soft Hyphen

All symbols
HTML · WritingU+00AD · Latin-1 Supplement
invisible

Soft Hyphen

U+00AD · decimal 173 · Latin-1 Supplement

This character renders as nothing. It still occupies a position in the string, so it breaks equality checks, slugs, and search — which is exactly why it is so hard to find by eye.

Every way to write it

7 forms
HTML entity

­

A named entity — readable, and safe in any HTML document without declaring a charset.

HTML numeric

­

The numeric form works everywhere a named one does, and exists for every character.

CSS content

\00AD

For a content property in a ::before or ::after rule. No semicolon, and mind the trailing space.

JavaScript

\u00AD

Valid in a JavaScript or JSON string literal, so it survives files and pipelines that are not UTF-8 clean.

Python

\u00AD

The escape for a Python string literal.

URL

%C2%AD

Percent-encoded UTF-8, for a query string or a path segment.

UTF-8 bytes

C2 AD

2 bytes on the wire. Seeing these as separate garbled characters means something decoded them as single-byte text.

Typing it without copying

system picker
macOS

Control + Command + Space, then search soft hyphen

Windows

Character Map or Alt + 173

Groups it belongs to

Characters near it

8
Code pointU+00AD
EntityNamed
UTF-82 bytes
ASCIINo