How to use the line and divider symbols
- Click a symbol. It is copied to your clipboard immediately.
- Paste it with Ctrl+V (⌘V on Mac), or press and hold then choose Paste on a phone.
- To copy several, keep clicking: they collect in the box at the top. Press Copy when you are done.
What these characters are for
- Dividers: a row of ─ or ━ separates sections in a bio, caption, Discord message, README or plain-text email where no formatting is available. Ready-made ones are in the last section.
- Box drawing: the corner and joint pieces fit together to draw frames and tables in plain text. They come from the era of text-only computer screens and are still used in terminals and code comments.
- Blocks and shades: █ ▓ ▒ ░ build progress bars and simple charts, such as
████████░░ 80%.
Drawing a box
Combine a top, sides and a bottom. In a monospaced font the pieces join perfectly:
╔════════╗
║ Hello ║
╚════════╝
Box characters only line up when every character has the same width, so use them in code blocks (wrap the text in triple backticks on Discord, Slack and GitHub) or in a monospaced font such as Courier or Consolas.
The vertical bar on your keyboard
The pipe | is on the backslash key (Shift + \) on US keyboards, and next to the left Shift or on AltGr on many European layouts. The longer box-drawing line │ joins up without gaps when stacked on consecutive lines.
Keyboard shortcuts and codes
| Symbol | Name | Windows | Mac | Unicode | HTML | |
|---|---|---|---|---|---|---|
| ─ | Line light horizontal | Alt+196 | — | U+2500 | ─ | |
| ━ | Line bold horizontal | — | — | U+2501 | ━ | |
| │ | Line light vertical | Alt+179 | — | U+2502 | │ | |
| ┃ | Line bold vertical | — | — | U+2503 | ┃ | |
| ═ | Line double horizontal | Alt+205 | — | U+2550 | ═ | |
| ║ | Line double vertical | Alt+186 | — | U+2551 | ║ | |
| ┌ | Line light down and right | Alt+218 | — | U+250C | ┌ | |
| ┐ | Line light down and left | Alt+191 | — | U+2510 | ┐ | |
| └ | Line light up and right | Alt+192 | — | U+2514 | └ | |
| ┘ | Line light up and left | Alt+217 | — | U+2518 | ┘ | |
| ├ | Line light vertical and right | Alt+195 | — | U+251C | ├ | |
| ┤ | Line light vertical and left | Alt+180 | — | U+2524 | ┤ | |
| ┬ | Line light down and horizontal | Alt+194 | — | U+252C | ┬ | |
| ┴ | Line light up and horizontal | Alt+193 | — | U+2534 | ┴ | |
| ┼ | Line light vertical and horizontal | Alt+197 | — | U+253C | ┼ | |
| ╔ | Line double down and right | Alt+201 | — | U+2554 | ╔ | |
| ╗ | Line double down and left | Alt+187 | — | U+2557 | ╗ | |
| ╚ | Line double up and right | Alt+200 | — | U+255A | ╚ | |
| ╝ | Line double up and left | Alt+188 | — | U+255D | ╝ | |
| █ | Full block | Alt+219 | — | U+2588 | █ | |
| ▓ | Dark shade | Alt+178 | — | U+2593 | ▓ | |
| ▒ | Medium shade | Alt+177 | — | U+2592 | ▒ | |
| ░ | Light shade | Alt+176 | — | U+2591 | ░ | |
| ▀ | Upper half block | Alt+223 | — | U+2580 | ▀ | |
| ▄ | Lower half block | Alt+220 | — | U+2584 | ▄ | |
| ▬ | Rectangle | Alt+22 | — | U+25AC | ▬ | |
| Vertical line | — | — | U+007C | | | ||
| ¦ | Broken bar | — | — | U+00A6 | ¦ ¦ |
How to type symbols without copying
- Windows: press Win + . (full stop) to open the emoji and symbol panel, and choose the Symbols tab (Ω). For Alt codes, hold Alt and type the number on the numeric keypad with Num Lock on, then release Alt.
- Mac: press Control + Command + Space to open the Character Viewer and search by name. Many symbols also have an Option-key shortcut, listed in the table.
- iPhone and Android: hold a key on the keyboard to reveal related symbols, or copy from this page and paste. To reuse a symbol often, create a text replacement shortcut in your keyboard settings.
- Word: type the Unicode value (for example
2192) and press Alt + X to convert it into the symbol. - HTML: use the entity from the table, such as
→, or simply paste the symbol into a UTF-8 page.