U+2028

Line separator

Line separator is a monochrome text character from the Unicode General Punctuation block, listed here under Invisible & Spacing. 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 "invisible", "newline", "break", "hidden".

Quick facts

Unicode
U+2028
Decimal
8232
Hex
0x2028
Octal
0o20050

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+2028
Official nameUnicodeData.txt, Unicode 18.0.0LINE SEPARATOR
DecimalBase 108232
HexadecimalBase 160x2028
OctalBase 80o20050
BinaryBase 20010000000101000
General categorySeparator, lineZl
Unicode blockU+2000–U+206FGeneral Punctuation
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)

HTML entity (hex)

CSS content escapeUse inside content: "…"\2028
URL encodedPercent-encoded UTF-8%E2%80%A8

Programming languages

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

Byte encodings

FormatValueCopy
UTF-83 bytesE2 80 A8
UTF-16 (BE)2028
UTF-32 (BE)00002028

How to type Line separator

  • Windows

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

  • macOS

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

  • Linux

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

Official Unicode reference

Character name
LINE SEPARATOR
Block
General Punctuation (U+2000–U+206F)
General category
Zl — Separator, line

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the General Punctuation block: U2000.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the Line separator symbol?

Click the Copy button at the top of this page, or select Line separator 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 Line separator?

Line separator is U+2028 (decimal 8232, hexadecimal 0x2028, octal 0o20050). It lives in the General Punctuation block (U+2000–U+206F) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Line separator?

The Unicode Standard (version 18.0.0) names this character "LINE SEPARATOR". Its General_Category is Zl (Separator, line).

What is the HTML code for Line separator?

Use 
 or 
. In CSS, use content: "\2028".

How do I type Line separator in code?

JavaScript: "\u2028". Python: "\u2028". JSON and Java: "\u2028". The UTF-8 byte sequence is E2 80 A8.

Is Line separator an emoji?

No. Line separator 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 invisible & spacing