ARFF to CSV Converter
Turn an ARFF dataset into CSV that opens in any spreadsheet or data tool. Attribute names become the header row, quoted values are read correctly, sparse rows are expanded and missing values become empty cells.
How to Convert ARFF to CSV
Quick answer: paste your ARFF or open the file; the CSV appears below. Copy it or download the .csv file.
-
1
Add your ARFF
Paste it or open a file.
-
2
Choose options
Adjust the output on the right.
-
3
Check the CSV
Errors are explained clearly.
-
4
Copy or download
Save it as .csv.
What You Get
What Is ARFF?
ARFF (Attribute-Relation File Format) is a data format used by machine learning and data mining tools. A header describes the dataset with @relation and lists every column with @attribute and its type, numeric, nominal or string, and the rows follow after @data.
What Is CSV?
CSV (comma-separated values) is the universal spreadsheet exchange format: one row per line and a comma between values, with quotes around values that contain commas, quotes or line breaks. Every spreadsheet, database and data tool can read and write CSV.
Why Convert ARFF to CSV?
ARFF files from machine learning courses, repositories and tools are hard to inspect without the right software. As CSV, the same data opens in any spreadsheet, database or analysis tool.
How the Conversion Works
The @attribute names become the header, comments starting with % are skipped, values in single or double quotes are unquoted, ? becomes an empty cell and sparse rows such as {0 1, 3 yes} are expanded with zeros for missing columns.
Example
The sample exams dataset becomes a CSV with the header id,name,city,score,passed and three rows.
Who Uses It?
Students, researchers and analysts who want to look at or share ARFF datasets in spreadsheets. Because everything happens in the browser, it is also safe for internal and confidential files.
Using Your CSV File
Open the CSV in any spreadsheet program, or import it into a database or data tool. Choose a semicolon separator if your spreadsheet expects it, and check the first rows to make sure every value landed in the right column.
Common Problems in ARFF Input
An ARFF file needs a header with one @attribute line for each column, followed by @data and the rows. This reader handles quoted names, nominal lists in curly brackets, date attributes, comments starting with %, missing values written as ? and the sparse layout where rows list only non-zero values as index-value pairs. Missing values become empty cells in the CSV.
Checking Your CSV Output
Check the header row first: it lists every column found, in order. Rows missing a value get an empty cell, and values with commas, quotes or line breaks are quoted correctly. Choose a semicolon separator if your spreadsheet uses a comma for decimal numbers, which is common in many European settings, so columns split correctly when the file opens.
Step by Step
Start by pasting your ARFF into the input box, or press Open File to load it from your device. The converter reads it straight away and shows the CSV in the output box. If the input has a problem, a short message explains what is wrong and where, so you can fix it in place. Next, adjust the options on the right; the output refreshes immediately so you can compare. When you are happy, press Copy to put the result on your clipboard, or Download to save it as a .csv file ready to use.
Private, Free and Instant
The converter is free, with no sign-up, no limit beyond the 5 MB file size and no watermark. It runs in your browser, so settings files with passwords, server addresses or customer data are never uploaded or stored. Paste the content, drop a file on the input box or press Open File, then copy the result or download it with the right file extension. It works on Windows, Mac, Linux, Chromebooks, iPhone and Android.
ARFF to CSV: Machine Learning Datasets in Spreadsheet Form
ARFF is the data format of the Weka machine learning toolkit. A file has a header that declares attributes and their types, followed by a data section. CSV is easier to open in spreadsheets and other tools.
What conversion does
Attribute names become the header row, and data lines become rows. Nominal attributes keep their text values, numeric attributes keep numbers, and missing values written as ? become empty cells.
Notes
Comments starting with % are dropped. For the reverse direction, see CSV to ARFF.
Frequently Asked Questions
Questions about ARFF to CSV