Wrap text in a box using ASCII or Unicode line characters.
The Box Drawing tool wraps your text in a border. Choose a plain ASCII, single-line, double-line or rounded style, set the padding, and copy the result into code comments, READMEs or terminal output. Multi-line text is supported and lines are padded to the same width.
Text boxes are a long-standing way to make notes stand out in plain text, such as banners in source files, console messages and documentation. The simplest style uses plus signs, hyphens and vertical bars, which works everywhere. Unicode adds dedicated box-drawing characters in the range U+2500 to U+257F, giving straight single lines, double lines and rounded corners. They look cleaner but need a monospaced font that includes those glyphs, and they are not ASCII, so a file containing them is no longer pure ASCII. The width of a box depends on the longest line, and the tool measures it in code points, so characters that render wider, such as CJK text or some emoji, can still make the right border look misaligned.
The font may not be monospaced, or some characters (CJK, certain emoji) are wider than one cell while the tool counts one per code point.
No. Lines are left aligned inside the box.
Only with the ASCII style. The other styles use Unicode box-drawing characters.
Vertical padding is added as blank rows, half the horizontal value, rounded up.
No. The box is drawn in the page and your text stays on your device.