How can I import XML, HTML or Latex files?

My company thinks to move technical documentations online as a Confluence spaces. Right now, we are investigating importing options. Does Confluence have these import options built-in or external.

3 answers

Are you using Confluence Server or Cloud?

Confluence Server 6.3

0 votes

Depends on what you mean by "import".  You can attach the files of course, but I suspect you want to convert them into Confluence pages?

Yes, we need to convert them into Confluence pages. We are ok with at least XML but also the others will be much better.

Ok, then I'd go with what Steven said for XML and probably HTML.

LaTeX is a different story - translating those into Confluence is pretty much nonsense as you'll lose most of it.  However, I would import the files as plain text and wrap them in macros from

Well, you have a few options.

There is the UWC Converter, which is unsupported and may not work on the latest version of Confluence (you should install it in a test instance) which you can use to import some formats.

There is also a plugin for Confluence Cloud, Confluence Universal Importer. You may be able to sign up for a trial version of Confluence Cloud, import the pages, re-export, and import into Confluence Server (since you are running the latest version of Confluence Server, this should work, but you should check with Atlassian support before trying this method).

Finally, the best method would be to use a custom solution that pulls the information needed from the XML files and saves Confluence pages using the REST API. This would require some programming and knowledge of the Confluence API (most languages support some sort of framework for Confluence, so that might at least make this easier). However, this is the only way to fully guarantee a successful conversion of pages into the proper format.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,021 views 51 8
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you