U+1F512 Β· Miscellaneous Symbols and Pictographs
Locked Emoji π
Locked Emoji is the Unicode character U+1F512 (official name βLOCKβ) from the Miscellaneous Symbols and Pictographs block. It belongs to SymbolHeroβs emoji collection. Copy it with the button, or use the codes and keyboard methods below to type it yourself.
UnicodeU+1F512
HTML🔒
πU+1F512
Character codes
| Unicode code point | U+1F512 | |
|---|---|---|
| Decimal | 128274 | |
| HTML (hex) | 🔒 | |
| HTML (decimal) | 🔒 | |
| CSS | \1F512 | |
| JavaScript | \u{1F512} or "\uD83D\uDD12" | |
| Python | \U0001F512 | |
| UTF-8 bytes | F0 9F 94 92 | |
| UTF-16 | D83D DD12 | |
| URL-encoded | %F0%9F%94%92 |
Character details
| Official name | LOCK |
|---|---|
| Unicode block | Miscellaneous Symbols and Pictographs |
| General category | Other Symbol (So) |
| SymbolHero category | Emoji |
| Emoji | Yes β has an emoji presentation |
How to type π
Windows
- Press Win + . to open the emoji panel, then type βlockβ.
- In Microsoft Word or Outlook: type
1F512then press Alt + X.
Mac
- Press Control + Command + Space to open the Character Viewer, search βlockβ, and double-click the result.
iPhone & Android
- Open the emoji keyboard on iPhone or Android and search βlockedβ.
- Tap Copy at the top of this page, then long-press where you want it and choose Paste.
Docs & web
- Google Docs: Insert β Special characters, then search βlockβ or enter
U+1F512. - HTML:
🔒 - Excel / Google Sheets:
=UNICHAR(128274)
Similar emoji
Questions
What is the Unicode for π?
It is U+1F512 (LOCK), decimal 128274.
Is there a Windows Alt code for it?
No standard Alt code exists for this character. In Word type 1F512 then Alt+X, or copy it from this page.
How do I type it on a Mac?
There is no built-in Option shortcut. Use the Character Viewer (Control + Command + Space) and search βlockβ, or copy it from this page.
What is the HTML code?
Use the numeric reference 🔒 (or 🔒). There is no named entity.