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

FormatValueCopy
Code pointOfficial Unicode notationU+338F
Official nameUnicodeData.txt, Unicode 18.0.0SQUARE KG
Unicode 1.0 nameLegacy aliasSQUARED KG
DecimalBase 1013199
HexadecimalBase 160x338F
OctalBase 80o31617
BinaryBase 20011001110001111
General categorySymbol, otherSo
Unicode blockU+3300–U+33FFCJK Compatibility
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)㎏
HTML entity (hex)㎏
CSS content escapeUse inside content: "…"\338F
URL encodedPercent-encoded UTF-8%E3%8E%8F

Programming languages

FormatValueCopy
JavaScript / TypeScript\u338F
JSONUTF-16 surrogate pairs\u338F
Python\u338F
Java / C# / Kotlin\u338F

Byte encodings

FormatValueCopy
UTF-83 bytesE3 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.

View all units & measurements