Excel (XLSX) converters
XLSX is the workbook format of Microsoft Excel since Excel 2007, also written by LibreOffice, Numbers and Google Sheets. Address lists, sample sites and asset registers often live in a spreadsheet with a latitude and a longitude column, but a spreadsheet is not map data until those columns become points.
Convert Excel (XLSX)
- XLSX → KMLConvert Excel (XLSX) to KML
- XLSX → GeoJSONConvert Excel (XLSX) to GeoJSON
- XLSX → SHPConvert Excel (XLSX) to shapefile
- CSV → XLSXConvert CSV to Excel (XLSX)
- XLSX → CSVConvert Excel (XLSX) to CSV
What to know about Excel (XLSX)
- A workbook can hold several sheets; each sheet is one table with a header row.
- Cells keep their type: numbers, dates and text, so a postcode like 0150 can keep its leading zero.
- There is no geometry and no coordinate system; coordinates are just numbers in columns.
- The older .xls format (Excel 97-2003) is a different, binary format.
File extensions: .xlsx, .xlsm
Where you meet Excel (XLSX) files
XLSX is what Excel saves by default, and what most business systems mean by "export to Excel": bank statements, CRM and webshop exports, timesheets and price lists. Field teams, surveyors and researchers often keep site lists, sample points and asset registers in a workbook with one row per place and a latitude and a longitude column. Google Sheets, LibreOffice Calc and Apple Numbers open and save it, so it is the usual way to exchange a table that should keep several sheets, formatting and formulas. Files that contain macros use the .xlsm extension; the structure is the same.
Excel (XLSX) compared with other formats
- XLSX or CSV
- A CSV is plain text with one table: no sheets, no formatting, no formulas and no cell types, so every program reads it but has to guess what is a number or a date. XLSX keeps types, several sheets and formulas. Use CSV to load data into a database, GIS or script, and XLSX when people will work in the table.
- XLSX or JSON
- JSON can nest records inside records, which a sheet cannot, and it is what web APIs return. A workbook is easier to read, sort and correct by hand. Flatten JSON to a table when someone needs to review it in Excel.
Common problems with Excel (XLSX) files
Leading zeros and long numbers are lost
If a postcode such as 0150 or a 16-digit card or ID number is typed or imported as a number, Excel drops the leading zero and stores only 15 significant digits, so the last digits become 0. Format the column as Text before entering or importing, or import the CSV with the column type set to Text. Once the digits are gone they cannot be recovered from the workbook. Tool: Convert CSV to Excel (XLSX).
A CSV export opens as one column or with broken characters
Excel uses the list separator of your region, so in much of Europe it expects semicolons and puts a comma-separated file into one column. Characters like æ, ø, é or ü turn into symbols when a UTF-8 file has no byte order mark. Use Data, From Text/CSV and pick UTF-8 and the separator, or convert the CSV to XLSX first so Excel does not have to guess. Tool: Convert CSV to Excel (XLSX), Convert Excel (XLSX) to CSV.
Formulas come out empty or wrong in another program
An XLSX stores each formula together with the result Excel last calculated. Programs that only read the file use that stored result, so a workbook generated by a script that never calculated it shows empty cells. Open and save the workbook once in Excel or LibreOffice to store the results.
Coordinates in the sheet will not become points on a map
A GIS needs two numeric columns in decimal degrees, such as 55.6761 and 12.5683. Values written as degrees, minutes and seconds (55°40'34"N), with a decimal comma stored as text, or with latitude and longitude swapped will not work in most GIS programs. Convert DMS to decimal degrees in a new column, check that latitudes are between -90 and 90, then turn the sheet into map data. FileReshape's Excel converters read DMS text and a single lat, lon column themselves. Tool: Convert Excel (XLSX) to GeoJSON, Convert Excel (XLSX) to shapefile.
Questions about Excel (XLSX)
What is the difference between XLS and XLSX?
XLS is the binary format of Excel 97 to 2003. XLSX, introduced with Excel 2007, is a zip archive of XML files, standardised as Office Open XML (ISO/IEC 29500). XLSX files are smaller and hold up to 1,048,576 rows and 16,384 columns per sheet, against 65,536 rows and 256 columns in XLS.
Can I open an XLSX file without Excel?
Yes. LibreOffice Calc and Apple Numbers open XLSX for free, Google Sheets imports it in the browser, and Excel for the web works with a free Microsoft account. Complex macros, Power Query and some charts may not work outside Excel.
Is an XLSX file safe to open?
A plain .xlsx file cannot contain macros; Excel refuses to save VBA code in it. Macro-enabled workbooks use .xlsm, and Excel blocks their macros by default when the file comes from the internet. External links and old .xls files are still worth caution from unknown senders.