Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Export pages in Wiki markup

Jochen Schalanda November 19, 2013

Hi,

is it possible to export pages in Wiki markup or Markdown instead of pure HTML (Storage Format), PDF, or Word document) in Confluence 5.3?

Best regards,
Jochen

4 answers

1 accepted

3 votes
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2013

No. About the best you could do is if the page content was enclosed in a macro from the Wiki Plugin for Confluence or Markdown for Confluence. Even then you would need some script processing to get at that specific content. http://www.amnet.net.au/~ghannington/confluence/wikifier/rt/ is another reference.

Jochen Schalanda November 20, 2013

Hi Bob,

thanks for your answer!

The 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

Leonardo Moraes November 17, 2020
Parva C. - Narva Software July 19, 2023

For exporting to Markdown, you can use our app:

Markdown Exporter for Confluence

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

12 votes
Dan Osburn September 10, 2014

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/
Zachariah Carmichael July 25, 2019

The link is outdated, see this updated link here https://domchristie.github.io/turndown/

Like # people like this
Deepak Mishra January 26, 2020

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.

Like # people like this
Deepak Mishra January 26, 2020

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.

Like # people like this
V T September 23, 2020

https://domchristie.github.io/turndown/ does not seem to support tables

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

Guy April 15, 2021

Dom Christie solution 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

1 vote
Josch Bencke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2013

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

Jochen Schalanda November 20, 2013

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 that Bob mentioned.

Best regards,
Jochen

0 votes
Nar Kumar C_ - Narva Software
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
November 14, 2019

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

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.

Ian White November 17, 2019

Do you support export Confluence Spaces to md?

Like Benjamin Duguid likes this
Nar Kumar C_ - Narva Software
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
November 17, 2019

Yes, exporting space is supported now. You can use our bulk export feature to export entire space.

Like matti.b likes this
matti.b April 20, 2021

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

Nar Kumar C_ - Narva Software
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 19, 2023

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events