Text Box Generator
Wrap any text in a drawn box or border made of plain Unicode line characters. Type or paste your text, choose a frame style, alignment, and padding, then copy the result. It is ordinary text, not an image, so the box pastes into a comment, README, code block, terminal, or chat — and nothing leaves your browser.
Align
Padding
How to use Text Box
- 1
Type or paste your text
Enter the text you want to frame. One line or many — the box grows to fit the widest line.
- 2
Pick a box style
Choose a frame like Single, Rounded, Double, Bold, ASCII, Dashed, Star, or Block to match where you will paste it.
- 3
Set alignment and padding
Align the text left, center, or right inside the box, and add inner padding for a little breathing room around the words.
- 4
Copy and paste
The boxed text appears instantly below. Copy it and drop it into a comment, README, code block, terminal, or chat.
About drawing boxes and borders around text
What box-drawing characters are
Long before graphics, terminals drew tables, frames, and menus using a special block of Unicode characters made just for the job: corners, horizontal and vertical lines, and junctions that join seamlessly into a continuous border. Those same characters still work in any modern app, so you can frame a note or a heading with a real rectangle instead of a row of dashes that does not quite meet at the corners.
Because each glyph is ordinary text, a box you build here is not an image. It copies and pastes like any other words, survives being quoted or edited, and can be read by anything that reads text — which is why boxed text shows up in README files, command-line tools, and code comments everywhere.
Choosing a style and layout
The frame styles set the mood. Single and Rounded are quiet and neat for a small note; Double and Bold draw more attention, good for a title or a warning; ASCII is the safe choice when you are not sure the destination supports fancy characters, since it uses only the most basic keys. Star and Block are decorative and stand out in a chat or a banner.
Alignment and padding control how the words sit inside the frame. Center alignment suits a short title, while left stays natural for a list or a sentence. A padding of one or two adds a margin of space so the text does not touch the border, which usually reads better than a frame pressed tight against the letters.
Using boxed text well
Boxed text shines when it marks something out — a title at the top of a README, a note in a code comment, an ASCII banner in a terminal program, or a highlighted message in a code block on a forum. Reach for a box when a block of text deserves a visible frame, and keep the content short so the rectangle stays a sensible width.
The one rule that matters is the font. A box only stays square in a monospace setting, so paste it where a fixed-width font is used, and prefer a simple line style if you cannot be sure. If your text mixes in emoji or wide CJK characters, expect the right edge to drift by a column, and lean on a plain single or ASCII frame, which tolerates the difference best.
Frequently asked questions
What is a text box generator?
How do I copy the box?
Where does boxed text look best?
Why does the box look crooked in some apps?
What is the difference between the styles?
Is my text sent anywhere?
Related tools
Keep going with these handy tools