← All text tools

Text Box Border Generator

Draws a box made of text characters around your lines, in ASCII or Unicode line styles, with padding and left, centre or right alignment.

  • Free
  • No sign-up
  • Works on any device

About Text Box Border Generator

A box of characters makes a note, a banner or a code comment stand out in plain text. This generator measures every line by its display width, so wide characters and emoji take two columns, then frames the lines with one of eight border styles: single, double, rounded, heavy, solid blocks, plain ASCII with plus and pipe, hash or star. Set the padding on the sides and above and below, and align the text left, centre or right. It works best in a monospaced font.

How to use Text Box Border Generator

  1. Type the lines you want inside the box.
  2. Choose a border style, the padding and the alignment of the text.
  3. Copy the box into a README, a terminal banner or a message.

Why use this tool?

Also known as

Frequently asked questions

Why do the box sides look uneven in my app?

The box needs a monospaced font. In a proportional font the characters have different widths, so the right edge cannot line up.

Which style is safe for old systems?

The plain ASCII styles with plus and pipe, hash or star use only standard keyboard characters and show up everywhere.

Does it handle several lines?

Yes. The box is as wide as the longest line, and shorter lines are padded and aligned inside it as you choose.

Is Text Box Border Generator free?

Yes. Text Box Border Generator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Text Box Border Generator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools