Description
Tabulo is a Ruby library for generating plain text tables, often called ASCII tables. You describe the table column by column rather than row by row, so the header and body rows stay in sync automatically. Column widths can be fixed, with overflowing content wrapped or truncated, or the table can be packed so that columns fit their contents without running past the terminal width. Alignment has sensible defaults, with numbers aligned right and strings aligned left, and you can override them. Tabulo can tabulate any Enumerable, not only arrays, and can print rows one at a time as they arrive, which suits large or slow data sources. Borders come in several styles, including Markdown, plain ASCII and joined Unicode characters. You can add colours and other styling to cells and borders without breaking the table. The README includes a quick API and a fuller API, and the project is open source and public on GitHub under matt-harvey. A Crystal port called Tablo also exists.…
Highlights
- Column-based API that keeps headers and rows in sync
- Fixed widths or auto-sized columns
- Streams rows from any Enumerable
- Markdown, ASCII and Unicode borders
- Colours and styling without breaking the table
Ratings & Reviews
No ratings yet
Be the first to rate Tabulo.
People also visit

tanstack-table
Headless UI for building powerful tables & datagrids for TS/JS, React, Vue
Tabulo FAQ
What is Tabulo?
A Ruby library for plain text tables, with border styles including Markdown, ASCII and Unicode.
How do I use it?
You define the table column by column and then render it. The README has a quick API for simple cases and a fuller API for more control.
Can it handle large data?
Yes. It can step through a table one row at a time and print as it goes, without waiting for the whole collection to load.
Is there a Crystal version?
Yes. A port called Tablo exists, with some modifications.
Does it support colours?
Yes. You can apply colours and styling to cells and borders without breaking the table layout.
What are the best Tabulo alternatives?
Popular alternatives to Tabulo include Nothing Less, HTML Table Generator and Uniplot. See all Tabulo alternatives





