CSV to Excel XLS Converter

Convert flat text CSV files into Microsoft Excel 97-2003 (XLS) spreadsheets for use in legacy versions of Excel and compatibility with older software

No software installation • Fast conversion • Private and secure

Step 1

Drag files or click to select

Convert files online

Step 1

Drag files or click to select

Convert files online

What is CSV to XLS Conversion?

CSV to XLS conversion is the transformation of a flat text file with delimiters into a Microsoft Excel spreadsheet in the legacy 97-2003 format. CSV (Comma-Separated Values) is a simple text file where each line represents a table row and values within a line are separated by a comma, semicolon, tab, or other delimiter. XLS is the binary Microsoft Excel format developed in 1997 and used as the primary format until 2007, when it was replaced by the modern XLSX. The XLS format is still widely supported, especially in specialized applications and systems that are difficult to update.

Converting CSV to XLS turns lines of text into a structured table with correctly typed data, ready to be opened in any version of Microsoft Excel from 1997 onward, in free spreadsheet processors, and in other programs supporting this format. The service automatically detects the source CSV parameters: delimiter, encoding, data types in columns, and produces a correct XLS file without loss of information.

PEREFILE eliminates the need to manually configure CSV import: no need to guess the delimiter, choose encoding, or deal with display problems for non-Latin text. Upload the file and receive a ready table in XLS format.

Why Convert CSV Specifically to XLS

In most modern tasks, the XLSX format is preferable, but XLS still has a number of important uses:

Working with Legacy Software

Microsoft Office 2003 and earlier versions do not open XLSX without installing a compatibility pack. If your users or partners work with such versions, the only reliable way to give them a spreadsheet is to save it in XLS.

Compatibility with Specialized Programs

Many industry-specific applications were created long ago and support only XLS import:

  • Old versions of accounting programs
  • Outdated ERP and CRM system modules
  • Industrial automation systems with built-in spreadsheet import tools
  • Highly specialized programs for specific fields
  • Legacy integration gateways

For working with such systems without complex integration modifications, converting CSV to XLS is a simple and quick solution.

Filling Out Templates in XLS Format

Some organizations require completed forms to be returned specifically in XLS format. This may be related to automation of processing on their side or document management regulations. After receiving source data in CSV, it is convenient to convert it directly to XLS.

Preparing for Sending to a Diverse Audience

If you do not know which versions of Office are installed for the recipients of your document, XLS is a safe choice. It opens in all versions of Excel from the last 25 years and in most alternative programs.

Comparison of CSV and XLS Formats

The differences between the formats are significant:

Characteristic CSV XLS
File type Text Binary
Structure Flat Hierarchical (multiple sheets)
Size Minimal Larger due to structure
Formulas No Supported
Formatting None Supported
Data types All strings Differentiated (number, date, text)
Charts No Supported
Maximum rows Unlimited 65,536 per sheet
Maximum columns Unlimited 256 per sheet
Multiple sheets No Supported
Openness Plain text, RFC 4180 Closed binary
Compatibility with old software Universal Good

Main difference: CSV contains only data, XLS adds to data the capabilities of styling, formulas, charts, and work with multiple sheets.

Technical Features of Conversion

Converting CSV to XLS is not simply renaming the file. The service performs important automatic transformations:

Automatic Delimiter Detection

CSV files can use different value delimiters:

  • Comma (,) - international standard RFC 4180, typical for English-speaking regions
  • Semicolon (;) - used in countries with decimal comma, including Germany, France, Russia
  • Tab (\t) - the TSV format, convenient for data with commas within values
  • Vertical bar (|) - a rare option for specific tasks

The service analyzes the structure of the first lines of the file and detects the most likely delimiter. In most cases, detection works correctly without user intervention.

Encoding Recognition

Text files can be in different encodings, and incorrect detection will lead to distortion of non-Latin text. The service can recognize:

  • UTF-8 - the modern international standard, supports all languages
  • UTF-8 with BOM - the variant with byte order mark, typical for files from Excel
  • Windows-1251 - older encoding for Cyrillic text, still encountered
  • CP866 - outdated DOS encoding for Cyrillic
  • Windows-1252 - encoding for Western European languages

Correct encoding detection guarantees that the text in the resulting table will be readable.

Data Type Detection in Columns

In CSV, all values are textual. The service analyzes the values in each column and assigns the appropriate type:

  • Numbers - integers and decimals, taking into account the decimal separator (period or comma)
  • Dates - common formats DD.MM.YYYY, MM/DD/YYYY, YYYY-MM-DD are recognized
  • Times - hours, minutes, seconds
  • Boolean values - true/false, yes/no
  • Text - everything that does not fit other types

