Skip to main content

Testo nel Box

Output ASCII

+---------------+
| Hello, World! |
| Line two      |
+---------------+

Come utilizzare ASCII Diagram Generator

Choose Diagram Type

Select from box, flowchart, table, tree, or sequence diagrams from the top tabs.

Insert content

Fill in the specific fields of the chosen type: free text for box, nodes with label and next link for flow, header/rows CSV for table, parent/label for tree, ternary Actor-Message-Actor for sequence.

Watch preview in real-time

The output ASCII panel updates automatically on every change, showing the ready-to-use result with pure ASCII characters.

Copy and paste

Use the Copy Diagram button to paste results into code comments, READMEs, tickets or technical documentation in plain text.

Suggerimenti

  • Keep output concise and aligned to a fixed width by wrapping it in triple backticks.
  • In the flow diagram, the last node without a nextId is treated as an endpoint: use "--- (end)" to close the chain correctly.
  • For commit messages or comments in code, the box diagram is the fastest way to highlight an important block of text without Markdown formatting.

Domande frequenti

Why use ASCII diagrams instead of images?

ASCII diagrams are plain text: they can be read in any editor, terminal, code comment or Markdown file without the need for graphical rendering. They remain versionable in Git as diffs and do not require external assets to be kept updated.

Does the tree diagram handle trees with multiple levels of depth?

Yes: each node indicates its parent (parentId), so you can build multi-level hierarchies. The connectors (├──, └──, │) are calculated automatically based on the node's position among its siblings.

How does the sequence diagram work?

Each line represents an interaction in the format Actor1,Message,Actor2. The tool automatically determines the arrow direction (---> or <-) based on actor order in the list, useful for quickly representing authentication flow or API calls.

Is there a limit to the width of generated tables or boxes?

No, the tool automatically calculates width based on the longest content. It's still recommended to keep cell and label text reasonably brief for readability in narrow terminals or code comments.