U+339E

Kilometer

Kilometer 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 "km", "length", "unit".

Quick facts

Unicode
U+339E
Decimal
13214
Hex
0x339E
Octal
0o31636

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+339E
Official nameUnicodeData.txt, Unicode 18.0.0SQUARE KM
Unicode 1.0 nameLegacy aliasSQUARED KM
DecimalBase 1013214
HexadecimalBase 160x339E
OctalBase 80o31636
BinaryBase 20011001110011110
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: "…"\339E
URL encodedPercent-encoded UTF-8%E3%8E%9E

Programming languages

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

Byte encodings

FormatValueCopy
UTF-83 bytesE3 8E 9E
UTF-16 (BE)339E
UTF-32 (BE)0000339E

How to type Kilometer

  • Windows

    Hold Alt and type +339E with the hex numeric keypad option enabled, or type 339E then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 339E. Or open Character Viewer (Control+Command+Space) and search "Kilometer".

  • Linux

    Press Ctrl+Shift+U, type 339e, 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, \339E in CSS, and \u339E in JavaScript.

Official Unicode reference

Character name
SQUARE KM
Unicode 1.0 name
SQUARED KM
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 Kilometer 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 Kilometer?

Kilometer is U+339E (decimal 13214, hexadecimal 0x339E, octal 0o31636). 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 Kilometer?

The Unicode Standard (version 18.0.0) names this character "SQUARE KM"; its Unicode 1.0 name was "SQUARED KM". Its General_Category is So (Symbol, other).

What is the HTML code for Kilometer?

Use ㎞ or ㎞. In CSS, use content: "\339E".

How do I type Kilometer in code?

JavaScript: "\u339E". Python: "\u339E". JSON and Java: "\u339E". The UTF-8 byte sequence is E3 8E 9E.

Is Kilometer an emoji?

No. Kilometer 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