Wikinest Confluence Import
Convert a Confluence HTML export into Wikinest pages in Markdown with the page tree.
How it works
Reads the HTML export of a Confluence space (or pasted page HTML) and turns every page into Wikinest Markdown: headings, tables, lists, code, info/note/tip/warning panels, expand sections, status lozenges, task lists, mentions, dates and links between pages. The page tree is rebuilt from the breadcrumbs, and you get a Wikinest project file to open in the app.
- Each page file is parsed by a small tolerant HTML parser. Title: the export’s title line without the “Space :” prefix. Parent: the last ancestor in the page’s breadcrumbs that is part of the export (matched by file name, by the title pattern of Confluence file names, or by link text).
- Body: the main-content area. Headings, paragraphs, bold/italic/strike, inline code, links, lists, tables (first row as header), quotes and rules become their Markdown forms; links to exported pages become [[Page]] links.
- Macros: information → :::info, note → :::warning, tip → :::success, warning → :::error, panel → :::info with its title, code → fenced code with the brush language, expand → :::expand, status → {status:colour|TEXT}, task lists → - [ ] / - [x], user links → @[Name], dates → {date:…}, table of contents → {{toc}}, child pages → {{children}}, emoticons → Unicode symbols.
- Images stored in the export (attachments/…) become attachment references (att:cf1, att:cf2 …); the app attaches the image files from the ZIP, this tool lists them. Unknown macros keep their text and are counted in the warnings.
- Pages are ordered parents first. The result is a Wikinest project file with one space; open it in the app with Open file, or import the ZIP there directly.
Confluence is a trademark of Atlassian. Wikinest reads the export files you provide; it does not connect to Confluence.
Sources
- Export content to Word, PDF, HTML and XML (Confluence Data Center) (Atlassian Documentation)
Part of Wikinest
-
Wikinest Knowledge base and team wiki
A team wiki: spaces, page trees, versions, comments and permissions per space.
How to convert a Confluence HTML export to Markdown
Turn the HTML export of a Confluence space into Markdown pages with the page tree, panels, code, tables, status lozenges, tasks, mentions and links between pages.
What it is for
Moving a team wiki is mostly about keeping the content intact. You want the page tree, the info and warning panels, the code blocks, the tables and the links between pages. This tool reads the HTML export of a Confluence space, or the HTML of single exported pages, and turns every page into Markdown in the Wikinest dialect. It also rebuilds the tree from the breadcrumbs.
The result is a list of pages with their parents and word counts, the Markdown of all pages and a Wikinest project file you can open in the app. The tool does not connect to Confluence. It only reads the files you give it.
To get the files in Confluence, open the space and choose Space settings → Export space → HTML. You get a ZIP file with one HTML file per page and an attachments folder.
Worked example
The built-in example is a small team space with three pages: a home page, a release checklist and a decision log. The tool answers:
Imported 3 pages of “Orbit Team” from Confluence into Wikinest Markdown.
The metrics show 3 pages, 5 panels and expand sections, 1 code block, 1 table, 3 tasks, 2 links between pages, 2 mentions and 1 image. One macro has no Wikinest equivalent. Its text is kept, and a warning says so. The Pages table shows that Release checklist (60 words, 1 image) and Decision log (26 words) sit under Orbit Team Home.
The home page begins like this in Markdown:
Welcome to the **Orbit** team space. Start with the [[Release checklist]].
{{toc}}
The Confluence link to the checklist became a [[Release checklist]] page link. The table-of-contents macro became {{toc}}.
How to read the result
- Pages lists every page with its parent. An empty parent (—) means the page is at the top of the space.
- The mapping table shows what each Confluence element became. Info, note, tip and warning macros become info, warning, success and error panels. Code macros become fenced code with the language, and status macros become
{status:colour|TEXT}. - Unmapped macros counts macros the tool did not know. Their text stays in the page so nothing is lost, but check those places by hand.
- Images are listed as attachment references. The project file does not contain image files. Import the ZIP in the app instead to attach them.
Tips and common mistakes
- Upload the whole ZIP rather than single pages. Only then can the tool rebuild the tree and turn links into page links.
- If you paste HTML, paste the complete page files one after another, including the title. The tool splits them at each new document.
- Page titles come from the export, without the “Space name :” prefix Confluence adds.
- Comments, page history and permissions are not part of a Confluence HTML export, so they cannot be imported.
- Use Space name to give the new space a different name than the one in the export.
FAQ
Do I need a Confluence account or API token?
No. The tool only reads the export files. Nothing is sent to Atlassian.
What happens to images?
The tool lists them as attachments. In Wikinest, choose Import → Confluence export and pick the ZIP. The app then attaches the image files from the export to the pages, within your storage quota.
Can I import into an existing space?
In the app, yes: the import dialog lets you choose an existing space or a new one. The tool always creates one new space in its project file.
Is the mapping lossless?
Text, structure, tables, code and the common macros come through. Layout details such as column sections, colours of panels and page-specific styling are simplified to plain Markdown.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://wikinestconfluenceimport.usefulweb.app/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://wikinestconfluenceimport.usefulweb.app/mcp· tool namewikinest_confluence_import
Example request
curl -s -X POST https://wikinestconfluenceimport.usefulweb.app/api/v1/calculate \
-H 'content-type: application/json' \
-d '{…see OpenAPI examples…}'