Viewer for Microsoft Excel XLST files


This plugin allows uploaded Excel files on the Trac wiki or in tickets to be viewed in the web browser as a HTML table. It allows users to easily view the files without downloading and saving the Excel files and without even requiring Microsoft Excel.

As a use case, upload an Excel document from an up-to-date version of Microsoft Excel as an attachment. As long as it is in the new xlst format the plugin will show the contents in preview mode.

See also:

Bugs/Feature Requests

Existing bugs and feature requests for ExcelXlstViewerPlugin are here.

If you have any issues, create a new ticket.


2 / 2


1 / 1


Download the zipped source from here.


You can check out ExcelXlstViewerPlugin from here using Subversion, or browse the source with Trac.


First install the openpyxl library: pip install openpyxl.

General instructions on installing Trac plugins can be found on the TracPlugins page.


After installation add the following to the mime_map property in your trac.ini file to tell Trac which types of file work with the plugin:



If it doesn't work, then verify that openpyxl is installed correctly by running Python and entering import openpyxl. You should see no error. Also ensure that mime_map is set properly as documented in the Configuration steps.

Recent Changes

16799 by rjollos on 2017-09-08 20:35:40
TracExcelXlstViewer 1.0dev: Make compatible with Trac 1.0+ and newer openpyxl

Be sure to uninstall the old plugin before installing this
version, as the entry point has been changed.

Fixes #13269.

16798 by rjollos on 2017-09-08 19:01:17
TracExcelXLSTViewer 0.9.3: Fix mixed tabs and spaces

Refs #13269.

15584 by rjollos on 2016-06-07 22:27:55
Remove intermediate directory


Author: danrolls
Maintainer: Daniel Rolls

Last modified 2 years ago Last modified on Apr 12, 2022, 6:35:12 AM