EN
My tools

Draw a Box Around Text

Frame text in a box made of box-drawing characters (┌─┐, ╔═╗, ╭─╮, ┏━┓) or ASCII (+-+), with padding, alignment and a title. Korean, CJK and emoji widths line up.

0 = as wide as the longest line.
Boxed text
30 columns wide · 5 lines

Paste the box where a monospace font is used (code blocks, terminals, plain-text email, Discord ``` blocks). In proportional fonts the right edge will not line up. Some East Asian fonts draw box lines two columns wide; switch to the ASCII style there.

Screen readers read the frame characters aloud one by one, so where accessibility matters, post the plain text as well.

My tools →
Advertisement

Put a neat frame around a message, a code comment, a README banner or a chat announcement. Choose from single, double, rounded, heavy and dashed box-drawing lines, plain ASCII for places that only handle basic characters, or stars and hashes. Add padding, blank lines, a title set into the top border and left, centre or right alignment. Wide characters such as Korean, Chinese, Japanese and emoji count as two columns, so the right edge lines up in monospace text.

How to use this tool

  1. Type or paste one or more lines.
  2. Pick a box style and, optionally, a title for the top border.
  3. Set the alignment, inside spacing and a minimum width if you want a wider box.
  4. Copy the box and paste it into a code block, terminal or plain-text message.

Formula

Inside width = max(longest line, minimum width, title + 3 − 2 × padding) · box width = inside width + 2 × padding + 2

Line widths are measured in monospace columns using Unicode East Asian Width: Hangul, CJK, full-width forms and emoji count as two, combining accents as zero, tabs as four spaces. Each line is padded with spaces to the inside width, then framed by the side characters. The box-drawing characters come from the Unicode Box Drawing block (U+2500–U+257F); the title sits after one border character with a space on each side.

Example

With the rounded style and one space of padding, the three sample lines become a box 30 columns wide: “Build passed ✅” is 15 columns because the emoji counts as two, and “배포 완료” is 9 columns. The longest line, “Deploy to staging at 14:00”, sets the inside width to 26.

Frequently asked questions

Why is the right edge crooked?

The box only lines up in a monospace font, where every column has the same width. Paste it into a code block (` on Discord, Slack, GitHub or Markdown) or a terminal. Some apps use fonts in which emoji or CJK characters are not exactly two columns wide.

Which style works everywhere?

ASCII (+-+ and |) uses only basic keyboard characters, so it survives old terminals, email clients and systems that mangle Unicode.

Can I box Korean or Japanese text?

Yes. Keep the two-column option ticked so each Hangul or kanji character counts as two columns, which is how monospace fonts draw them.

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Draw a Box Around Text. https://kakao.mobile/tools/draw-box-around-text-tool/

MLA

“Draw a Box Around Text.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/draw-box-around-text-tool/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement