J. Pedro Ribeiro

Converting CSV to Array of String

November 09, 2019

This past week I've been doing a lot of spreadsheets and data manipulation and I needed a quick way of converting a CSV file to an usable array or object.

You will find loads of solutions online but they either offer too much or rely on uploading files, which is not ideal in terms of privacy.

So I decided to build a very simple solution for this: open up your CSV file, copy, and paste into the first block below.

Enjoy!

Edit CSV to JS Array / Object

J. Pedro Ribeiro

Hello!
I’m a Brazilian frontend developer living in London. This website features some of my latest projects and my thoughts on anything web related.
You can find me on Twitter, Instagram, and LinkedIn.
Wanna talk? Send me a message.