Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

114
Views
How to read .xls with ExcelJS?

I'm having trouble reading a .xls file using the ExcelJS library. No problems reading .xlsx files. I used to use only the xlsx js library and did not have any issues reading .xls files.

I was under the impression ExcelJS included xlsx library so my assumption was that reading .xls would work as expected.

So my question is...can I convert .xls to .xlsx using exceljs (I cannot require a user to convert the file themselves in excel) or can I somehow implement the unzip from xlsx js library and incorporate it in the exceljs source code to make it possible?

I switched to exceljs because it seemed more straightforward when it comes to creating excel files.

Also, I'm not sure if it makes a difference, but the xlsx project I had reading .xls files was on a PC and currently I'm coding this new project on a Mac.

Thanks All

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

XLS is a 'closed' legacy Microsoft binary format, though people have developed plenty of tools to manipulate them. You can open an XLSX file in a text editor - it's text. Microsoft's goal was to make using the Excel and Word formats easier to integrate by switching to XML.

It would take an interesting amount of code on the front end to deal with XLS files. If you find a library, the creator will likely have a paid license program. If you can't find a library, maybe you can locate a web service (or create one) that can convert between the two formats on the server side.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!