How do I export a table I created in a confluence page to excel? The option is missing
Asked by Jenni Readio:


Answers:
author: Davin Studer
body: I created a bookmarklet for this purpose. You can get it at the URL below. Just drag the link to your bookmarks bar and then click it. It will create a link above each table to allow you to download that table as a CSV. One caveat is that it won't work in IE as IE won't allow data uri's for anything other than images ... haven't tried it on Microsoft Edge yet.

<http://iamdav.in/2014/10/24/bookmarklet-creating-csv-html-table/>

**Update**

09/16/2016 - Works with IE 10+ now

comments: author: Milo Test
body: Okay, now that's brilliantly easy!


author: Jenni Readio
body: Thank you Davin, this works great! I second Milo's comment! Brilliant!


author: Vladimir Buchta
body: Thank you Davin, nice and easy. Great work!


author: Davin Studer
body: It's worth noting that since I posted this answer there is now a free add-on in the marketplace for the server edition that will allow you to download a table as CSV. Link is below. Get version 1.1.3 of the add-on if you are on Confluence 5.x and the newest if you are on Confluence 6.x.

[CSV Table Export](https://marketplace.atlassian.com/plugins/de.fabianwelz.confluence.plugins.csvtableexport/server/overview)


author: AMC
body: Thank you Davin, this works great!


author: Charlie Bailey
body: [@Davin Studer](/t5/user/viewprofilepage/user-id/781467) This is absolutely brilliant!! Thanks for sharing.


author: Davin Studer
body: [@Charlie Bailey](/t5/user/viewprofilepage/user-id/1496061) You're welcome. Hope it helps.


author: David_Bakkers
body: A JavaScript bookmarklet... now that's an elegant solution. Works brilliantly and even supports tables created by third party macros or the Jira Issues macro.

Thanks heaps!


author: Davin Studer
body: [@David_Bakkers](/t5/user/viewprofilepage/user-id/3656527) Glad you find it useful.


author: Amir Katz (Outseer)
body: Just FYI: The link (iamdav.in/2014/...) is dead.


author: Davin Studer
body: Yeah, my site keeps gong off line. I need to rebuild my server. Thanks.


author: Christoph Kuhnke
body: See also here: [https://github.com/ckunki/Bookmarklet-to-export-HTML-table-to-CSV](https://github.com/ckunki/Bookmarklet-to-export-HTML-table-to-CSV?)


author: Davin Studer
body: [@Amir Katz (Outseer)](/t5/user/viewprofilepage/user-id/1192123) The site has been stabilized. I fixed it a few months ago, jut did not respond.


author: Andrey Khaneev _StiltSoft_
body: Alternative solution for those who use the [Table Filter and Charts](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app: all bundled macros can [export tables to CSV](https://docs.stiltsoft.com/pages/viewpage.action?pageId=42239877#Howtoexportmacrosandresults-ExporttoCSV).

comments: author: David_Bakkers
body: True, but only if the filter panel is made visible and the panel control buttons are made visible, whereas the commandlet is universal to all HTML tables.

The CSV export capability from the Stiltsoft macros does have some nice CSV formatting options though.


author: Nar Kumar C. - Narva Software
body: Bookmarklet that Davin shared above is very nice. If you want to have table export feature available to all Confluence users, we have released a free add-on: [Table Exporter for Confluence](https://marketplace.atlassian.com/apps/1222158/table-exporter-for-confluence?hosting=cloud&tab=overview)

It can export Confluence tables to two formats:

- CSV

- Microsoft Excel (xlsx)

Please give it a try <https://marketplace.atlassian.com/apps/1222158> and let us know if you face any issue.


author: Milo Test
body: I don't know of an easy way. There are two ways that do work though.

1. Carefully select all the text in the table
2. Make a new spreadsheet in Excel
3. Select the first cell (A1)
4. Paste

1. Export the page as a Word doc
2. Select the table (click the image2015-7-21 17:31:16.png that appears when you move the mouse cursor into the table
3. Follow steps 2 through 4 above

The first one saves a step, but it can be VERY tricky to select all the text in a Confluence table.

You should try both methods as the resulting text style is different.

[](https://community.atlassian.com/t5/Confluence-questions/How-do-I-export-a-table-I-created-in-a-confluence-page-to-excel/qaq-p/83279?attachment-id=9632){#link_11882b21d5f164}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/14030/1/image2015-7-21%2017%3A31%3A16.png){#display_11882b21d5f164_0}

comments: author: Amir Katz (Outseer)
body: Comment for method #1 - it works better if you can edit the page.

When ++viewing++ the page, you cannot select the header line since all column headers are clickable links used to sort by that column.

If you edit the page, you can select all rows.


author: Samantha_Perez
body: This is no longer working. I know it's an older thread but any chance of an update?

comments: author: Davin Studer
body: Which answer is no longer working for you?


author: Samantha_Perez
body: i tried it again and now it's working. obviously user error. thanks for responding.


author: Kevin Ying
body: Great work on the bookmarklet; 1 quirk, whenever I download tables, it's not downloading them using the custom TableExport.csv, it downloads always using the same "download" filename.

EDIT: added target="_blank" and now it's downloading with the correct filename


author: Davin Studer
body: Hmm. Which browser are you using? I've not been able to replicate that behavior using Chrome, IE, Edge, or Firefox.


author: Samantha_Perez
body: This is the exact error that would happen to me; I only use Chrome. It happens every now and again and wasn't sure what to do since I'm not doing anything differently that would cause an issue. Next time I'll see if I can edit the file as Kevin suggested above.


author: PatrickV
body: Thank you so very much! This works perfectly. You just saved me a lot of time for now and the future. You're great!


Tags: confluence-cloud