Text Border Box

Wrap a piece of text in a neat box border drawn from characters.

Boxing text in

Drawing a border around text makes it stand out in any plain-text setting — a note in a code comment, a warning in a README, a header in a terminal message, a highlighted block in an email. This surrounds your text with a tidy frame built from box-drawing or ASCII characters, so an ordinary line becomes a boxed callout.

Paste your text and it comes back inside a border.

Keeping the box square

As with all character-drawn art, the box only lines up in a monospace font, where every character is the same width — in a proportional font the right-hand edge goes ragged. Different border styles, from simple dashes and pluses to smooth box-drawing lines, suit different places; the cleaner styles need broad character support to render, while the plain ASCII ones work virtually everywhere.

Text Border Box FAQ

Where can I use a text border?

In code comments, README files, terminal output or emails — anywhere plain text needs a box around it.

Why does the box look uneven somewhere?

It needs a monospace font. In a proportional font the characters no longer align and the edges go ragged.

Is my text uploaded?

No. The border is drawn in your browser.

More Text tools