Skip to content

Free online ARFF to XLSX converter

Convert ARFF datasets into editable XLSX spreadsheets with Python, Weka, or 101convert.

Convert ARFF to XLSX online - free

Uploading…

Your file is processed instantly and deleted as soon as you download it.

How it works

  1. 1/3

    Upload your .arff file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .arff to .xlsx conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .xlsx file

    Conversion result is ready to download.

How to convert arff to xlsx file

ARFF files are common in machine-learning workflows, but spreadsheet applications generally do not open them directly. Converting one to XLSX makes the records available for inspection, filtering, editing, and sharing in Excel or LibreOffice Calc.

What the ARFF format is

ARFF (Attribute-Relation File Format) is a text-based dataset format associated with the Weka machine-learning toolkit. An ARFF file contains a @relation declaration, @attribute definitions describing column names and types, and a @data section containing dense or sparse records.

Weka, KEEL, machine-learning research software, and custom Python or Java programs create ARFF files. You usually encounter them in classification, clustering, benchmarking, and educational datasets. ARFF supports numeric, nominal, string, date, and missing values represented by ?.

What the XLSX format is

XLSX is the XML-based spreadsheet format used by Microsoft Excel and supported by LibreOffice Calc, Google Sheets import, and other spreadsheet programs. It stores tabular values in worksheets and supports filtering, formulas, charts, formatting, and multiple sheets.

XLSX is preferable when people need to review or edit the dataset manually, send it to users without Weka, archive it with office documents, or perform spreadsheet-based analysis. The conversion normally places ARFF attributes in the first row and data records in the rows below.

How to actually convert ARFF to XLSX

Using Python

This method preserves the ARFF data table and handles nominal and sparse records through the liac-arff parser.

  1. Install the required packages:
python -m pip install liac-arff pandas openpyxl
  1. Save the following as arff_to_xlsx.py:
import arff
import pandas as pd

with open('input.arff', 'r', encoding='utf-8') as source:
    dataset = arff.load(source)

columns = [attribute[0] for attribute in dataset['attributes']]
frame = pd.DataFrame(dataset['data'], columns=columns)
frame.to_excel('output.xlsx', index=False, engine='openpyxl')
  1. Put input.arff beside the script and run:
python arff_to_xlsx.py

The resulting output.xlsx contains one worksheet with the attribute names as column headers. To avoid Excel interpreting date-like or identifier values incorrectly, inspect the resulting columns and apply the required number formats after opening the workbook.

Using Weka and LibreOffice

Weka can first export the ARFF data to CSV, after which LibreOffice Calc can save it as XLSX:

java -cp weka.jar weka.core.converters.CSVSaver -i input.arff -o output.csv

Open output.csv in LibreOffice Calc, verify the delimiter and character encoding in the import dialog, then choose File → Save As, select Excel 2007–365 (*.xlsx), and save the workbook. This route is useful when Weka is already installed or when you want to inspect the exported CSV before creating the spreadsheet.

Using the online converter

For a conversion without installing software, upload the ARFF file to the free converter on 101convert.com and select XLSX as the output format. Download the generated workbook and check its columns and missing values before using it for analysis.

Quality and compatibility limits

XLSX does not have ARFF’s relation and attribute-declaration model. The relation name, nominal-value lists, date-format declarations, comments, and machine-learning metadata may not appear in the workbook unless they are added to a separate worksheet or preserved in the original ARFF file.

Missing values may remain as ?, become blank cells, or be converted to a library-specific missing value. Confirm the result before importing it into another program. Nominal attributes are exported as ordinary cell values; XLSX does not automatically retain their allowed-value lists.

Excel may automatically reinterpret long integers, leading-zero identifiers, dates, and scientific notation. Import those columns as text or apply an explicit format when their exact character representation matters. XLSX also has a limit of 1,048,576 rows and 16,384 columns per worksheet; larger ARFF datasets require splitting or another data format.

ARFF vs XLSX: format comparison

How the ARFF and XLSX formats compare on the properties that matter most for this conversion.

Comparison of the ARFF and XLSX file formats
Property .ARFF Attribute-Relation File Format .XLSX Microsoft Excel Open XML Spreadsheet
Open standard Partly open Yes
Compression Uncompressed Both
Typical file size Small Medium
Opens in a web browser Partial Partial
Further editing Easy Easy
Metadata support Basic Extensive
Plain-text readable Yes No
Best used for Data exchange Data exchange
Introduced — 2007
Developer University of Waikato / WEKA project Microsoft
MIME type text/arff application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Information about file extensions and file types is provided by File-Extensions.org

Frequently asked questions

Is the ARFF to XLSX converter free?

Yes, converting ARFF to XLSX on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my ARFF file be?

You can upload ARFF files up to 300 MB and convert up to 20 files at once in a single batch.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert ARFF to XLSX?

No. The ARFF to XLSX conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid ARFF file for this ARFF to XLSX conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.