ASCII bar chart generator
Turn label/value pairs into a monospace bar chart made of text characters.
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.