Space Cat, Prince Among Thieves

CSV To Markdown Table Generator

While doing code reviews on Github I find myself profiling a lot of SQL queries, getting EXPLAIN output into a markdown format for Github became very important, and was a huge pain to do by hand.

While there were tools out there, nothing I could easily copy and paste tab seperated query results into, so I created this. The markdown this outputs should work with most table supporting Markdowns flavors such as Markdown Extra and Github Flavored Markdown.

The default tab separated setting is very useful for pasting straight from Excel or other tabular data sources like SQL editors.

Caveat - while it does essentially parse CSV it is not quotation mark aware. If need or demand arises I may look into it.

The script is available on Github and is Node.js ready. More details can be found on Github.

Fork my source on Github!

Comment by: Tats on

Tats GravatarSuper Easy Use!
Very useful!
Thanks a lot!

Comment by: Andrew Lane on

Andrew Lane GravatarLove this! Helped me out a ton.

Comment by: Jean on

Jean Gravatarthat is nice dude

Comment by: Shaul on

Shaul GravatarThanks! Really helpful

Comment by: JiangNan on

JiangNan GravatarThanks, it helps a lot!

Comment by: Nitin Bansal on

Nitin Bansal GravatarIt breaks if column value has commas in it, even though the entire value is wrapped in double quotes

Comment by: will on

will GravatarThat is great!
Thanks!

Comment by: Mitchell on

Mitchell Gravatarlove it!

Comment by: Smithf703 on

Smithf703 GravatarI'm really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you customize it yourself? Anyway keep up the excellent quality writing, its rare to see a great blog like this one these days.. afkddkecddedffad

Comment by: Brady Holt on

Brady Holt GravatarI use this all the time. Thank you!

Comment by: Hemal Jivani on

Hemal Jivani GravatarThanks so much for this nice tool

I use it all the time and its awesome piece of work.

Comment by: Smithe392 on

Smithe392 GravatarHi there, just became aware of your blog through Google, and found that it's truly informative. Im gonna watch out for brussels. I will appreciate if you continue this in future. Many people will be benefited from your writing. Cheers! ddkeeeeaeffafaeb

Comment by: ryan on

ryan Gravatarvery nice !!

Email address will never be publicly visible.