U+2551

Double vertical

Double vertical 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", "double".

Quick facts

Unicode
U+2551
Decimal
9553
Hex
0x2551
Octal
0o22521

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+2551
Official nameUnicodeData.txt, Unicode 18.0.0BOX DRAWINGS DOUBLE VERTICAL
Unicode 1.0 nameLegacy aliasFORMS DOUBLE VERTICAL
DecimalBase 109553
HexadecimalBase 160x2551
OctalBase 80o22521
BinaryBase 20010010101010001
General categorySymbol, otherSo
Unicode blockU+2500–U+257FBox Drawing
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)║
HTML entity (hex)║
CSS content escapeUse inside content: "…"\2551
URL encodedPercent-encoded UTF-8%E2%95%91

Programming languages

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

Byte encodings

FormatValueCopy
UTF-83 bytesE2 95 91
UTF-16 (BE)2551
UTF-32 (BE)00002551

How to type Double vertical

  • Windows

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

  • macOS

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

  • Linux

    Press Ctrl+Shift+U, type 2551, 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, \2551 in CSS, and \u2551 in JavaScript.

Official Unicode reference

Character name
BOX DRAWINGS DOUBLE VERTICAL
Unicode 1.0 name
FORMS DOUBLE VERTICAL
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 Double vertical 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 Double vertical?

Double vertical is U+2551 (decimal 9553, hexadecimal 0x2551, octal 0o22521). 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 Double vertical?

The Unicode Standard (version 18.0.0) names this character "BOX DRAWINGS DOUBLE VERTICAL"; its Unicode 1.0 name was "FORMS DOUBLE VERTICAL". Its General_Category is So (Symbol, other).

What is the HTML code for Double vertical?

Use ║ or ║. In CSS, use content: "\2551".

How do I type Double vertical in code?

JavaScript: "\u2551". Python: "\u2551". JSON and Java: "\u2551". The UTF-8 byte sequence is E2 95 91.

Is Double vertical an emoji?

No. Double vertical 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 box drawing & blocks