Does anyone know of a way to export from confluence to MarkDown format?
Asked by Mark Flint:

Hi,

I have seen add-ons for Confluence to allow MarkDown to work in Confluence. What I haven't seen is any way to export or otherwise transform existing Confluence content (tables) into MarkDown format.

Does anyone know of a way to export from confluence to MarkDown format?

Or even something that would take a PDF exported from Confluence and turn it into MarkDown? I found this <http://pdf2md.morethan.io/> but it doesn't handle tables very well.

Any guidance would be appreciated. Thank you.

Mark


Answers:
author: Shannon S
body: Hi Mark,

I found some discussions on this below that might help you:

* [Solved: Export pages in Wiki markup](https://community.atlassian.com/t5/Confluence-questions/Export-pages-in-Wiki-markup/qaq-p/369110)
* [export to markdown](https://community.atlassian.com/t5/Confluence-questions/export-to-markdown/qaq-p/307481)

This one that was mentioned uses Pandoc, if you're not familiar with it. It seems promising but I don't have any experience with it personally:

* [Confluence to Github Markdown](https://www.npmjs.com/package/confluence-to-github-markdown)

I hope this helps!

Regards,

Shannon

comments: author: Mark Flint
body: Thank you very much! This was very helpful.


author: Alexey Zimarev
body: The last link to the npm repo should be to the [source repo in GitHub.](https://github.com/meridius/confluence-to-markdown)

I tried it today and it works. Requires installing Pandoc.

The only issue I have that in order to build a proper static site, it is better to have a proper folder structure. Confluence HTML export puts all HTML files to one folder and the Markdown structure will be the same, so it is an unsolved issue.


author: Deepak Mishra
body: I had the same issue, so created an online converter for confluence HTML.

<https://metamug.com/util/confluence-to-markdown/>  

You can download the converted markdown file.


author: aviandra_putri
body: Just want to say it is so helpful! thank you so much!


author: Ning Xiong
body: [@Deepak Mishra](/t5/user/viewprofilepage/user-id/3067286) Hi, the link seems not working anymore. I stumbled over the converter a while ago and found it very helpful. Is there an updated link you can provide? Thanks a lot!


author: Deepak Mishra
body: The link is working. Suggestions are welcome to improve the online tool. Happy to help as I really needed this utility for my own use.


author: Anton R
body: HI All

Try <https://github.com/md2conf/md2conf>

It has "dump" goal that download a confluence page tree, convert to markdown keeping page structure, attachments links and cross-page links.

Regards


author: Sergei Ivanov
body: I use this one from time to time:

<https://github.com/KkEi34/confluence-to-obsidian-plugin>


author: Parva C. - Narva Software
body: Hi everyone,

If you are looking to export pages from Confluence to Markdown, please try our app:

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

The app supports exporting tables as well as code block. You can install it on both Confluence Cloud and Server versions(as the question is tagged server).

Regards,

Parva

comments: author: Jeff Carter
body: Hi Parva  
Do you have any plans to release a Data Centre approved version of this app ?

Thanks

Jeff


author: Atly Apps
body: We've just released [an addon](https://marketplace.atlassian.com/apps/1227287/export-to-markdown-for-confluence-cloud) for exporting Confluence pages to Markdown and includes support for transforming Confluence tables into Markdown tables:

[![2.png](https://community.atlassian.com/t5/image/serverpage/image-id/179459i74FCD6EF7D66558B/image-size/large?v=v2&px=999 "2.png")](https://marketplace.atlassian.com/apps/1227287/export-to-markdown-for-confluence-cloud)

Please don't hesitate to contact us if you have any questions or suggestions.

comments: author: Jeff Carter
body: Hi Atly Apps  
Do you have any plans to release a Data Centre approved version of your app ?

Thanks

Jeff


author: Atly Apps
body: Hi Jeff, thanks for your enquiry.

Our app is built with Atlassian's new Forge developer platform which currently only supports cloud apps. If this changes in the future we will definitely consider creating a Data Center version.


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

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


Tags: atl-gruland

atlassian-marketplace

confluence-server

server