๐Ÿ”’ Locked emoji

Copy the ๐Ÿ”’ Locked emoji (U+1F512), an Objects emoji from Emoji 0.6 (2010). HTML 🔒 and CSS, JavaScript, Python and URL codes.

CLDR name
locked
Code point
U+1F512
Type
Single code point
Group
Objects
Subgroup
Lock
Introduced
Emoji 0.6 (2010)
Keywords
closed, lock, private

About this emoji

๐Ÿ”’ Locked is an emoji in the Objects group, lock subgroup, first released in Emoji 0.6 (2010). Emoji 0.6 is the label Unicode gives to characters that became emoji with Unicode 6.0 in 2010, before emoji had version numbers of their own.

CLDR, the Unicode project that supplies emoji names in many languages, gives it the English keywords closed, lock and private; that is what emoji keyboards match when you search.

It is a single code point, U+1F512, named LOCK in the Unicode standard.

Codes to copy

HTML decimal🔒Works in HTML and XML.
HTML hex🔒Works in HTML and XML.
CSScontent: "\1F512";In a stylesheet, for ::before and ::after.
JavaScript"\uD83D\uDD12"Also valid in JSON. Characters above U+FFFF are written as a surrogate pair.
JavaScript (ES6)"\u{1F512}"Code point escape; not valid in JSON.
Python"\U0001f512"Python 3 string literal.
Python by name"\N{LOCK}"Readable alternative using the Unicode name.
URL%F0%9F%94%92Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesF0 9F 94 924 bytes.
UTF-16D83D DD122 code units, which is what JavaScript length counts.

More in lock

All Objects emoji ยท Every emoji

Unicode Emoji data (Emoji 18.0) and CLDR annotations, Unicode licence. The emoji is drawn by your device's own font, so it looks different on other systems.