U+338F
Kilogram㎏
Kilogram is a monochrome text character from the Unicode CJK Compatibility block, listed here under Units & Measurements. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "kg", "weight", "unit".
Quick facts
- Unicode
- U+338F
- Decimal
- 13199
- Hex
- 0x338F
- Octal
- 0o31617
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+338F | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | SQUARE KG | |
| Unicode 1.0 nameLegacy alias | SQUARED KG | |
| DecimalBase 10 | 13199 | |
| HexadecimalBase 16 | 0x338F | |
| OctalBase 8 | 0o31617 | |
| BinaryBase 2 | 0011001110001111 | |
| General categorySymbol, other | So | |
| Unicode blockU+3300–U+33FF | CJK Compatibility | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | ㎏ | |
| HTML entity (hex) | ㎏ | |
| CSS content escapeUse inside content: "…" | \338F | |
| URL encodedPercent-encoded UTF-8 | %E3%8E%8F |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u338F | |
| JSONUTF-16 surrogate pairs | \u338F | |
| Python | \u338F | |
| Java / C# / Kotlin | \u338F |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E3 8E 8F | |
| UTF-16 (BE) | 338F | |
| UTF-32 (BE) | 0000338F |
How to type Kilogram
Windows
Hold Alt and type +338F with the hex numeric keypad option enabled, or type 338F then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 338F. Or open Character Viewer (Control+Command+Space) and search "Kilogram".
Linux
Press Ctrl+Shift+U, type 338f, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: ㎏ in HTML, \338F in CSS, and \u338F in JavaScript.
Official Unicode reference
- Character name
- SQUARE KG
- Unicode 1.0 name
- SQUARED KG
- Block
- CJK Compatibility (U+3300–U+33FF)
- General category
- So — Symbol, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the CJK Compatibility block: U3300.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Kilogram symbol?
Click the Copy button at the top of this page, or select ㎏ and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Kilogram?
Kilogram is U+338F (decimal 13199, hexadecimal 0x338F, octal 0o31617). It lives in the CJK Compatibility block (U+3300–U+33FF) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Kilogram?
The Unicode Standard (version 18.0.0) names this character "SQUARE KG"; its Unicode 1.0 name was "SQUARED KG". Its General_Category is So (Symbol, other).
What is the HTML code for Kilogram?
Use ㎏ or ㎏. In CSS, use content: "\338F".
How do I type Kilogram in code?
JavaScript: "\u338F". Python: "\u338F". JSON and Java: "\u338F". The UTF-8 byte sequence is E3 8E 8F.
Is Kilogram an emoji?
No. Kilogram is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.