boxes is a command-line text filter that surrounds input with decorative ASCII and Unicode borders. Its designs range from simple rectangular frames to elaborate character-based decorations suitable for headings, notices and source-code comments.
The program processes text supplied through standard input or files. It is particularly useful in workflows where the result must remain plain text, such as documentation, terminal messages and source files.
The appearance of each border is controlled by a design definition. Users can select from predefined styles or create their own designs through configuration files.
Unlike a basic border generator, boxes also supports removing and repairing existing frames. This allows enclosed text to be edited and subsequently reformatted without reconstructing the entire border manually.
This is free and open source software.
Key Features
- Surrounds text with ASCII and Unicode border designs.
- Includes a collection of predefined decorative frames.
- Supports custom box designs through configuration files.
- Controls padding around enclosed text.
- Adjusts text alignment and positioning within borders.
- Creates decorative source-code comment blocks.
- Removes existing borders while retaining their contents.
- Repairs borders after the enclosed text has changed.
- Supports regular-expression substitutions during text processing.
- Integrates with text editors that support external filters.
- Processes input through command-line pipelines.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/ascii-boxes/boxes
Support:
Developer: Thomas Jensen and contributors
License: GNU General Public License v3.0

Boxes is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| ASCII Art Tools | |
|---|---|
| gif-for-cli | Convert media to animated ASCII art |
| ASCIIQuarium | Embrace marine life from the terminal with beautiful ASCII art |
| Calligraphy | Converts short texts into large, imposing banners |
| CMatrix | Terminal based “The Matrix” |
| Diagon | Transforms markdown-style expression into an ascii-art representation |
| Aewan | Ascii-art Editor Without a Name |
| Steam Locomotive | C program written in 295 lines. It's harmless fun |
| boxes | ASCII box drawing |
| Durdraw | ASCII, Unicode and ANSI art editor |
| FIGlet | Make large letters out of ordinary screen characters |
| pipes.sh | Animated pipes terminal screensaver |
| jp2a | Convert JPEG images to ASCII |
| asciify | Turn images into attractive ASCII art |
| lolcat | Rainbows and unicorns |
| Artem | Convert images to ASCII art |
| TOIlet | Similar in many ways to FIGlet with additional features |
| textdraw | Draw geometric figures and text |
| PyBonsai | Generates procedural ASCII art trees |
| No More Secrets | Recreates the data decryption effect seen in the 1992 film Sneakers |
| Letterpress | Converts your images into a picture made up of ASCII characters |
| draw | Simple drawing tool for the terminal |
| ASCII Art Converter | Converts images into ASCII art |
| cbonsai | Generate bonsai trees |
| cadubi | Creative ASCII drawing utility |
| cacafire | Color ASCII Fire |
| cowsay | Generates ASCII pictures of a cow with a message in a speech bubble |
| Mezzotone | Convert images into ASCII art |
| img2ascii | Command-line tool for converting images to ASCII art |
| gti | Typo-based curio inspired by Steam Locomotive |
| ctree | Christmas tree on your terminal |
| ASCII Draw | Sketch anything using characters |
| catspeak | Like cowsay but catty |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.