It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I export a table I created in a confluence page to excel? The option is missing

 

6 answers

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

 

Okay, now that's brilliantly easy!

Thank you Davin, this works great! I second Milo's comment! Brilliant!

Thank you Davin, nice and easy. Great work!

Davin Studer Community Leader Jan 18, 2017

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

Thank you Davin, this works great!

@Davin Studer This is absolutely brilliant!! Thanks for sharing.

Davin Studer Community Leader May 02, 2019

@Charlie Bailey You're welcome. Hope it helps.

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!

Like Davin Studer likes this
Davin Studer Community Leader Apr 21, 2020

@David_Bakkers Glad you find it useful.

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.

 

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

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.

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

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

Davin Studer Community Leader Feb 12, 2020

Which answer is no longer working for you?

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

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

Davin Studer Community Leader Mar 18, 2020

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

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. 

Alternative solution for those who use the Table Filter and Charts app: all bundled macros can export tables to CSV.

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

4,117 views 4 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you