cowsay is a command-line application that displays a character-based cow alongside a speech bubble containing a supplied message. It is one of the most recognisable examples of humorous software in Unix and Linux environments.
The program was originally written by Tony Monroe. Its deliberately simple purpose has helped make it popular for decorative terminal messages, shell scripts and demonstrations.
Despite its name, cowsay is not restricted to cows. It supports alternative character designs stored in cowfiles, allowing different animals and other figures to appear alongside the supplied text.
The application also provides controls for changing how characters look and how their messages are presented. Its companion command, cowthink, produces thought bubbles instead of conventional speech bubbles.
cowsay can process text supplied through standard input, making it straightforward to combine with other command-line utilities.
This is free and open source software.
Key Features
- Displays ASCII characters with accompanying speech bubbles.
- Accepts messages from command-line arguments or standard input.
- Supports alternative character designs through cowfiles.
- Provides a companion cowthink command for thought bubbles.
- Allows the maximum width of the message bubble to be adjusted.
- Supports different eye and tongue characters.
- Offers predefined character expression modes.
- Allows additional cowfiles to be created and used.
- Supports randomly selecting a character design in compatible implementations.
- Integrates with scripts and other command-line applications.
- Cross-platform support – runs on Linux and macOS.
Website: github.com/cowsay-org/cowsay
Support:
Developer: Tony Monroe, with subsequent development by Andrew Janke and contributors
License: GNU General Public License v3.0
A group of 15 contributors have written a version of cowsay for R. Here’s the GitHub code repository for this project. There’s a version for JavaScript also hosted at GitHub.

Learn Perl 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 |
| Steam Locomotive | C program written in 295 lines. It's harmless fun |
| boxes | ASCII box drawing |
| Durdraw | ASCII, Unicode and ANSI art editor |
| oh-my-logo | Creates colourful ASCII art logos with gradient effects |
| FIGlet | Make large letters out of ordinary screen characters |
| pipes.sh | Animated pipes terminal screensaver |
| 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 |
| Bit | Interactive terminal designer for ANSI logos and bitmap text |
| 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 |
| Ansizalizer | Converts images into colourful ANSI art with live previews |
| catspeak | Like cowsay but catty |
| charmascii | Generates stylised ASCII art text with fonts and borders |
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.