All files can be found on the Releases page.
This Windows command line tool displays the various Unicode box characters[1] in several nice formats with the corresponding alt or hexadecimal codes.
I use box characters for all sorts of comments in programming, scripting, and configuration files and so I wrote this tool to quickly reference their codes and/or copy from the command line.
If you like any of the projects below and care to donate to my PayPal:
Or Buy Me A Coffee if your prefer:
This is a Windows command line tool for CMD and PowerShell. There are both x86 (32 bit) and x64 (64 bit) versions of the executable.
As with any portable program this can be placed anywhere you like on your machine, but more preferably in a directory that is in your %PATH%
environment variable so you can run it without a full path (boxunichars
for example). I recommend using a dedicated Bin directory, but of course, it's your choice. If your path isn't already in your %PATH%
environment then I suggest adding it[2], but if not then you have provide the full path (C:\Path\To\boxunichars.exe
for example) when executing the program.
This will display all 4 box types in a 2x2 square with alt codes by default, but there are 6 other display types; 2 additional all types and 4 single types and each can be viewed as either alt or hexadecimal codes with the provided corresponding switches;
-
All
- Default: all 4 main types displayed in a 2x2 square.
- Horizontal: all 4 main types displayed horizontally.
- Vertical: all 4 main types displayed vertically.
-
Single
- Single: Single line box characters only.
- Double: Double line box characters only.
- SingleDouble: Single vertical and double horizontal line box characters only.
- DoubleSingle: Double vertical and single horizontal line box characters only.
- Alt: Codes displayed are of the Alt type.
- Hexadecimal: Codes displayed are of the hexadecimal type.
All types can be displayed in both code formats and all at the same time if needed. If no display switches are provided it defaults to All/Alt, but if switches are provided then only what you pass to the program is displayed (though default can be re-added). You can view both code types by passing the display type twice with the code type switch passed before the display type. Whichever code type is passed last will be the code type for any proceeding display types:
Display single line box characters in both alt and hexadecimal modes:
PS> boxunichars /alt /single /hexadecimal /single # or /l /s /x /s
┌───────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┤
│ ┌─┬─┐ │
│ │ │ │ │
│ ├─┼─┤ Alt Codes │
│ │ │ │ │
│ └─┴─┘ │
│ 218 ┌ 196 ─ 194 ┬ 196 ─ 191 ┐│
│ 179 │ 179 │ 179 ││
│ 195 ├ 196 ─ 197 ┼ 196 ─ 180 ┤│
│ 179 │ 179 │ 179 ││
│ 192 └ 196 ─ 193 ┴ 196 ─ 217 ┘│
└───────────────────────────────────┘
┌───────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┤
│ ┌─┬─┐ │
│ │ │ │ │
│ ├─┼─┤ Hex Codes │
│ │ │ │ │
│ └─┴─┘ │
│ 250C ┌ 2500 ─ 252C ┬ 2500 ─ 2510 ┐│
│ 2502 │ 2502 │ 2502 ││
│ 251C ├ 2500 ─ 253C ┼ 2500 ─ 2524 ┤│
│ 2502 │ 2502 │ 2502 ││
│ 2514 └ 2500 ─ 2534 ┴ 2500 ─ 2518 ┘│
└───────────────────────────────────┘
Wider outputs look better on a wider landscape display, not portrait on a mobile device etc.
Help Message
PS> boxunichars /?
Box Unicode Characters - Print all box characters
with their corresponding
alt and hexadecimal codes.
boxunichars [/? | /h | /help] | [/a | /all] |
[/z | /horizonatal] | [/v | /vertical]
[/s | /single] | [/d | /double]
[/sd | /singledouble] | [/ds | /doublesingle]
[/x | /hexadecimal] | [/l | /alt]
The user can use as many of these display switches
as they like and they can change the code mode (alt
or hexadecimal) of each by providing either the
/l, /alt, /x, or /hexadecimal switches before each
display switch. The last provided code mode will be
be used if none is provided (defaulting to alt
mode)
/a, /all Display all types in a square.
This is the default.
/z, /horizontal Display all types horizontally.
/v, /vertical Display all types vertically.
/s, /single Display single type.
/d, /double Display double type.
/sd, /singledouble Display single vertical double
horizontal type.
/ds, /doublesingle Display double vertical single
horizontal type.
/x, /hexadecimal Values displayed in hexadecimal
code format.
/l, /alt Values displayed in alt code
format. This is the default,
Default output as alt:
PS> boxunichars
┌───────────────────────────────────────────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┬───────────────────────────────────┤
│ ╔═╦═╗ │ ╒═╤═╕ │
│ ║ ║ ║ │ │ │ │ │
│ ╠═╬═╣ Alt Codes │ ╞═╪═╡ Alt Codes │
│ ║ ║ ║ │ │ │ │ │
│ ╚═╩═╝ │ ╘═╧═╛ │
│ 201 ╔ 205 ═ 203 ╦ 205 ═ 187 ╗│ 213 ╒ 205 ═ 209 ╤ 205 ═ 184 ╕│
│ 186 ║ 186 ║ 186 ║│ 179 │ 179 │ 179 ││
│ 204 ╠ 205 ═ 206 ╬ 205 ═ 185 ╣│ 198 ╞ 205 ═ 216 ╪ 205 ═ 181 ╡│
│ 186 ║ 186 ║ 186 ║│ 179 │ 179 │ 179 ││
│ 200 ╚ 205 ═ 202 ╩ 205 ═ 188 ╝│ 212 ╘ 205 ═ 207 ╧ 205 ═ 190 ╛│
├───────────────────────────────────┼───────────────────────────────────┤
│ ╓─╥─╖ │ ┌─┬─┐ │
│ ║ ║ ║ │ │ │ │ │
│ ╟─╫─╢ Alt Codes │ ├─┼─┤ Alt Codes │
│ ║ ║ ║ │ │ │ │ │
│ ╙─╨─╜ │ └─┴─┘ │
│ 214 ╓ 196 ─ 210 ╥ 196 ─ 183 ╖│ 218 ┌ 196 ─ 194 ┬ 196 ─ 191 ┐│
│ 186 ║ 186 ║ 186 ║│ 179 │ 179 │ 179 ││
│ 199 ╟ 196 ─ 215 ╫ 196 ─ 182 ╢│ 195 ├ 196 ─ 197 ┼ 196 ─ 180 ┤│
│ 186 ║ 186 ║ 186 ║│ 179 │ 179 │ 179 ││
│ 211 ╙ 196 ─ 208 ╨ 196 ─ 189 ╜│ 192 └ 196 ─ 193 ┴ 196 ─ 217 ┘│
└───────────────────────────────────┴───────────────────────────────────┘
Default output as hexadecimal:
PS> boxunichars /x
┌───────────────────────────────────────────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┬───────────────────────────────────┤
│ ╔═╦═╗ │ ╒═╤═╕ │
│ ║ ║ ║ │ │ │ │ │
│ ╠═╬═╣ Hex Codes │ ╞═╪═╡ Hex Codes │
│ ║ ║ ║ │ │ │ │ │
│ ╚═╩═╝ │ ╘═╧═╛ │
│ 2554 ╔ 2550 ═ 2566 ╦ 2550 ═ 2557 ╗│ 2552 ╒ 2550 ═ 2564 ╤ 2550 ═ 2555 ╕│
│ 2551 ║ 2551 ║ 2551 ║│ 2502 │ 2502 │ 2502 ││
│ 2560 ╠ 2550 ═ 256C ╬ 2550 ═ 2563 ╣│ 255E ╞ 2550 ═ 256A ╪ 2550 ═ 2561 ╡│
│ 2551 ║ 2551 ║ 2551 ║│ 2502 │ 2502 │ 2502 ││
│ 255A ╚ 2550 ═ 2569 ╩ 2550 ═ 255D ╝│ 2558 ╘ 2550 ═ 2567 ╧ 2550 ═ 255B ╛│
├───────────────────────────────────┼───────────────────────────────────┤
│ ╓─╥─╖ │ ┌─┬─┐ │
│ ║ ║ ║ │ │ │ │ │
│ ╟─╫─╢ Hex Codes │ ├─┼─┤ Hex Codes │
│ ║ ║ ║ │ │ │ │ │
│ ╙─╨─╜ │ └─┴─┘ │
│ 2553 ╓ 2500 ─ 2565 ╥ 2500 ─ 2556 ╖│ 250C ┌ 2500 ─ 252C ┬ 2500 ─ 2510 ┐│
│ 2551 ║ 2551 ║ 2551 ║│ 2502 │ 2502 │ 2502 ││
│ 255F ╟ 2500 ─ 256B ╫ 2500 ─ 2562 ╢│ 251C ├ 2500 ─ 253C ┼ 2500 ─ 2524 ┤│
│ 2551 ║ 2551 ║ 2551 ║│ 2502 │ 2502 │ 2502 ││
│ 2559 ╙ 2500 ─ 2568 ╨ 2500 ─ 255C ╜│ 2514 └ 2500 ─ 2534 ┴ 2500 ─ 2518 ┘│
└───────────────────────────────────┴───────────────────────────────────┘
Horizontal output:
PS> boxunichars /z
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┬───────────────────────────────────┬───────────────────────────────────┬───────────────────────────────────┤
│ ╔═╦═╗ │ ╒═╤═╕ │ ╓─╥─╖ │ ┌─┬─┐ │
│ ║ ║ ║ │ │ │ │ │ ║ ║ ║ │ │ │ │ │
│ ╠═╬═╣ Alt Codes │ ╞═╪═╡ Alt Codes │ ╟─╫─╢ Alt Codes │ ├─┼─┤ Alt Codes │
│ ║ ║ ║ │ │ │ │ │ ║ ║ ║ │ │ │ │ │
│ ╚═╩═╝ │ ╘═╧═╛ │ ╙─╨─╜ │ └─┴─┘ │
│ 201 ╔ 205 ═ 203 ╦ 205 ═ 187 ╗│ 213 ╒ 205 ═ 209 ╤ 205 ═ 184 ╕│ 214 ╓ 196 ─ 210 ╥ 196 ─ 183 ╖│ 218 ┌ 196 ─ 194 ┬ 196 ─ 191 ┐│
│ 186 ║ 186 ║ 186 ║│ 179 │ 179 │ 179 ││ 186 ║ 186 ║ 186 ║│ 179 │ 179 │ 179 ││
│ 204 ╠ 205 ═ 206 ╬ 205 ═ 185 ╣│ 198 ╞ 205 ═ 216 ╪ 205 ═ 181 ╡│ 199 ╟ 196 ─ 215 ╫ 196 ─ 182 ╢│ 195 ├ 196 ─ 197 ┼ 196 ─ 180 ┤│
│ 186 ║ 186 ║ 186 ║│ 179 │ 179 │ 179 ││ 186 ║ 186 ║ 186 ║│ 179 │ 179 │ 179 ││
│ 200 ╚ 205 ═ 202 ╩ 205 ═ 188 ╝│ 212 ╘ 205 ═ 207 ╧ 205 ═ 190 ╛│ 211 ╙ 196 ─ 208 ╨ 196 ─ 189 ╜│ 192 └ 196 ─ 193 ┴ 196 ─ 217 ┘│
└───────────────────────────────────┴───────────────────────────────────┴───────────────────────────────────┴───────────────────────────────────┘
Vertical output:
PS> boxunichars /v
┌───────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┤
│ ╔═╦═╗ │
│ ║ ║ ║ │
│ ╠═╬═╣ Alt Codes │
│ ║ ║ ║ │
│ ╚═╩═╝ │
│ 201 ╔ 205 ═ 203 ╦ 205 ═ 187 ╗│
│ 186 ║ 186 ║ 186 ║│
│ 204 ╠ 205 ═ 206 ╬ 205 ═ 185 ╣│
│ 186 ║ 186 ║ 186 ║│
│ 200 ╚ 205 ═ 202 ╩ 205 ═ 188 ╝│
├───────────────────────────────────┤
│ ╒═╤═╕ │
│ │ │ │ │
│ ╞═╪═╡ Alt Codes │
│ │ │ │ │
│ ╘═╧═╛ │
│ 213 ╒ 205 ═ 209 ╤ 205 ═ 184 ╕│
│ 179 │ 179 │ 179 ││
│ 198 ╞ 205 ═ 216 ╪ 205 ═ 181 ╡│
│ 179 │ 179 │ 179 ││
│ 212 ╘ 205 ═ 207 ╧ 205 ═ 190 ╛│
├───────────────────────────────────┤
│ ╓─╥─╖ │
│ ║ ║ ║ │
│ ╟─╫─╢ Alt Codes │
│ ║ ║ ║ │
│ ╙─╨─╜ │
│ 214 ╓ 196 ─ 210 ╥ 196 ─ 183 ╖│
│ 186 ║ 186 ║ 186 ║│
│ 199 ╟ 196 ─ 215 ╫ 196 ─ 182 ╢│
│ 186 ║ 186 ║ 186 ║│
│ 211 ╙ 196 ─ 208 ╨ 196 ─ 189 ╜│
├───────────────────────────────────┤
│ ┌─┬─┐ │
│ │ │ │ │
│ ├─┼─┤ Alt Codes │
│ │ │ │ │
│ └─┴─┘ │
│ 218 ┌ 196 ─ 194 ┬ 196 ─ 191 ┐│
│ 179 │ 179 │ 179 ││
│ 195 ├ 196 ─ 197 ┼ 196 ─ 180 ┤│
│ 179 │ 179 │ 179 ││
│ 192 └ 196 ─ 193 ┴ 196 ─ 217 ┘│
└───────────────────────────────────┘
Single output:
PS> boxunichars /s
┌───────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┤
│ ┌─┬─┐ │
│ │ │ │ │
│ ├─┼─┤ Alt Codes │
│ │ │ │ │
│ └─┴─┘ │
│ 218 ┌ 196 ─ 194 ┬ 196 ─ 191 ┐│
│ 179 │ 179 │ 179 ││
│ 195 ├ 196 ─ 197 ┼ 196 ─ 180 ┤│
│ 179 │ 179 │ 179 ││
│ 192 └ 196 ─ 193 ┴ 196 ─ 217 ┘│
└───────────────────────────────────┘
Double output:
PS> boxunichars /d
┌───────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┤
│ ╔═╦═╗ │
│ ║ ║ ║ │
│ ╠═╬═╣ Alt Codes │
│ ║ ║ ║ │
│ ╚═╩═╝ │
│ 201 ╔ 205 ═ 203 ╦ 205 ═ 187 ╗│
│ 186 ║ 186 ║ 186 ║│
│ 204 ╠ 205 ═ 206 ╬ 205 ═ 185 ╣│
│ 186 ║ 186 ║ 186 ║│
│ 200 ╚ 205 ═ 202 ╩ 205 ═ 188 ╝│
└───────────────────────────────────┘
Single vertical double horizontal output:
PS> boxunichars /sd
┌───────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┤
│ ╒═╤═╕ │
│ │ │ │ │
│ ╞═╪═╡ Alt Codes │
│ │ │ │ │
│ ╘═╧═╛ │
│ 213 ╒ 205 ═ 209 ╤ 205 ═ 184 ╕│
│ 179 │ 179 │ 179 ││
│ 198 ╞ 205 ═ 216 ╪ 205 ═ 181 ╡│
│ 179 │ 179 │ 179 ││
│ 212 ╘ 205 ═ 207 ╧ 205 ═ 190 ╛│
└───────────────────────────────────┘
Double vertical single horizontal output:
PS> boxunichars /ds
┌───────────────────────────────────┐
│ Box Unicode Characters │
├───────────────────────────────────┤
│ ╓─╥─╖ │
│ ║ ║ ║ │
│ ╟─╫─╢ Alt Codes │
│ ║ ║ ║ │
│ ╙─╨─╜ │
│ 214 ╓ 196 ─ 210 ╥ 196 ─ 183 ╖│
│ 186 ║ 186 ║ 186 ║│
│ 199 ╟ 196 ─ 215 ╫ 196 ─ 182 ╢│
│ 186 ║ 186 ║ 186 ║│
│ 211 ╙ 196 ─ 208 ╨ 196 ─ 189 ╜│
└───────────────────────────────────┘
This project is written in C++
.
This is graded by CodeFactor and is subjective, but helps me to refactor my work.
Name | Status |
---|---|
codefactor.io |
All hashes are retrieved at compile/build time.
Description | Status |
---|---|
Project Release Date | |
Total downloads for this project | |
Complete repository size | |
Commits in last month | |
Commits in last year |
unicode box characters @ DuckDuckGo
Adding a path to the Windows %PATH% environment variable @ DuckDuckGo
Logo
Help Screen
Default, horizontal, and vertical "all" displays
Single displays
License Excerpt
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.