After conversion in Excel, you can sort numbers by magnitude, filter by date ranges, perform calculations based on values.

Preserving Long Identifiers

One of the frequent sources of problems when importing CSV into Excel is long numeric values. Product SKUs with leading zeros (for example, 00012345), phone numbers, barcodes, IMEI - all of them can be automatically interpreted by Excel as numbers with loss of leading zeros or represented in scientific notation (1.2345E+10). The service detects such columns and saves them as text.

Correct Handling of Escaping

If a value in CSV contains the delimiter itself, a line break, or quotation marks, it must be enclosed in double quotes. The service correctly handles escaping - values with commas inside end up in a single cell rather than being split.

Accounting for XLS Limits

The XLS format supports no more than 65,536 rows and 256 columns per sheet. If a CSV file is larger than these limits, two options are possible during conversion:

  • Large tables are split into several sheets in one workbook
  • Excess data may be lost with a warning

Before converting large CSV files, it makes sense to check their size.

Which CSV Files are Suitable for Conversion

Convert well:

  • Structured tables - with the same number of columns in each row
  • System exports - data from CRM, ERP, billing, accounting systems
  • Financial reports - payment registers, operation journals
  • Lists and catalogs - customers, products, services, contacts
  • Price lists - product data with prices for import

Difficulties may arise with:

  • Large files - exceeding XLS limits (65,536 rows, 256 columns)
  • Unstructured data - with variable column counts
  • Files with unescaped special characters - commas, quotes without framing
  • Very rare encodings - not supported by standard libraries
  • Files with corrupted characters - arising from glitches during export

Advantages and Disadvantages of the XLS Format

Advantages of XLS over CSV

  • Structured table - convenient viewing with separated columns
  • Data typing - numbers, dates, text differ and are processed correctly
  • Formula support - the ability to add calculations based on data
  • Formatting - headers, colors, borders for ease of perception
  • Charts - data visualization in the form of graphs
  • Multiple sheets - the ability to group data by topic
  • Compatibility with old software - opens in any version of Excel starting from 97

Disadvantages of XLS

  • Size limits - no more than 65,536 rows and 256 columns per sheet
  • Outdated format - officially not developed since 2007
  • Closed binary structure - harder to process programmatically than XLSX
  • Vulnerability to corruption - the binary nature makes the file sensitive to errors
  • Larger file size - than the equivalent XLSX
  • Outdated security algorithms - encryption is less reliable by modern standards

Limitations and Recommendations

Checking Source CSV Encoding

If the conversion result shows non-Latin text with distortions (question marks, strange characters), it means the encoding was detected incorrectly. In this case, it is recommended to open the source CSV in a text editor with the ability to change encoding (for example, Notepad++) and re-save in UTF-8.

Long Numbers

