Box drawing characters are line segments, corners and junctions designed to join up seamlessly in a monospaced font, so a terminal, a code comment or a plain-text file can show borders, tables and tree diagrams. The codes you need most often: ─ is U+2500, ▓ is U+2593 and ━ is U+2501. There are 29 box drawing symbols on this page, all real Unicode characters that paste as plain text. Copy all 29 box drawing glyphs at once from the line below, or click any glyph in the grid to copy just that one. The most looked-up are Horizontal Line ─ (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, the light, heavy and double weights, and the shade blocks, all glyphs that line up in a monospaced font so a frame survives in a terminal, a code comment or a README.
How do you copy and paste box drawing 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. To take the whole set, press Copy all at the top of the page: the 29 glyphs arrive as one line, separated by spaces. 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, the table below has the code point, HTML entity and alt code for every symbol. A linked symbol opens its own page with 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 box drawing symbols list with Unicode and HTML codes
All 29 box drawing 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.
Box drawing: character, Unicode code point, HTML entity and Windows alt code
How do you type box drawing symbols without copying?
On Windows, the 22 characters here 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 box drawing 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. To take the whole set in one go, press Copy all above the grid. The table below lists the code point, HTML entity and alt code for every one of them.
What are the most used box drawing symbols?
The ones people look up most in this set are Horizontal Line ─ (U+2500). All of them are listed with their codes in the reference table on this page.
Do box drawing symbols have Windows alt codes?
22 of the 29 box drawing symbols here have a documented Windows alt code, for example ─ is Alt 196; │ is Alt 179; ┌ is Alt 218. Hold Alt, type the digits on the numeric keypad, then release Alt. For everything else, copy the character or use the HTML entity.
Can I use box drawing 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 box drawing 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 box drawing 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.