U+2500
Light horizontal─
Light horizontal is a monochrome text character from the Unicode Box Drawing block, listed here under Box Drawing & Blocks. 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 "box", "line", "border", "horizontal".
Quick facts
- Unicode
- U+2500
- Decimal
- 9472
- Hex
- 0x2500
- Octal
- 0o22400
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+2500 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | BOX DRAWINGS LIGHT HORIZONTAL | |
| Unicode 1.0 nameLegacy alias | FORMS LIGHT HORIZONTAL | |
| DecimalBase 10 | 9472 | |
| HexadecimalBase 16 | 0x2500 | |
| OctalBase 8 | 0o22400 | |
| BinaryBase 2 | 0010010100000000 | |
| General categorySymbol, other | So | |
| Unicode blockU+2500–U+257F | Box Drawing | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | ─ | |
| HTML entity (hex) | ─ | |
| CSS content escapeUse inside content: "…" | \2500 | |
| URL encodedPercent-encoded UTF-8 | %E2%94%80 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u2500 | |
| JSONUTF-16 surrogate pairs | \u2500 | |
| Python | \u2500 | |
| Java / C# / Kotlin | \u2500 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 94 80 | |
| UTF-16 (BE) | 2500 | |
| UTF-32 (BE) | 00002500 |
How to type Light horizontal
Windows
Hold Alt and type +2500 with the hex numeric keypad option enabled, or type 2500 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 2500. Or open Character Viewer (Control+Command+Space) and search "Light horizontal".
Linux
Press Ctrl+Shift+U, type 2500, 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, \2500 in CSS, and \u2500 in JavaScript.
Official Unicode reference
- Character name
- BOX DRAWINGS LIGHT HORIZONTAL
- Unicode 1.0 name
- FORMS LIGHT HORIZONTAL
- Block
- Box Drawing (U+2500–U+257F)
- General category
- So — Symbol, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Box Drawing block: U2500.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Light horizontal 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 Light horizontal?
Light horizontal is U+2500 (decimal 9472, hexadecimal 0x2500, octal 0o22400). It lives in the Box Drawing block (U+2500–U+257F) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Light horizontal?
The Unicode Standard (version 18.0.0) names this character "BOX DRAWINGS LIGHT HORIZONTAL"; its Unicode 1.0 name was "FORMS LIGHT HORIZONTAL". Its General_Category is So (Symbol, other).
What is the HTML code for Light horizontal?
Use ─ or ─. In CSS, use content: "\2500".
How do I type Light horizontal in code?
JavaScript: "\u2500". Python: "\u2500". JSON and Java: "\u2500". The UTF-8 byte sequence is E2 94 80.
Is Light horizontal an emoji?
No. Light horizontal 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.
Related symbols in Box Drawing & Blocks
View all box drawing & blocks- Light vertical
- Down and right
- Down and left
- Up and right
- Up and left
- Vertical and right
- Vertical and left
- Down and horizontal
- Up and horizontal
- Light cross
- Double horizontal
- Double vertical
- Double down and right
- Double down and left
- Double up and right
- Double up and left
- Double cross
- Full block
- Dark shade
- Medium shade
- Light shade
- Lower half block
- Upper half block
- Left half block