VOOZH about

URL: https://thenewstack.io/cascii-and-why-developers-should-use-ascii-diagrams/

⇱ Cascii and Why Developers Should Use ASCII Diagrams - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-03-29 11:00:09
Cascii and Why Developers Should Use ASCII Diagrams
tutorial,
DevOps / Software Development

Cascii and Why Developers Should Use ASCII Diagrams

Cascii is an ASCII editor that can be a useful tool for developers (e.g., for doing system flowcharts or network diagrams).
Mar 29th, 2025 11:00am by David Eastman
👁 Featued image for: Cascii and Why Developers Should Use ASCII Diagrams
Image by Viktor Forgacs via Unsplash+. 
“Is that something devs do regularly, ASCII diagrams?” This post is an answer to this editorial challenge. It started after hearing about the Cascii app and reflecting on the fact that the development community still doesn’t have a very efficient way of making and sharing simple diagrams. Cascii itself is a very neat American Standard Code for Information Interchange (ASCII) editor or, as the project describes itself, “a web-based ASCII and Unicode diagram builder written in vanilla JavaScript.” It has no dependencies, packing, or libraries. You can just go to the hosted app, or run your own local version by downloading the HTML and opening a browser: 👁 Image
This will get you started with the light theme version, which uses Unicode. In the Settings, you can change to dark mode and switch to straight ASCII. A note on Unicode vs. ASCII: Unicode is the universal, variable-length encoding that encompasses most languages — you will notice some fancier arrows and dotted effects when that mode is on. While Unicode gives you more symbols to play with, it is much less bulletproof than the standardized and much older ASCII. The hosted version of Cascii allows you to save drawings and share them via a URL — you can see these at the bottom of the diagrams you copy. 👁 Image
If you’ve used an image editor recently, you won’t have any trouble using Cascii. You can create shape components, line connectors, and text. You can select, then resize, duplicate, and move these components (however, I couldn’t move the diamonds). You can shift components to the back or front, although I can’t imagine anything that would need this. A simple flowchart diagram was done fairly quickly with just squares, a diamond, lines, and text. The true revelation comes when you hit the Export button, in which Cascii copies your diagram into your paste buffer. Voilà. I copied my first attempt into my Warp terminal just to prove it is just ASCII art: 👁 Image
You can go straight to the URL shown and load it up yourself. But my diagram is a bit unwieldy, so I made a smaller version to use as art. Before we play with that, let’s look at where you may have actually come across an ASCII diagram or art.

Where Do Devs Use ASCII?

If you look at the raw markdown for the Cascii GitHub README.md page, you will see their structure diagram between the three backticks ```, which is the GitHub Markdown dialect for formatting text into its own distinct block. I can do it in WordPress too:
 ┌╶╶╶╶╶╶╶╶╶╶╶╶╶╶┐
 │ GroupManager │ 
 └╶╶╶╶╶╶╶╶╶╶╶╶╶╶┘
 ┌─────────────┐ / ┌─────────────┐
 │EventManager │ / ┌───────│SquareLayer │
 └─────────────┘ / │ │─────────────│ ┌───────────────┐
 \ / │───────│CircleLayer │ ┌────│SwitchLineLayer│
 \ / │ │─────────────│ │ │───────────────│
 ┏━━━━━━━━━━━━┓ │───────│BaseLineLayer│◀──┐────│FreeLineLayer │
 ┃LayerManager┃◀──────┘ │─────────────│ │ │───────────────│
 ┗━━━━━━━━━━━━┛ │───────│DiamondLayer │ └────│StepLineLayer │
 ┌────────────┐ / / \ │ │─────────────│ └───────────────┘
 │CharManager │/ / \ │───────│FreeLayer │
 └────────────┘ / \ │ │─────────────│
 / \ └───────│TableLayer │
 ┌────────────┐ \ └─────────────┘ Pixels!
 │ ModeMaster │ •
 └────────────┘ • • ▲
 • • │
 • • │
 • CanvasCom ────────────────────────────────┘
 • •
 • •
 • •
 •
Edit/view: https://cascii.app/7c24a
There are also common memes that appear as ASCII art, of course. So, I can make a git check out note with ASCII art. Perhaps that is where the meme  “table flip” appeared most:

(╯°□°)╯︵ ┻━┻

Basic diagrams have often appeared in code comments — normally system flowcharts or network diagrams. Amongst developers using VIM, or at least monospaced (fixed-pitch) fonts like Courier in their IDEs, these would all be easily discernible. In the old days, when even simple image rendering needed machines with good graphics cards, ASCII art represented an easily shareable default. Only the combination of decent font control and eventually emojis eroded its use. Eventually, developers got access to tools like Microsoft Visio, a diagramming and vector graphics application that became almost ubiquitous. While Visio lives on, it is a more complicated beast, preferred by architects and marketers.

Cascii: Good for Diagrams

Let’s get back to a simpler version of my flowchart example:
 
 + 
 / \ 
+---------+ / \ +--------+
| | / \ | |
| Start! |+ Continue? +--------| Done! |
| | \ / | |
+---------+ \ / +--------+
 \ / 
 + 
 | 
 | 
 | +---------+ 
 | | | 
 +-------| Cancel | 
 | | 
 +---------+ 

Edit/view: https://cascii.app/02e0e
Now you can copy this and paste it straight into Cascii. Almost. By the time you see this on your browser, it will have been processed many times and will likely be slightly different from the original, perhaps losing a vital line-ending character. However, if you drop it into a terminal program like Warp and then paste it into Cascii, you will likely see the diagram: 👁 Image
There are a few other tools that can convert images to ASCII format, or bigger things like playscii that are more dedicated to full art. But Cascii seems to be out on its own for simply drawing diagrams.

Why Devs Should Use ASCII

While it is still relatively easy to create, share, and re-edit ASCII images, helped by tools like Cascii, the enemy is the rapid format transformations media regularly goes through as we move text through messages, social media, and document forms. Also, it is far from simple to follow the fate of line endings and positioning, without which fixed-width, multiline ASCII is easily defeated. The advantage is the flexibility of the full loop, from creation of a diagram through sharing via copying and re-editing when needed. None of these steps require tools at all — it is in making multiple small update changes on the fly anywhere text can exist that brings out their true efficiency. It is much easier for an ASCII diagram to “live” with the code if it is drawn above it and stored with it. So the real answer to the question posed at the beginning of the article is that developers can and should use ASCII diagrams, but to get the full flexibility, they might need to be working in teams with similar tools. And in that case, they may as well just agree to use the same modern diagramming tools. It just so happens that there really are no simple diagramming tools that developers have all settled on, so a tool like Cascii can fill the role for lightweight cases that are easy to maintain. ┳━┳ ヽ(ಠل͜ಠ)ノ
TRENDING STORIES
David has been a London-based professional software developer with Oracle Corp. and British Telecom, and a consultant helping teams work in a more agile fashion. He wrote a book on UI design and has been writing technical articles ever since....
Read more from David Eastman
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.