Trademark Sign HTML entity ™

™ is the HTML entity for Trademark Sign ™ (U+2122). Copy the decimal ™ and hex ™ codes plus CSS, JavaScript, Python and URL escapes.

Entity
™
Also written
™
Code point
U+2122
Unicode name
TRADE MARK SIGN
Block
Letterlike Symbols
Category
Other symbol (So)
Since
Unicode 1.1
Defined in
HTML 4.01 and HTML5

Codes to copy

HTML named™Works in HTML; in XML only & < > " ' are predefined.
HTML decimal™Works in HTML and XML.
HTML hex™Works in HTML and XML.
CSScontent: "\2122";In a stylesheet, for ::before and ::after.
JavaScript"\u2122"Also valid in JSON.
Python"\u2122"Python 3 string literal.
Python by name"\N{TRADE MARK SIGN}"Readable alternative using the Unicode name.
URL%E2%84%A2Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesE2 84 A23 bytes.
UTF-1621221 code unit, which is what JavaScript length counts.

When to use it

The trademark sign for marks that are claimed but not registered; registered marks use ®. ™ has worked since HTML 4, and ™ is a later alias for the same character.

The name dates from HTML 4, so it works in every browser and in old email clients.

This character also has an emoji form: ™️ Trade Mark. Add U+FE0F after it for the emoji style or U+FE0E for the text style.

More symbols and signs

All symbols and signs · Every HTML entity · Encode or decode text

Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).