Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Import multiple HTML-pages with page-hierarchy and attachments into Confluence



I want to import multiple HTML-pages with page-hierarchy and attachments into Confluence. This pages are exported from a notes database (with thrid-party-software Midas -> very good html exporter by the way)

I've tried:

1. Use the integrated importer with this official documentation:

  • Put my folder with html-files to my server
  • Confluence -> Space Tools -> Import -> directory path to the folder
  • result: perfekt converted pages, but without hierarchy and attachements
  • Any ideas? Could i use the integrated Importer for hierarchy and attachements?

2. Universal Wiki Converter:

  • Download java-source -> run UWC -> connenct zu Confluence
  • Try to use mediawiki convention (mw allows html) to convert and import my files 
  • result: crazy broken html-pages, also without hierarchy and attachements

i need a automated resolution, because we have mere then 10.000 documents to import. So, maybe someone have any other ideas? I dont think there is a plugin for this job but please correct me wink


Develop own addon-> Puhh, please help me!



4 answers

I'm looking for something similar

Did you guys find a solution? If you did please share. I am looking for what you discussed here and if anyone of you has found it, I would be grateful to know. Perhaps you have developed a fast effective solution. please share. 

I'm looking for the same. I have reports generated, which consists of a couple (~1000) of HTML pages structured in a folder, which I want to publish on Confluence. I need to refresh that regularly, so manual import is not a solution

The best approach is to use the REST API for programmatically importing the HTML pages into Confluence. The input HTML pages must be normalized into XHTML, which can be done using a library like JSoup. Then, you must change the code in the XHTML page for example by converting the links into Confluence links. Once done, you upload the XHTML file and the attachments into a Confluence page.

I've done this for importing the content of Notes databases, and it works well.

@Lionel CONFORTO Are you able to create multiple pages at once with REST API? I think it can create only one page at a time, yes programmatically. I like their WebDav feature but it does not work on some Windows PCs.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

122 views 0 4
Read article

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