Export pages in Wiki markup
Asked by Jochen Schalanda:

Hi,

is it possible to export pages in [Wiki markup](https://confluence.atlassian.com/display/DOC/Confluence+Wiki+Markup) or Markdown instead of pure HTML (Storage Format), PDF, or Word document) in Confluence 5.3?

Best regards,  
Jochen


Answers:
author: Bob Swift (personal)
body: No. About the best you could do is if the page content was enclosed in a macro from the [Wiki Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/CWP) or [Markdown for Confluence](https://bobswift.atlassian.net/wiki/display/MARKDOWN). Even then you would need some script processing to get at that specific content. [http://www.amnet.net.au/\~ghannington/confluence/wikifier/rt/](http://www.amnet.net.au/~ghannington/confluence/wikifier/rt/) is another reference.

comments: author: Jochen Schalanda
body: Hi Bob,

thanks for your answer!

The [Wikifier RT](http://www.amnet.net.au/~ghannington/confluence/wikifier/rt/) looks very promising and since it's just a couple of Wiki pages I want to convert one time, I'll just do the manual work.

Best regards,  
Jochen


author: Leonardo Moraes
body: New link - <http://domchristie.github.io/turndown/>


author: Parva C. - Narva Software
body: For exporting to Markdown, you can use our app:

[**Markdown Exporter for Confluence**](https://marketplace.atlassian.com/apps/1221351/markdown-exporter-for-confluence?hosting=cloud&tab=overview)

It supports single page as well as bulk export (and thereby space export).


author: Dan Osburn
body: To convert from Confluence Wiki Markup to Markdown:

1) In Confluence click 'Space Tools' in the bottom left and select 'Content Tools'.  
2) Click the 'Export' tab \> select 'HTML' \> click 'Next'  
3) Select 'Custom Export' \> check the pages you want to export \> click 'Export'  
4) Wait for the pages to export, click the link to download.  
5) Unzip \> open one of the HTML files in a text editor \> select and copy all text  
6) Paste the raw HTML into this HTML to Markdown converter. <https://domchristie.github.io/to-markdown/>

comments: author: Zachariah Carmichael
body: The link is outdated, see this updated link here <https://domchristie.github.io/turndown/>


author: Deepak Mishra
body: The links have changed for space settings so I added an article with steps and screenshots.

<https://metamug.com/article/productivity/confluence-to-markdown.html>

This helps us a lot. We use markdown heavily on our site.


author: Deepak Mishra
body: The links have changed for space settings so I added an article with steps and screenshots.

<https://metamug.com/article/productivity/confluence-to-markdown.html>

This helps us a lot. We use markdown heavily on our site.


author: V T
body: <https://domchristie.github.io/turndown/> does not seem to support tables

so it you have a table you want to convert, search elsewhere


author: Suranjan Paul
body: [http://www.amnet.net.au/\~ghannington/confluence/wikifier/rt/](http://www.amnet.net.au/~ghannington/confluence/wikifier/rt/)


author: Guy
body: [Dom Christie solution](https://github.com/domchristie/turndown-plugin-gfm) is great. I added a small plugin to support specifics of Confluence such as tables as mentioned above. Hope this helps.

<https://github.com/guyplusplus/turndown-plugin-confluence-to-gfm>


author: Josch Bencke
body: Hi Jochen,

depending on what you want to achive, Bobs answer might be right: the internal storage format is xml now, a conversion "back to wiki markup" is not of atlassians making, thats why the plugins are necessary. If you "just" want to migrate content - its called "Space Export -\> XML Export" and gives you the true format, not the HTML

comments: author: Jochen Schalanda
body: Hi Josch,

thanks for your answer!

My goal is to get a Markdown version of a couple of Confluence Wiki pages. Thus the XML export would require me to write an XSL template to convert the contents. Since it's just a couple of pages to convert I'll probably just go with the [Wikifier RT](http://www.amnet.net.au/~ghannington/confluence/wikifier/rt/) that Bob mentioned.

Best regards,  
Jochen


author: Nar Kumar C. - Narva Software
body: For Confluence Cloud users visiting this thread, you can use our add-on to easily export Confluence pages to Markdown format: [Markdown Exporter for Confluence](https://marketplace.atlassian.com/apps/1221351/markdown-exporter-for-confluence)

You can convert Confluence content (page, blog etc.) to Markdown with single click and download .md files. If you have any feedback, please feel free to contact us.

comments: author: Ian White
body: Do you support export Confluence Spaces to md?


author: Nar Kumar C. - Narva Software
body: Yes, exporting space is supported now. You can use our bulk export feature to export entire space.


author: matti.b
body: Hi Nar Kumar,   
great Add-on. Maybe that kind I need. Does this Add-On also export embedded pictures?


author: Nar Kumar C. - Narva Software
body: Hi everyone,

We have added support for bulk export (thereby space export) and also images and attachments.

Please give it a try again: [Markdown Exporter for Confluence](https://marketplace.atlassian.com/apps/1221351/markdown-exporter-for-confluence)


Tags: content

export

markup