Developer Tools
ASCII Box Generator
Wrap any text in an ASCII or Unicode box border in your browser. Single, double, rounded, heavy, dashed, asterisk styles with padding and title.
Border style
Pick a Unicode box-drawing style or a pure-ASCII style. ASCII, asterisk, and dotted variants paste safely into any encoding.
Layout
Text alignment
Width
Width matches the longest line
Boxed output
The boxed output appears here. Type or paste text on the left, or click Load sample.Interior width
1 col
Text width before padding
Outer width
7 cols
Including border and padding
Output rows
3
Top + content + bottom
Output chars
23
Plain text, paste-ready
How to use
- Pick a border style: Single, Rounded, Double, Heavy, Dashed (Unicode), or ASCII, Asterisk, Dotted (pure ASCII).
- Optionally type a title to sit inside the top border, and pick alignment, horizontal padding, and vertical padding to taste.
- Choose a width mode: Auto for the longest line, Fixed for an exact interior width (wraps overflowing lines), or Word wrap to soft-wrap at a target column.
- Type or paste your text into the input. The boxed output updates as you type. Use Load sample to see a worked example or Clear to start over.
- Click Copy to grab the boxed text, ready to paste into a README, code comment, shell script, or terminal banner.
About this tool
ASCII Box Generator wraps any text in a clean drawn border, entirely in your browser, with eight border styles to match the destination. Pick Single, Rounded, Double, Heavy, or Dashed for Unicode box-drawing characters (the same set most modern monospaced terminals, code editors, and Markdown renderers display correctly), or pick ASCII, Asterisk, or Dotted for portable pure-ASCII borders that paste safely into legacy encodings, shell scripts, log lines, and email. Add a title that sits inside the top border using the style's tee glyphs (so 'README' shows up as a tag that breaks the top edge), set horizontal padding (spaces between the border and the text on each side) and vertical padding (blank rows above and below the text), align the text left, center, or right inside the box, and choose how the width is computed: Auto matches the longest line, Fixed locks the interior to an exact column count and wraps any line that overflows, and Word wrap soft-wraps long lines at your chosen target while letting the box shrink to fit. The renderer counts display width per code point, so CJK ideographs, hangul, hiragana, katakana, and emoji count as 2 columns each and the right border stays aligned with mixed Latin and East Asian text. Zero-width characters (zero-width space, combining marks, the byte order mark) count as 0. The line wrapper is word-boundary aware and breaks a single oversized word on the character boundary so the box always closes cleanly. Useful for README headers, CLI welcome banners, shell-script comment dividers, code-comment section markers in C, JavaScript, Python, and SQL, ANSI terminal art, conference slide decks, plain-text email signatures, and any place a boxed block of monospaced text needs to be generated without installing figlet, boxes, or a Node tool chain. The output is just plain text in your chosen border characters, so the result drops straight into a Markdown file, a code comment, a chat message, a docstring, an email body, or a terminal. Everything runs locally; the text you paste here is never uploaded.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
ASCII Table
Searchable ASCII reference plus a two-way text-to-code converter.
Open tool
ImageImage to ASCII Art Generator
Turn JPG, PNG, or WEBP images into customizable ASCII text art with live preview.
Open tool
DeveloperHTML Entity Reference
Searchable HTML special character reference with named, decimal, and hex codes.
Open tool
DeveloperMarkdown Cheat Sheet
Searchable Markdown syntax reference with rendered previews and flavor filters.
Open tool
DeveloperComment Stripper
String-aware comment remover for 13 languages and formats.
Open tool
GeneratorLorem Ipsum Generator
Generate filler text by paragraphs, sentences, words, list items, or bytes.
Open tool