Skip to content
100% local

ASCII bar chart generator

Turn label/value pairs into a monospace bar chart made of text characters.

Input
Output

ASCII bar chart generator

Paste a list of labels and numbers and this tool draws a horizontal bar chart out of plain text characters, one bar per line. It is built for places a real chart can't go: a README, a commit message, a log file, a terminal banner or a code comment — anywhere monospace text is the only medium available.

Each input line is one item. Choose how the label and value split — tab, comma, colon, or the last run of whitespace, which suits rows like "New York 8419" where the label itself contains a space. Set the chart width in characters and pick the character bars are drawn from; the default is a solid block, but any character works. Sub-character precision adds one partial block glyph at the tip of a bar so its length reflects the value exactly, instead of rounding to the nearest whole character. Sort by value or keep input order, show the raw value or its share of the total after each bar, align labels to a common column, add a totals row, and scale bars from zero or from the set's own minimum — useful when every number is large and close together.

Blank lines and rows that don't parse to a label and a number are skipped rather than breaking the chart. Windows and Unix line endings are handled the same way, and the tally under the output reports the item count, their total and the result's character count.

Everything runs in your browser — the numbers and labels you paste are never uploaded anywhere. Copy the finished chart, download it as a .txt file, or send it straight into another tool's input.

FAQ

What format does my data need to be in?
One item per line, as a label and a number split by the separator you choose — a tab, a comma, a colon, or the last space or run of spaces on the line.
What does "sub-character precision" do?
It adds one partial block character at the end of a bar so its length matches the value exactly, instead of always rounding to the nearest whole character.
Can I chart negative or mixed positive/negative values?
Yes. Bars are drawn relative to a baseline at zero (or below it, if a value is negative) rather than assuming every number is positive.
Does it work with values that are much larger than the differences between them?
Turn off "Scale from zero" to scale bars from the smallest value in the list instead, which makes small differences between large, close numbers visible.
Is my data uploaded anywhere?
No. The chart is generated entirely in your browser — your labels and numbers never leave your device.