The service tries to save long numeric identifiers as text, but if automation made a mistake, numbers may end up in Excel with loss of format. To guarantee format preservation, it is recommended to prefix such values with an apostrophe ('00012345) or enclose them in quotes in the source CSV.

Dates in Non-standard Formats

Common formats (DD.MM.YYYY, MM/DD/YYYY, YYYY-MM-DD) are recognized correctly. If dates in the file are written non-standardly (as text "January 15, 2026" or as a number in Excel format), they may end up in the table as ordinary text.

XLS Limits

Remember that XLS supports no more than 65,536 rows and 256 columns per sheet. If your CSV file is larger, consider converting to XLSX, where the limits are significantly higher.

Regional Differences

In countries with decimal comma, the numeric value "1,5" means one and a half, and in countries with decimal point - one thousand five hundred. The service takes the file context into account, but for important calculations, always check that numbers are converted correctly.

Alternatives to Online Conversion

Microsoft Excel

If you have Excel installed, conversion is performed natively:

  1. Open Excel
  2. Select "File" -> "Open"
  3. Choose the CSV file (you may need to specify file type "All files")
  4. In the import wizard, specify the delimiter, encoding, column types
  5. Save the file via "File" -> "Save As" -> "Excel 97-2003 Workbook (*.xls)"

Advantage - maximum control over settings. Drawback - manual processing of each file is required, the program must be installed.

Free Spreadsheet Processor

Free alternative with a similar process:

  1. Launch the free spreadsheet processor
  2. Open the CSV file
  3. In the import dialog, configure the parameters
  4. Save as "Microsoft Excel 97-2003 (.xls)"

PEREFILE Online Service

Advantages:

  • Parameter auto-detection - without manual setup of delimiter and encoding
  • No installation - works in any modern browser
  • Cross-platform - Windows, macOS, Linux, mobile devices
  • Speed - fast processing without launching applications

Who Needs CSV to XLS Conversion

Employees Working with Old Corporate Software

Old corporate systems may accept only XLS. Analysts, accountants, operators regularly working with such systems need a simple conversion tool.

Account Managers for Small Business

Small business clients often use outdated versions of Office. Sending reports and proposals in XLS guarantees that the client can open the document.

IT Specialists Supporting Legacy Systems

Support for legacy applications and integrations with CSV exports. Converting to XLS is a standard step in preparing data for loading into a system.

Accountants and Finance Specialists

Many old-generation accounting programs accept only XLS. Preparing data for loading operations, registers, reports into such programs.

Government Employees

In certain institutions, software that has not been updated for years is used. Converting to XLS ensures compatibility with such systems.

Recommendations for Quality Conversion

Preparing the Source File

Before conversion, it is worth:

  • Checking the structure - ensuring all rows have the same number of values
  • Standardizing dates - bringing them to a single format (ISO 8601 is recommended)
  • Using UTF-8 - if there is a choice, save CSV in this encoding
  • Escaping values with commas - enclosing in double quotes
  • Checking the size - ensuring the data fits within XLS limits

Checking the Result

After conversion, it is worth:

  • Opening in Excel - ensuring data is correctly separated by columns
  • Checking data types - numbers should be numbers, dates should be dates
  • Checking long identifiers - SKUs and numbers should not be converted to a number with loss of format
  • Checking non-Latin text - ensuring the correctness of encoding

Further Work

After conversion to XLS you can:

  • Open the file in any version of Microsoft Excel starting from 97
  • Import into old specialized programs
  • Add formulas for calculations
  • Apply formatting for styling
  • Build charts for visualization
  • Use sorting and filters

What is CSV to XLS conversion used for

Loading into old accounting programs

Preparing data from CSV exports for import into accounting systems supporting only the XLS format

Working with outdated Office

Converting for users of Microsoft Office 2003 and earlier versions that do not support XLSX without a compatibility pack

Import into specialized systems

Preparing data for industry-specific applications (ERP, CRM, industrial systems) not updated to work with XLSX

Filling out pre-made forms

Returning completed templates in XLS format for organizations requiring specifically this file format

Data preparation for small business

Sending reports and proposals to clients using outdated office software

Integration with legacy systems

Ensuring compatibility with integration gateways and APIs supporting only the XLS format

Tips for converting CSV to XLS

1

Use UTF-8 in the source CSV

When exporting CSV from the source system, choose UTF-8 encoding - this reduces the risk of problems displaying non-Latin text after conversion

2

Check the table size

XLS supports no more than 65,536 rows and 256 columns per sheet. If there is more data, consider converting to XLSX, where the limits are significantly higher

3

Prefix SKUs with an apostrophe

To ensure SKUs with leading zeros (for example, 00012345) preserve their format, add an apostrophe before the value in the source CSV

4

Standardize the date format

Before conversion, bring dates to a single format, preferably ISO 8601 (YYYY-MM-DD) - this format is unambiguously recognized by all programs

Frequently Asked Questions

How is the delimiter detected in a CSV file?
The service automatically analyzes the first lines of the file and detects the most likely delimiter: comma, semicolon, tab, or vertical bar. In most cases, detection works correctly without user intervention.
Which encodings are supported?
The main encodings are supported: UTF-8 (with and without BOM), Windows-1251, Windows-1252, CP866, ISO-8859-1, and other common single-byte encodings. It is recommended to use UTF-8 as the modern standard.
What happens to long numbers and SKUs?
The service detects columns with long numeric identifiers and saves them as text to avoid loss of leading zeros and representation in scientific notation. If automation did not work, it is recommended to prefix such values with an apostrophe in the source CSV.
Are there limits on CSV file size?
The service handles files of various sizes, but note that the XLS format supports no more than 65,536 rows and 256 columns per sheet. If your CSV is larger, consider converting to XLSX, where the limits are significantly higher.
Are dates recognized in CSV?
The service automatically recognizes common date formats: DD.MM.YYYY, MM/DD/YYYY, YYYY-MM-DD. If dates in the file are written non-standardly or as text, they may be handled as ordinary strings.
Why save to the legacy XLS instead of the modern XLSX?
XLS is needed for compatibility with old versions of Microsoft Office (2003 and earlier), specialized programs supporting only this format, and systems that have not been updated for XLSX. For most modern tasks, XLSX is preferable.
What if non-Latin text is displayed with distortions?
This means the encoding of the source CSV was detected incorrectly. Open the file in a text editor with the ability to change encoding and check what encoding it is saved in. If necessary, re-save in UTF-8 and try the conversion again.
Are column headers preserved?
The first line of the CSV file is transferred as the first row of the XLS table. If the source file had headers in the first row, they will be preserved. To mark this row as a header in Excel, you can apply formatting manually.