Skip to main content
ASCII Art Generator

ASCII Bar Chart Generator

Show labeled numbers in a README, terminal or plain-text report without an image. Edit the sample data, choose a bar width, then generate and copy the result. Customize the bar character, order, value or percent labels and title when the default layout is not the one you need. Set a fixed maximum to keep the same scale across separate reports.

No account, upload or charting library needed. The sample is ready to copy.

Leave without saving your work?

Your input and artwork are not saved. Keep editing, or download the current result and check it before leaving.

One label, comma, non-negative number per line. Optional header: Label,Value. Up to 40 rows; labels use 1-32 printable ASCII characters without commas or double quotes.

10-80 cells at the scale maximum. Labels, values and the scale note add to the total width.

Bar scale

Bars start at zero. For separate reports, use the same fixed maximum, bar width and unit. Values above the maximum are rejected, not clipped. See the comparison.

Customize

Your plain-text chart

3 bars, 52 total columns

Design | ####################                     12
Build  | ######################################## 24
Test   | ##############################           18

Scale: 40 # = 24; . = less than one #.

Bars start at zero and use either the largest value or your fixed maximum. Whole cells round down; a dot marks a positive value below one cell. Zero stays blank. Keep the value labels and scale note enabled to include them in every export.

Follow the worked README example

To keep exact cells side by side instead of scaling values, use the ASCII table generator. It aligns a small tab-separated selection as plain text.

For one ordered series sampled at equal intervals, use the ASCII line chart generator. It fits one series automatically or uses fixed bounds. Follow the shared-scale comparison when separate trend charts need the same vertical range.

Put a bar chart in a README

A short chart can make a build report easier to scan without an image attachment. This example uses invented stage timings in minutes, not a benchmark of this site or any build system. Every row uses the same unit. Lower is faster; a longer bar means more time, not better performance.

Enter the six timings

Copy this input into Labels and values above, replace the default data, keep Bar scale on Automatic, set Bar width to 24, then choose Generate bar chart. The first line is an optional header; the six data rows keep their order. Do not add a thousands separator or a unit inside the number.

Label,Value
Compile,24
Tests,18
Lint,7
Package,3
Docs,0.5
Idle,0

The chart is a static snapshot. Changing these numbers later will not update a chart already pasted into your README. Generate and replace it again when the data changes.

Read the scale before comparing bars

Compile is the largest value at 24 minutes, so it fills all 24 bar cells. One # is one minute here. Tests gets 18 cells, Lint gets 7 and Package gets 3. Docs takes half a minute: its dot means positive but smaller than one cell. Idle is zero, so its bar stays blank. A dot is not a zero or a missing value.

Compile | ######################## 24
Tests   | ##################       18
Lint    | #######                  7
Package | ###                      3
Docs    | .                        0.5
Idle    |                          0

Scale: 24 # = 24; . = less than one #.

Length is floor(value / largest value * bar width). Exact numbers remain beside the bars. The labels, separator, number and scale line also take space: this output is 38 total columns, not 24. Keep the scale line when sharing.

Compare a narrower bar width

Set Bar width to 12 and generate again. Each whole cell now represents two minutes. Lint gets floor(7 / 24 * 12) = 3 cells, and Package gets 1. Both bars understate their exact values, which is why the numbers matter. Docs still uses a dot.

Compile | ############ 24
Tests   | #########    18
Lint    | ###          7
Package | #            3
Docs    | .            0.5
Idle    |              0

Scale: 12 # = 24; . = less than one #.

This version is 38 total columns: the unchanged scale sentence is wider than every data row, so halving the bars does not halve the full output width. Check the destination on a narrow screen. Scroll a code block horizontally rather than wrap its rows.

Paste the complete Markdown

  1. Return Bar width to 24 and generate. Editing inputs disables old exports until you generate again.
  2. Choose Copy as Markdown. It copies the chart and scale in a text code fence, without a title or unit explanation.
  3. Paste below your README heading and unit note, or use the complete source below. Keep both fence lines.
  4. Preview the rendered README and check that spaces and line breaks survive. Use Download TXT for a plain-text report instead.
## Example build times

Fictional minutes for one run; lower is faster. Each row is a separate stage.

```text
Compile | ######################## 24
Tests   | ##################       18
Lint    | #######                  7
Package | ###                      3
Docs    | .                        0.5
Idle    |                          0

Scale: 24 # = 24; . = less than one #.
```

GitHub documents fenced code blocks. This page checks the source characters and the generator exports, not rendering in every Markdown app. Keep a sentence explaining the result; a visual chart is not a replacement for a readable data summary.

Avoid misleading comparisons

Automatic scale fits each chart's own largest value. Two separately generated full-width bars can represent different numbers. To compare reports, choose Fixed for Bar scale and use the same maximum, bar width, unit and displayed size. A fixed bar width alone does not establish a shared numeric scale.

These fictional build runs use minutes, not real benchmarks. For each run, paste its input, set Bar width to 30, Bar scale to Fixed and Maximum to 30. Keep hashes, input order, value labels and the scale note. Generate and export before replacing the input with the other run. One cell now represents one minute in both charts: Run B's bars are half as long as Run A's.

Run A

Compile,24
Tests,18
Compile | ########################       24
Tests   | ##################             18

Scale: 30 # = 30 (fixed maximum); . = less than one #.

Run B

Compile,12
Tests,9
Compile | ############                   12
Tests   | #########                      9

Scale: 30 # = 30 (fixed maximum); . = less than one #.

Do not replace missing measurements with zero. The tool needs a number on every data row; omit an unmeasured row and explain the omission in your document. Negative values are unsupported. An all-zero dataset has blank bars. Automatic scale labels it all-zero; Fixed keeps your chosen positive maximum. A maximum below any value produces an error instead of clipping the bar. Percent labels are shares of the dataset total, not of the fixed maximum. Use a table or another charting tool when these constraints do not fit your data.

Return to Labels and values

Use comparable numbers

Put a label and a non-negative number on each line, separated by one comma. Blank lines are ignored; an optional first header is Label,Value. Labels are trimmed, but their order and duplicate names are kept. All rows should use the same unit. Include that unit in the surrounding document.

Decimal points and scientific notation work. Thousands separators, quoted CSV fields, negative values, tabs and non-ASCII labels do not. Errors identify the line instead of skipping it. This is a simple two-column input, not a full CSV importer.

Keep the scale and exact values

In Automatic mode the largest value fills the chosen bar width; Fixed uses your positive maximum instead. Other lengths round down on the same linear scale; a dot marks a positive value smaller than one character. A zero has no bar, and an all-zero dataset is labeled explicitly in Automatic mode. Bars are approximate; value labels keep your original notation.

Copy as Markdown includes a fenced code block. TXT keeps the same characters and line breaks. Use a monospace font with wrapping off, and review the total width in your destination. For letter banners, use the FIGlet text generator; for a framed note, use the ASCII box generator.

Input is limited to 4,096 UTF-16 units, 40 data rows, 32 characters per label and 24 per number. Values outside the finite JavaScript number range are rejected; bar lengths use exact decimal ratios. Formatting runs in your browser; data is not saved by this tool or put in links. Site analytics, storage and hosting are separate. See the developer examples for README formatting.