Free online XLSX to ARFF converter
Convert XLSX worksheets into typed ARFF datasets for Weka and machine-learning analysis.
Convert XLSX to ARFF online - free
Your file is processed instantly and deleted as soon as you download it.
Import a file from a URL
Paste a direct link to the file. We download it to our server and it is converted exactly like an upload.
How it works
-
1/3
Upload your .xlsx file
Click to browse to select your file you want to convert or simply drag & drop your file into selected area.
-
2/3
Perform .xlsx to .arff conversion
After successful file upload, click to convert when you are ready.
-
3/3
Download converted .arff file
Conversion result is ready to download.
How to convert xlsx to arff file
- Documents
- No ratings yet.
Weka and some data-mining applications require ARFF instead of Excel workbooks, so spreadsheet data must be converted before it can be analyzed. The conversion extracts a worksheet into one typed dataset; it does not preserve the workbook's layout or editing features.
What the XLSX format is
XLSX is the XML-based workbook format used by Microsoft Excel and supported by LibreOffice Calc, Apple Numbers, and Google Sheets when exporting to Excel format. It can contain multiple worksheets, formulas, dates, formatting, merged cells, charts, filters, and hidden rows.
XLSX files are common in business reports, surveys, laboratory records, data exports, and manually maintained datasets. Machine-learning software normally needs one rectangular range of records, so select one worksheet and remove titles, subtotals, notes, and other non-record rows before conversion.
What the ARFF format is
ARFF, or Attribute-Relation File Format, is a plain-text dataset format associated with Weka. Its header declares the relation and each attribute, followed by a @data section containing the records.
@relation customers
@attribute age numeric
@attribute region {north,south,west}
@attribute churn {yes,no}
@data
42,north,no
35,south,yes
Common attribute types include numeric, string, date, and finite nominal lists such as {yes,no}. ARFF uses ? for missing values. Because names, types, and category definitions are stored with the data, Weka can import the dataset without guessing all metadata from a separate spreadsheet. ARFF is also readable in a text editor and suitable for version control.
Convert with 101convert.com
- Open the XLSX-to-ARFF converter on 101convert.com. The file can be converted online for free without installing software.
- Upload the
.xlsxworkbook and select the worksheet containing the records if worksheet selection is available. - Start the conversion and download the resulting
.arfffile. - Open the file in Weka or a text editor. Check the relation name, attribute declarations, row count, first records, missing values, and inferred types before analysis.
Convert confidential workbooks only when the service's current file-handling terms are acceptable. For sensitive data, use a local workflow instead.
Convert locally with LibreOffice and Weka
A CSV intermediate file is useful when the worksheet needs visual cleanup before conversion.
- Open the workbook in LibreOffice Calc and select the required worksheet.
- Delete title rows, merged cells, explanatory notes, subtotals, blank trailing columns, and summary sections that are not observations. Ensure the first row contains unique attribute names and every data row has the same columns.
- Choose File → Save As, select
Text CSV (.csv), and configure UTF-8 encoding, comma as the field delimiter, and double quotation marks as the text delimiter. - Open Weka Explorer and choose Preprocess → Open file. Select the CSV file and inspect the attributes and instance count.
- Correct incorrectly inferred types or remove unsuitable columns using Weka's preprocessing controls.
- Use the Explorer's Save control and save the dataset as
dataset.arff.
Some Weka releases or installations provide an Excel loader that can open XLSX directly. If Preprocess → Open file does not recognize the workbook, use the CSV route or install the required Weka loader and spreadsheet dependencies. Renaming .xlsx to .arff does not convert the file.
Convert programmatically with Python
Python is appropriate for repeatable conversions, worksheet selection, column renaming, and batch processing. Install an XLSX reader and an ARFF writer:
pip install pandas openpyxl liac-arff
import pandas as pd
import arff
df = pd.read_excel("input.xlsx", sheet_name="Data")
df.columns = [str(c).strip() for c in df.columns]
data = df.where(pd.notna(df), None)
attributes = []
for column in data.columns:
values = data[column]
if pd.api.types.is_numeric_dtype(values):
kind = "numeric"
else:
data[column] = values.map(lambda value: None if value is None else str(value))
distinct = sorted({value for value in data[column] if value is not None})
kind = distinct if 0 < len(distinct) <= 50 else "string"
attributes.append((str(column), kind))
with open("output.arff", "w", encoding="utf-8", newline="") as file:
arff.dump({
"relation": "dataset",
"attributes": attributes,
"data": data.values.tolist()
}, file)
Replace sheet_name="Data" with a worksheet name or a zero-based index such as sheet_name=0. The example treats small, finite text columns as nominal and larger or free-text columns as strings; change the threshold and classifications to match the dataset. Review the generated ARFF because automatic type inference cannot determine whether an identifier is a useful feature, whether a numeric-looking code should remain text, or whether a category list is complete.
Quality and compatibility checks
- Formulas: ARFF stores values, not Excel formulas. Recalculate the workbook and save it before conversion if cached formula results may be stale.
- Worksheets: ARFF represents one relation. Convert each compatible worksheet to a separate file; do not combine sheets with different columns without a deliberate schema.
- Headers: Remove blank or duplicate headers and normalize excess spaces. Attribute names containing punctuation, spaces, commas, quotes, or line breaks may require quoting or escaping.
- Numeric data: Currency symbols, thousands separators, mixed units, and text such as
unknowncan cause a column to become text. Normalize these values before conversion. - Missing values: Empty cells should become
?, not an empty string or zero, unless those values have the intended meaning. - Nominal attributes: Every nonmissing value must appear in the finite declaration. Differences in spelling, capitalization, or trailing spaces create separate categories.
- Dates: Excel serial dates and locale-specific strings can be misread. Normalize them and declare an ARFF date pattern, for example
@attribute created date 'yyyy-MM-dd'. - Identifiers: Record IDs are often inferred as numeric or nominal attributes but usually should be excluded from predictive models because they do not describe the measured entity.
- Discarded content: Charts, formatting, comments, merged-cell layout, filters, workbook metadata, and formula expressions are not represented in ARFF. Preserve the original XLSX when those features are still needed.
- Encoding: Use UTF-8 and inspect non-ASCII names and values in Weka, especially when the data contains accented or non-Latin characters.
XLSX vs ARFF: format comparison
How the XLSX and ARFF formats compare on the properties that matter most for this conversion.
| Property | .XLSX Microsoft Excel Open XML Spreadsheet | .ARFF Attribute-Relation File Format |
|---|---|---|
| Open standard | Yes | Partly open |
| Compression | Both | Uncompressed |
| Typical file size | Medium | Small |
| Opens in a web browser | Partial | Partial |
| Further editing | Easy | Easy |
| Metadata support | Extensive | Basic |
| Plain-text readable | No | Yes |
| Best used for | Data exchange | Data exchange |
| Introduced | 2007 | — |
| Developer | Microsoft | University of Waikato / WEKA project |
| MIME type | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | text/arff |
Suggested software and links: xlsx to arff converters
Frequently asked questions
Is the XLSX to ARFF converter free?
Yes, converting XLSX to ARFF 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 XLSX file be?
You can upload XLSX files up to 1000 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 XLSX to ARFF?
No. The XLSX to ARFF 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 XLSX file for this XLSX to ARFF 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.
Will my Excel formulas, formatting, and multiple sheets be preserved in ARFF?
No, ARFF keeps a tabular dataset and its attribute types, not workbook formatting, cell styling, charts, or formulas. A formula is usually stored as its calculated value, and each ARFF file describes one dataset rather than an entire multi-sheet workbook.
What happens to Excel column types when converting XLSX to ARFF?
Each column is mapped to an ARFF type such as numeric, nominal, string, or date, usually based on the values found in that column. Mixed values, inconsistent date formats, or blank cells can cause a column to be treated as text or cause conversion errors.
Will missing values and text categories work correctly in an XLSX to ARFF conversion?
They can work correctly if the converter recognizes them consistently, but empty cells and Excel error values may need to be represented as ARFF missing values. Category spelling, capitalization, and extra spaces can also create separate nominal values instead of one category.
Why does my XLSX to ARFF conversion fail on column names or cell values?
Failures commonly occur when headers or values contain characters that need quoting or escaping, or when a column contains data that conflicts with its inferred type. Cleaning headers, standardizing dates and numeric values, and making missing-value representations consistent usually prevents these problems.
Additional formats for
xlsx file conversion
- xlsx to mpp
- xlsx to accdb
- xlsx to csv
- xlsx to webp
- xlsx to xlt
- xlsx to xls
- xlsx to wks
- xlsx to xlsm
- xlsx to lvm
- xlsx to numbers
- xlsx to doc
- xlsx to docx
- xlsx to gsheet
- xlsx to htm
- xlsx to html
- xlsx to jpg
- xlsx to ods
- xlsx to odt
- xlsx to ots
- xlsx to pages
- xlsx to pdf
- xlsx to pmd
- xlsx to pmw
- xlsx to ppt
- xlsx to pptx
- xlsx to prn
- xlsx to qpw
- xlsx to rtf
- xlsx to sdw
- xlsx to slk
- xlsx to stw
- xlsx to tiff
- xlsx to vsd
- xlsx to wb1
- xlsx to wk1
- xlsx to wk4
- xlsx to wq1
- xlsx to xlsb
- xlsx to xlsmhtml
- xlsx to xltx
- xlsx to xlw
- xlsx to xml
- xlsx to xps