29 symbols

Line & Box Symbols

There are 29 line and box symbols on this page, every one a real Unicode character you can copy with a single click. The most looked-up are Box Drawings Light Horizontal ─ (U+2500).

Before pixels there were box-drawing characters, and they are still the cleanest way to sketch a border, a tree or a table in plain text. This hub collects the horizontal and vertical lines, the corners and junctions, and the light and heavy weights that let you build a frame that survives in a terminal, a code comment or a README.

U+2502
U+250C
U+2510
U+2514
U+2518
U+251C
U+2524
U+252C
U+2534
U+253C
U+2501
U+2503
U+2550
U+2551
U+2554
U+2557
U+255A
U+255D
U+256C
U+2581
U+2588
U+2591
U+2592
U+256D
U+256E
U+2570
U+256F

Most looked-up lines

How do you copy and paste line and box symbols?

Click the character in the grid above and it goes straight to your clipboard, then paste it with Ctrl+V on Windows or Cmd+V on a Mac. Nothing is uploaded and nothing is installed: these are plain text characters, so they land in a document, a spreadsheet cell, a caption, a username or a line of code and keep working when the font changes.

If you need the code rather than the character, open any symbol's own page from the table below. Each one lists the Unicode code point, the decimal and hex HTML entities, the CSS content escape, the JavaScript escape, the UTF-8 bytes and the Windows alt code where one exists, each with its own copy button.

Full line and box symbols list with Unicode and HTML codes

All 29 line and box symbols on this page with the codes you need to reproduce them anywhere. The character column is the glyph itself, so you can select and copy straight from the table.

Lines: character, Unicode code point, HTML entity and Windows alt code
SymbolNameUnicodeHTMLAlt code
─Box Drawings Light HorizontalU+2500─none
│Box Drawings Light VerticalU+2502│none
┌Box Drawings Light Down And RightU+250C┌none
┐Box Drawings Light Down And LeftU+2510┐none
└Box Drawings Light Up And RightU+2514└none
┘Box Drawings Light Up And LeftU+2518┘none
├Box Drawings Light Vertical And RightU+251C├none
┤Box Drawings Light Vertical And LeftU+2524┤none
┬Box Drawings Light Down And HorizontalU+252C┬none
┴Box Drawings Light Up And HorizontalU+2534┴none
┼Box Drawings Light Vertical And HorizontalU+253C┼none
━Box Drawings Heavy HorizontalU+2501━none
┃Box Drawings Heavy VerticalU+2503┃none
═Box Drawings Double HorizontalU+2550═none
║Box Drawings Double VerticalU+2551║none
╔Box Drawings Double Down And RightU+2554╔none
╗Box Drawings Double Down And LeftU+2557╗none
╚Box Drawings Double Up And RightU+255A╚none
╝Box Drawings Double Up And LeftU+255D╝none
╬Box Drawings Double Vertical And HorizontalU+256C╬none
▁Lower One Eighth BlockU+2581▁none
█Full BlockU+2588█none
░Light ShadeU+2591░none
▒Medium ShadeU+2592▒none
▓Dark ShadeU+2593▓none
╭Box Drawings Light Arc Down And RightU+256D╭none
╮Box Drawings Light Arc Down And LeftU+256E╮none
╰Box Drawings Light Arc Up And RightU+2570╰none
╯Box Drawings Light Arc Up And LeftU+256F╯none

How do you type line and box symbols without copying?

On Windows, the few characters that have an alt code can be typed by holding Alt and entering the digits on the numeric keypad. For anything else, press Win+. to open the emoji and symbol panel, or use Insert then Symbol in Microsoft Word, where you can also type the hex code point and press Alt+X.

On macOS, add the Unicode Hex Input source in Keyboard settings, then hold Option and type the four hex digits of the code point. On ChromeOS and on Linux with GTK or IBus, press Ctrl+Shift+U, type the hex code point and press Enter or space. On the web, the numeric HTML entity in the table above always works, whatever the reader's keyboard.

Frequently asked questions

How do I copy a line and box symbol?

Click any glyph in the grid on this page and it is copied to your clipboard instantly. Paste it with Ctrl+V or Cmd+V. Each symbol also has its own page with the code point, HTML entity and alt code.

What are the most used line and box symbols?

The ones people look up most in this set are Box Drawings Light Horizontal ─ (U+2500). All of them are listed with their codes in the reference table on this page.

Do line and box symbols have Windows alt codes?

Not usually. Alt codes only cover a small legacy set of characters, and these line and box symbols sit outside it. Copy the glyph from this page instead, or use its numeric HTML entity, which works in every browser.

Can I use line and box symbols in HTML and CSS?

Yes. Every symbol here has a numeric HTML entity that works in any browser, and none of them needs a named entity. In CSS use the escape shown on each symbol page inside a content property, and keep the file saved as UTF-8.

Are these line and box symbols real text or images?

They are real Unicode text characters, not images. That means they paste cleanly into documents, captions, usernames and code, and they scale with your font instead of blurring.

Why does a line and box symbol show as an empty box?

An empty box or question mark means the font in use has no glyph for that code point, or the text was decoded with the wrong character set. The character itself is still correct, so switching to a font with wider coverage, or serving the page as UTF-8, brings it back.

Explore more categories

Or search every glyph at once on the CopyGlyph home page, or open the full reference.