zdavatz/spreadsheet

The Ruby Spreadsheet by ywesee GmbH

Ruby

1,149

404 commits

updated Apr 21, 2026

See the code

README

Spreadsheet

Getting Started

Join the chat at https://gitter.im/zdavatz/spreadsheet Build Status

The Mailing List can be found here:

http://groups.google.com/group/rubyspreadsheet

The code can be found here:

https://github.com/zdavatz/spreadsheet

For Non-GPLv3 commercial licensing, please see:

http://www.spreadsheet.ch

XLS Binary Documentation

Description

The Spreadsheet Library is designed to read and write Spreadsheet Documents. As of version 0.6.0, only Microsoft Excel compatible spreadsheets are supported. Spreadsheet is a combination/complete rewrite of the Spreadsheet::Excel Library by Daniel J. Berger and the ParseExcel Library by Hannes Wyss. Spreadsheet can read, write and modify Spreadsheet Documents.

Notes from Users

  • Alfred: The library doesn't recognize cell formats in Excel created documents, which results in Floats returned for any number.
  • Tom: This library only supports XLS format; it does not support XLSX format.

What's new?

  • Supported outline (grouping) functions
  • Significantly improved memory-efficiency when reading large Excel Files
  • Limited Spreadsheet modification support
  • Improved handling of String Encodings

On the Roadmap

  • Improved Format support/Styles
  • Document Modification: Formats/Styles
  • Formula Support
  • Document Modification: Formulas
  • Write-Support: BIFF5
  • Remove backward compatibility code

Note: Spreadsheet requires Ruby 2.6+ and is tested against Ruby 2.6 through 3.4, JRuby, and ruby-head.

Dependencies

Examples

Installation

Using RubyGems:

  • sudo gem install spreadsheet

If you don't like RubyGems, let me know which installation solution you prefer and I'll include it in the future.

Tu build the gem you can do:

  • gem build spreadsheet

The gem package is built in pkg directory.

Testing

Running tests:

  • bundle install
  • bundle exec ruby test/suite.rb

Linting:

  • bundle exec rake standard
  • bundle exec standardrb --fix to auto-fix issues

Authors

Original Code:

Spreadsheet::Excel: Copyright (c) 2005 by Daniel J. Berger ([email protected])

ParseExcel: Copyright (c) 2003 by Hannes Wyss ([email protected])

New Code: Copyright (c) 2010 ywesee GmbH ([email protected], [email protected], [email protected])

License

This library is distributed under the GPLv3. Please see the LICENSE file.

excel
gplv3
ruby
ruby-spreadsheet
spreadsheet
xls

zdavatz/spreadsheet

The Ruby Spreadsheet by ywesee GmbH

Ruby

1,149

404 commits

updated Apr 21, 2026

See the code

README

Spreadsheet

Getting Started

Join the chat at https://gitter.im/zdavatz/spreadsheet Build Status

The Mailing List can be found here:

http://groups.google.com/group/rubyspreadsheet

The code can be found here:

https://github.com/zdavatz/spreadsheet

For Non-GPLv3 commercial licensing, please see:

http://www.spreadsheet.ch

XLS Binary Documentation

Description

The Spreadsheet Library is designed to read and write Spreadsheet Documents. As of version 0.6.0, only Microsoft Excel compatible spreadsheets are supported. Spreadsheet is a combination/complete rewrite of the Spreadsheet::Excel Library by Daniel J. Berger and the ParseExcel Library by Hannes Wyss. Spreadsheet can read, write and modify Spreadsheet Documents.

Notes from Users

  • Alfred: The library doesn't recognize cell formats in Excel created documents, which results in Floats returned for any number.
  • Tom: This library only supports XLS format; it does not support XLSX format.

What's new?

  • Supported outline (grouping) functions
  • Significantly improved memory-efficiency when reading large Excel Files
  • Limited Spreadsheet modification support
  • Improved handling of String Encodings

On the Roadmap

  • Improved Format support/Styles
  • Document Modification: Formats/Styles
  • Formula Support
  • Document Modification: Formulas
  • Write-Support: BIFF5
  • Remove backward compatibility code

Note: Spreadsheet requires Ruby 2.6+ and is tested against Ruby 2.6 through 3.4, JRuby, and ruby-head.

Dependencies

Examples

Installation

Using RubyGems:

  • sudo gem install spreadsheet

If you don't like RubyGems, let me know which installation solution you prefer and I'll include it in the future.

Tu build the gem you can do:

  • gem build spreadsheet

The gem package is built in pkg directory.

Testing

Running tests:

  • bundle install
  • bundle exec ruby test/suite.rb

Linting:

  • bundle exec rake standard
  • bundle exec standardrb --fix to auto-fix issues

Authors

Original Code:

Spreadsheet::Excel: Copyright (c) 2005 by Daniel J. Berger ([email protected])

ParseExcel: Copyright (c) 2003 by Hannes Wyss ([email protected])

New Code: Copyright (c) 2010 ywesee GmbH ([email protected], [email protected], [email protected])

License

This library is distributed under the GPLv3. Please see the LICENSE file.

excel
gplv3
ruby
ruby-spreadsheet
spreadsheet
xls

Project health

Overall

3.2/10

Maintained

0/10

Code review

4/10
OpenSSF Scorecard

RubyGems

Latest release

1.3.5 · Apr 21, 2026

Releases this year

1

Significant stargazers

Shekhar Rajak

174 followers · starred Mar 2017

Lazarus Lazaridis

316 followers · starred Feb 2020

Victor Koronen

55 followers · starred Apr 2012

Roque Pinel

36 followers · starred Feb 2013