Tablas simples 🪑
Convert web tables and spreadsheets to plain text


1. Paste web or spreadsheet table below

2. Select desired section above

3. Edit and copy from here:

What's this?

Tablas simples allows you to easily produce tables in plain text (Markdown or otherwise) for your emails or documents by copying and pasting a table or spreadsheet from the web or from LibreOffice Calc or Excel. After pasting, select the columns you need and ASCII or Markdown comes out. Good for taming unwieldy and complex tables you need to forward on emails or to copy just a section of it.

Copy and paste the table in the first space, then select just the columns you need and a simple table appears in the second space ready for you to copy and paste into your text editor, Markdown document or email. Header borders are automatically added to the top row.

I like plain text. Sometimes I want to easily copy and paste tables and spreadsheets into emails or text documents. Specifically, I needed to forward flight itineraries on email which I was getting on ugly HTML tables. There are similar tools, such as ASCII table generator, markdownTables, Markdown tables generator, Markdown-table and the closed source Table to markdown, but I needed something that could handle colspans and multi-line cells as well as balancing column widths. This is still missing automatic line wraps (for example, to make the table fit in 80 columns of plain text) and rowspans.

Tablas simples is all Javascript with jquery running in the client. It uses the Turndown HTML to Markdown converter and Selection.js for x/y selection to pick just the section of the table tou nees. I also use RequireJS to make it easier for me, but it could probably be done without it, a modified version of the Joplin Turndown plugin, itself a fork of the turndown-plugin-gfm for Github-flavored Markdown, and DOMPurify to sanitize the input.

Get the source code here. Get in touch here or check my Twitter at @mir_lentejas.