Convert ARFF to CSV

Instructions for exporting Weka ARFF files to CSV format.

How to convert arff to csv file

  • Other

Exporting Weka Attribute-Relation File (ARFF) format to Comma Separated Value (CSV) format

The software that can be used to reliably read and export ARFF (Attribute-Relation file format) files is the Weka machine learning application and it is also the only software that can be used to export these files to other formats, for example, CSV format. Weka is available for Windows, Linux, and macOS, so it's fair to assume you can do arff to csv export on every platform.

You can find some 3rd party and community-made scripts and tools that can be used for the same purpose; for example, Python Pandas can read .arff files and parse these to CSV format.

How to convert ARFF data to CSV

  1. Load the ARFF File

    • In Weka, go to the Explorer interface.
    • Click on the Open file... button and select your ARFF file.
  2. View the Data

    • Once the .arff file is loaded, you can view the data in the main area. This step helps you ensure you've opened the correct file.
  3. Save as CSV

    • Click on the Save... button in the Explorer.
    • Choose a location to save your file in the dialog box that appears.
    • Before saving, change the file type to CSV format(.csv).
    • Name your file and click Save.
Weka icon

Weka

A machine learning software to solve data mining problems

Additional formats for
arff file conversion

Share on social media: