How to convert a tab separated file to CSV format?

Sreesha Nair picture Sreesha Nair · Apr 8, 2011 · Viewed 74.5k times · Source

I have a text file in this format :

{

attribute1 attribute2 attribute3.... attributeN

value"A" value"B" value"C".... value"Z"

/* next line of values*/

}

Each word is separated by a tab.

How do I convert to CSV format? I tried using Excel but it's giving compatibility issues.

Answer

Luca Fagioli picture Luca Fagioli · Apr 8, 2011

Import the data with excel (Data > Load from text file), using tab as a column separator. Then save the file as csv.

It cannot have compatibility issues, it's a basic task and i did it quite often in the past.