Heavy top, light sidesHeavy on the top edge alone.
Dashed boxDouble dashes between light corners.
Heavy dashed boxDouble dashes between heavy corners.
Dotted boxQuadruple dashes between light corners.
Box with a headA line under the first row, for a title.
Double box with a headA double line under the first row.
Box in two halvesTwo rooms side by side.
Box for one letterChange the letter inside.
Row of keysFour small boxes with a letter in each.
Tables and grids
Grid, 2 by 2Light lines.
Grid, 3 by 3Light lines, for nine cells.
Heavy grid, 3 by 3Heavy lines.
Double grid, 3 by 3Double lines.
Light grid in a heavy frameLight with heavy: ┯ ┠ ┨ ┷ join the two.
Light grid in a double frameSingle with double: ╤ ╟ ╢ ╧ join the two.
Table with a heavy headThe line under the head changes weight: ┡ ╇ ┩.
Table with a double line╞ ╪ ╡ set the double line in a light table.
Table with no frameOne line down, one across, ┼ where they cross.
Trees and branches
File tree├── for each entry, └── for the last, │ to carry a branch down.
Folder with three filesThe shortest tree: two ├── and one └──.
Heavy treeThe same branches in heavy lines.
Chart of threeOne box over two, joined by ┬ and ┴.
Two into oneTwo lines meet in ├.
One into twoOne line parts at ┤.
Four-team bracketTwo games, then the winners meet.
Steps in a rowThree boxes on one line.
Light lines
─Box drawings light horizontalU+2500. Line across. Alt+196, HTML ─ or ─.
│Box drawings light verticalU+2502. Line down. Alt+179, HTML │ or │.
┌Box drawings light down and rightU+250C. Top left corner. Alt+218, HTML ┌ or ┌.
┐Box drawings light down and leftU+2510. Top right corner. Alt+191, HTML ┐ or ┐.
└Box drawings light up and rightU+2514. Bottom left corner. Alt+192, HTML └ or └.
┘Box drawings light up and leftU+2518. Bottom right corner. Alt+217, HTML ┘ or ┘.
├Box drawings light vertical and rightU+251C. Left edge, branch to the right. Alt+195, HTML ├ or ├.
┤Box drawings light vertical and leftU+2524. Right edge, branch to the left. Alt+180, HTML ┤ or ┤.
┬Box drawings light down and horizontalU+252C. Top edge, branch down. Alt+194, HTML ┬ or ┬.
┴Box drawings light up and horizontalU+2534. Bottom edge, branch up. Alt+193, HTML ┴ or ┴.
┼Box drawings light vertical and horizontalU+253C. Cross. Alt+197, HTML ┼ or ┼.
Heavy lines
━Box drawings heavy horizontalU+2501. Line across. HTML ━.
┃Box drawings heavy verticalU+2503. Line down. HTML ┃.
┏Box drawings heavy down and rightU+250F. Top left corner. HTML ┏.
┓Box drawings heavy down and leftU+2513. Top right corner. HTML ┓.
┗Box drawings heavy up and rightU+2517. Bottom left corner. HTML ┗.
┛Box drawings heavy up and leftU+251B. Bottom right corner. HTML ┛.
┣Box drawings heavy vertical and rightU+2523. Left edge, branch to the right. HTML ┣.
┫Box drawings heavy vertical and leftU+252B. Right edge, branch to the left. HTML ┫.
┳Box drawings heavy down and horizontalU+2533. Top edge, branch down. HTML ┳.
┻Box drawings heavy up and horizontalU+253B. Bottom edge, branch up. HTML ┻.
╋Box drawings heavy vertical and horizontalU+254B. Cross. HTML ╋.
Double lines
═Box drawings double horizontalU+2550. Line across. Alt+205, HTML ═ or ═.
║Box drawings double verticalU+2551. Line down. Alt+186, HTML ║ or ║.
╔Box drawings double down and rightU+2554. Top left corner. Alt+201, HTML ╔ or ╔.
╗Box drawings double down and leftU+2557. Top right corner. Alt+187, HTML ╗ or ╗.
╚Box drawings double up and rightU+255A. Bottom left corner. Alt+200, HTML ╚ or ╚.
╝Box drawings double up and leftU+255D. Bottom right corner. Alt+188, HTML ╝ or ╝.
╠Box drawings double vertical and rightU+2560. Left edge, branch to the right. Alt+204, HTML ╠ or ╠.
╣Box drawings double vertical and leftU+2563. Right edge, branch to the left. Alt+185, HTML ╣ or ╣.
╦Box drawings double down and horizontalU+2566. Top edge, branch down. Alt+203, HTML ╦ or ╦.
╩Box drawings double up and horizontalU+2569. Bottom edge, branch up. Alt+202, HTML ╩ or ╩.
╬Box drawings double vertical and horizontalU+256C. Cross. Alt+206, HTML ╬ or ╬.
Rounded corners and diagonals
╭Box drawings light arc down and rightU+256D. Top left corner. HTML ╭.
╮Box drawings light arc down and leftU+256E. Top right corner. HTML ╮.
╯Box drawings light arc up and leftU+256F. Bottom right corner. HTML ╯.
╰Box drawings light arc up and rightU+2570. Bottom left corner. HTML ╰.
╱Box drawings light diagonal upper right to lower leftU+2571. Slanting line. HTML ╱.
╲Box drawings light diagonal upper left to lower rightU+2572. Slanting line, the other way. HTML ╲.
╳Box drawings light diagonal crossU+2573. Slanting cross. HTML ╳.
Dashed lines
┄Box drawings light triple dash horizontalU+2504. HTML ┄.
┅Box drawings heavy triple dash horizontalU+2505. HTML ┅.
┆Box drawings light triple dash verticalU+2506. HTML ┆.
┇Box drawings heavy triple dash verticalU+2507. HTML ┇.
┈Box drawings light quadruple dash horizontalU+2508. HTML ┈.
┉Box drawings heavy quadruple dash horizontalU+2509. HTML ┉.
┊Box drawings light quadruple dash verticalU+250A. HTML ┊.
┋Box drawings heavy quadruple dash verticalU+250B. HTML ┋.
╌Box drawings light double dash horizontalU+254C. HTML ╌.
╍Box drawings heavy double dash horizontalU+254D. HTML ╍.
╎Box drawings light double dash verticalU+254E. HTML ╎.
╏Box drawings heavy double dash verticalU+254F. HTML ╏.
Light with heavy
┍Box drawings down light and right heavyU+250D. Top left corner. HTML ┍.
┎Box drawings down heavy and right lightU+250E. Top left corner. HTML ┎.
┑Box drawings down light and left heavyU+2511. Top right corner. HTML ┑.
┒Box drawings down heavy and left lightU+2512. Top right corner. HTML ┒.
┕Box drawings up light and right heavyU+2515. Bottom left corner. HTML ┕.
┖Box drawings up heavy and right lightU+2516. Bottom left corner. HTML ┖.
┙Box drawings up light and left heavyU+2519. Bottom right corner. HTML ┙.
┚Box drawings up heavy and left lightU+251A. Bottom right corner. HTML ┚.
┝Box drawings vertical light and right heavyU+251D. Left edge, branch to the right. HTML ┝.
┞Box drawings up heavy and right down lightU+251E. Left edge, branch to the right. HTML ┞.
┟Box drawings down heavy and right up lightU+251F. Left edge, branch to the right. HTML ┟.
┠Box drawings vertical heavy and right lightU+2520. Left edge, branch to the right. HTML ┠.
┡Box drawings down light and right up heavyU+2521. Left edge, branch to the right. HTML ┡.
┢Box drawings up light and right down heavyU+2522. Left edge, branch to the right. HTML ┢.
┥Box drawings vertical light and left heavyU+2525. Right edge, branch to the left. HTML ┥.
┦Box drawings up heavy and left down lightU+2526. Right edge, branch to the left. HTML ┦.
┧Box drawings down heavy and left up lightU+2527. Right edge, branch to the left. HTML ┧.
┨Box drawings vertical heavy and left lightU+2528. Right edge, branch to the left. HTML ┨.
┩Box drawings down light and left up heavyU+2529. Right edge, branch to the left. HTML ┩.
┪Box drawings up light and left down heavyU+252A. Right edge, branch to the left. HTML ┪.
┭Box drawings left heavy and right down lightU+252D. Top edge, branch down. HTML ┭.
┮Box drawings right heavy and left down lightU+252E. Top edge, branch down. HTML ┮.
┯Box drawings down light and horizontal heavyU+252F. Top edge, branch down. HTML ┯.
┰Box drawings down heavy and horizontal lightU+2530. Top edge, branch down. HTML ┰.
┱Box drawings right light and left down heavyU+2531. Top edge, branch down. HTML ┱.
┲Box drawings left light and right down heavyU+2532. Top edge, branch down. HTML ┲.
┵Box drawings left heavy and right up lightU+2535. Bottom edge, branch up. HTML ┵.
┶Box drawings right heavy and left up lightU+2536. Bottom edge, branch up. HTML ┶.
┷Box drawings up light and horizontal heavyU+2537. Bottom edge, branch up. HTML ┷.
┸Box drawings up heavy and horizontal lightU+2538. Bottom edge, branch up. HTML ┸.
┹Box drawings right light and left up heavyU+2539. Bottom edge, branch up. HTML ┹.
┺Box drawings left light and right up heavyU+253A. Bottom edge, branch up. HTML ┺.
┽Box drawings left heavy and right vertical lightU+253D. Cross. HTML ┽.
┾Box drawings right heavy and left vertical lightU+253E. Cross. HTML ┾.
┿Box drawings vertical light and horizontal heavyU+253F. Cross. HTML ┿.
╀Box drawings up heavy and down horizontal lightU+2540. Cross. HTML ╀.
╁Box drawings down heavy and up horizontal lightU+2541. Cross. HTML ╁.
╂Box drawings vertical heavy and horizontal lightU+2542. Cross. HTML ╂.
╃Box drawings left up heavy and right down lightU+2543. Cross. HTML ╃.
╄Box drawings right up heavy and left down lightU+2544. Cross. HTML ╄.
╅Box drawings left down heavy and right up lightU+2545. Cross. HTML ╅.
╆Box drawings right down heavy and left up lightU+2546. Cross. HTML ╆.
╇Box drawings down light and up horizontal heavyU+2547. Cross. HTML ╇.
╈Box drawings up light and down horizontal heavyU+2548. Cross. HTML ╈.
╉Box drawings right light and left vertical heavyU+2549. Cross. HTML ╉.
╊Box drawings left light and right vertical heavyU+254A. Cross. HTML ╊.
Single with double
╒Box drawings down single and right doubleU+2552. Top left corner. Alt+213, HTML ╒ or ╒.
╓Box drawings down double and right singleU+2553. Top left corner. Alt+214, HTML ╓ or ╓.
╕Box drawings down single and left doubleU+2555. Top right corner. Alt+184, HTML ╕ or ╕.
╖Box drawings down double and left singleU+2556. Top right corner. Alt+183, HTML ╖ or ╖.
╘Box drawings up single and right doubleU+2558. Bottom left corner. Alt+212, HTML ╘ or ╘.
╙Box drawings up double and right singleU+2559. Bottom left corner. Alt+211, HTML ╙ or ╙.
╛Box drawings up single and left doubleU+255B. Bottom right corner. Alt+190, HTML ╛ or ╛.
╜Box drawings up double and left singleU+255C. Bottom right corner. Alt+189, HTML ╜ or ╜.
╞Box drawings vertical single and right doubleU+255E. Left edge, branch to the right. Alt+198, HTML ╞ or ╞.
╟Box drawings vertical double and right singleU+255F. Left edge, branch to the right. Alt+199, HTML ╟ or ╟.
╡Box drawings vertical single and left doubleU+2561. Right edge, branch to the left. Alt+181, HTML ╡ or ╡.
╢Box drawings vertical double and left singleU+2562. Right edge, branch to the left. Alt+182, HTML ╢ or ╢.
╤Box drawings down single and horizontal doubleU+2564. Top edge, branch down. Alt+209, HTML ╤ or ╤.
╥Box drawings down double and horizontal singleU+2565. Top edge, branch down. Alt+210, HTML ╥ or ╥.
╧Box drawings up single and horizontal doubleU+2567. Bottom edge, branch up. Alt+207, HTML ╧ or ╧.
╨Box drawings up double and horizontal singleU+2568. Bottom edge, branch up. Alt+208, HTML ╨ or ╨.
╪Box drawings vertical single and horizontal doubleU+256A. Cross. Alt+216, HTML ╪ or ╪.
╫Box drawings vertical double and horizontal singleU+256B. Cross. Alt+215, HTML ╫ or ╫.
Half lines
╴Box drawings light leftU+2574. HTML ╴.
╵Box drawings light upU+2575. HTML ╵.
╶Box drawings light rightU+2576. HTML ╶.
╷Box drawings light downU+2577. HTML ╷.
╸Box drawings heavy leftU+2578. HTML ╸.
╹Box drawings heavy upU+2579. HTML ╹.
╺Box drawings heavy rightU+257A. HTML ╺.
╻Box drawings heavy downU+257B. HTML ╻.
╼Box drawings light left and heavy rightU+257C. Line across. HTML ╼.
╽Box drawings light up and heavy downU+257D. Line down. HTML ╽.
╾Box drawings heavy left and light rightU+257E. Line across. HTML ╾.
╿Box drawings heavy up and light downU+257F. Line down. HTML ╿.
Boxes in one character
□White squareU+25A1. Square outline. HTML □.
■Black squareU+25A0. Filled square. HTML ■.
▢White square with rounded cornersU+25A2. Square with rounded corners. HTML ▢.
▭White rectangleU+25AD. Rectangle lying down. HTML ▭.
▯White vertical rectangleU+25AF. Rectangle standing up. HTML ▯.
☐Ballot boxU+2610. Box for a ballot or a list, empty. HTML ☐.
☑Ballot box with checkU+2611. Box with a check. HTML ☑.
☒Ballot box with XU+2612. Box with an x. HTML ☒.
▣White square containing black small squareU+25A3. Square with a small square in it. HTML ▣.
◫White square with vertical bisecting lineU+25EB. Square parted down the middle. HTML ◫.
⊞Squared plusU+229E. Square parted into four; the math sign Squared plus. HTML ⊞.
⎕APL functional symbol quadU+2395. Standing box from the APL functional symbols. HTML ⎕.
⌧X in a rectangle boxU+2327. X in a rectangle box, the Clear key. HTML ⌧.
How this list was compiled: Names and code points are from UnicodeData.txt, version 18.0.0 (unicode.org), the headings and notes of the block from NamesList.txt of the same version (unicode.org) and its chart (unicode.org). Alt codes are from the code page 437 table (unicode.org), HTML names from html.spec.whatwg.org. That these characters join only in fonts of one width, and that those of code page 437 are drawn in more fonts: en.wikipedia.org. The branches of a file tree: en.wikipedia.org. Read on November 30, 2026. The ready boxes, tables and trees and their names are this page’s own. License: own work for the boxes, tables, trees, groups and notes; names from the Unicode Character Database, Unicode License v3, unicode.org; facts from Wikipedia, CC BY-SA 4.0, creativecommons.org, in our own words
How it works
The box Unicode block is Box Drawing, U+2500 to U+257F: 128 lines, corners and crossings. Boxes, tables and trees made of them come first, the characters after, with their codes in the list below.
Read the full guide
Fit a box to your words
Type between the side lines, taking out a space for each letter. For a longer line add ─ to the top and the bottom edge, one for each letter. A corner must carry the weight of both lines it joins: ┍ has a light line down and a heavy one to the right.
Keep the lines joined
The characters meet edge to edge where every letter has one width, as in a terminal or a code block. Elsewhere the right side steps in and out. Those with an Alt code are in more fonts than the other 88.
Questions and answers
What is the Unicode for a box?
For a frame, six characters: ┌ U+250C, ─ U+2500, ┐ U+2510, │ U+2502, └ U+2514 and ┘ U+2518. A box in one character is □, U+25A1, or ☐, U+2610, with room for a check.
What are the Alt codes for box-drawing characters?
With Num Lock on, hold Alt: 218 ┌, 196 ─, 191 ┐, 179 │, 192 └ and 217 ┘. In double lines 201 ╔, 205 ═, 187 ╗, 186 ║, 200 ╚ and 188 ╝. Heavy and rounded ones have none.
How do you draw a file tree in text?
Write ├── before each entry, └── before the last one, and │ under a folder whose branch goes on. The space between is ordinary spaces, as in File tree.
How do I make a table with heavy and light lines?
Use the characters that join the two: ┡ ╇ ┩ under a heavy head, ┠ ┨ ┯ ┷ where a light grid meets a heavy frame.
Are there box-drawing characters in HTML?
Each works as a number, such as ┌ for ┌. Forty have a name too: ┌ is ┌, ─ is ─, and capitals are for double lines, as in ╔ for ╔.