How to Identify the Gem Stone Symbol in Unicode
Find the exact Unicode code point for the gem stone emoji (U+1F48E), tell it apart from diamond-shaped look-alikes, and verify it with simple code checks.
The gem stone symbol 💎 is a single Unicode character. Its code point is U+1F48E and its official character name is GEM STONE. Several other characters look similar, though, including diamond suits, geometric diamonds and colored diamond emoji. To check that a piece of text really contains the gem stone, inspect the character itself rather than judging by how it looks on screen. This guide explains what code point inspection does and how to identify and verify the character step by step.
What code point inspection does for your text
A code point is the number Unicode assigns to a character. It is usually written as U+ followed by hexadecimal digits. An inspection tool takes a character or a short string as input and reports facts about each character without changing the text. Those facts are its code point, its official name and its encoded bytes. Because the tool only reads the text, your content stays exactly as it was.
This matters for the gem stone because fonts, platforms and keyboards render similar shapes differently. Two characters can look nearly identical and still be different characters. That difference changes search results, text matching and how the symbol appears on another device. Inspection replaces visual guesswork with an exact identifier.
Reference values for the gem stone character
| Property | Value |
| Character | 💎 |
| Code point | U+1F48E |
| Official name | GEM STONE |
| Decimal value | 128142 |
| UTF-8 bytes | F0 9F 92 8E |
| UTF-16 code units | D83D DC8E |
| Unicode block | Miscellaneous Symbols and Pictographs |
The code point is above U+FFFF, so it falls outside the Basic Multilingual Plane. In UTF-16, which JavaScript strings use internally, the character is stored as two code units called a surrogate pair. Some tools therefore count it as two characters, even though a reader sees only one symbol.
Characters often confused with the gem stone
If an inspection returns something other than U+1F48E, the text contains a look-alike. Common candidates include:
- U+1F48D RING 💍, a ring set with a stone
- U+1F537 LARGE BLUE DIAMOND 🔷
- U+1F539 SMALL BLUE DIAMOND 🔹
- U+1F536 LARGE ORANGE DIAMOND 🔶
- U+1F4A0 DIAMOND SHAPE WITH A DOT INSIDE 💠
- U+2666 BLACK DIAMOND SUIT ♦
- U+25C6 BLACK DIAMOND ◆
- U+25C7 WHITE DIAMOND ◇
- U+25CA LOZENGE ◊
Only U+1F48E is named GEM STONE. The others are geometric shapes, card suits or separate emoji. Replacing one with another changes the text's meaning for search and matching.
Step-by-step: identify the symbol in your text
- 1. Copy only the symbol you want to check. Include nothing around it, or include it inside a short string if you need to check for hidden characters next to it.
- 2. Paste it into a code point inspector, or use one of the code snippets below.
- 3. Read the reported code point and name. The gem stone should be U+1F48E, GEM STONE.
- 4. Check for extra code points. U+FE0F (VARIATION SELECTOR-16, an invisible character that requests emoji-style display) may follow the symbol. Zero-width characters may also appear around it.
- 5. If the result is a different code point, compare it with the look-alike list above to see which character you actually have.
Checking the character with code
The snippets below are illustrative examples. The expected results in the comments come from the reference values above. They are not captured output from a specific environment, so run them yourself to confirm.
Python, using the standard unicodedata module:
import unicodedata
s = "💎"
for ch in s:
print(f"U+{ord(ch):04X}", unicodedata.name(ch, "<unnamed>"))
# Expected for the gem stone alone:
# U+1F48E GEM STONE
JavaScript. Iterate with for...of or spread syntax so the surrogate pair is treated as a single code point:
const s = "💎";
for (const ch of s) {
console.log("U+" + ch.codePointAt(0).toString(16).toUpperCase());
}
// Expected: U+1F48E
console.log(s.length); // 2 (UTF-16 code units)
console.log([...s].length); // 1 (code points)
On a Linux or macOS command line, a hex dump shows the raw UTF-8 bytes:
printf '💎' | xxd
# Expected bytes: f0 9f 92 8e
Extra bytes ef b8 8f after f0 9f 92 8e are the UTF-8 encoding of U+FE0F. The text still contains the gem stone, followed by the presentation selector.
Writing the gem stone as an escape sequence
If a file, template or terminal can't hold the emoji directly, an escape sequence produces the same character without depending on how the source text is pasted:
| Context | Escape |
| HTML (hexadecimal) | 💎 |
| HTML (decimal) | 💎 |
| CSS content property | \1F48E |
| JavaScript (ES2015 and later) | \u{1F48E} |
| JavaScript (surrogate pair) | \uD83D\uDC8E |
| Python | \U0001F48E |
| Python (by name) | \N{GEM STONE} |
Verifying the result
Once you have inserted or replaced the symbol, inspect the final text again. The check passes if the inspector reports U+1F48E GEM STONE. U+FE0F may follow it if you intend emoji presentation. No unexpected code points should appear around it. If you used an escape sequence, inspect the rendered or saved output, not the source code, to confirm it produced the intended character.
Inspection confirms which character is present. It does not guarantee how that character looks. The gem stone's appearance depends on the fonts and emoji set on each device, and no platform-specific rendering details were available for this guide. Test on the devices your readers are likely to use if appearance matters.