---
title: "BookStack import markdown files into books · Hypamoon"
description: "A folder of Markdown files with subfolders becomes BookStack books, chapters and pages, with images and links between the pages kept."
url: https://hypamoon.com/connect-to/bookstack/markdown-import
---

1.  [Connect to](https://hypamoon.com/connect-to)
2.  [Work and projects](https://hypamoon.com/connect-to/work)
3.  [BookStack](https://hypamoon.com/connect-to/bookstack)
4.  Import markdown files

# BookStack import markdown files into books: Bring your notes and docs into the wiki in the shape they already have.

A folder of Markdown files with subfolders becomes BookStack books, chapters and pages, with images and links between the pages kept.

[Build this in ChatGPT](https://hypamoon.com/connect?chat=chatgpt&via=connect-to-chatgpt~bookstack/markdown-import&say=a%20folder%20of%20Markdown%20files%20imported%20into%20BookStack%20as%20books%2C%20chapters%20and%20pages%2C%20with%20images%20and%20links%20kept.) [Build this in Claude](https://hypamoon.com/connect?chat=claude&via=connect-to-claude~bookstack/markdown-import&say=a%20folder%20of%20Markdown%20files%20imported%20into%20BookStack%20as%20books%2C%20chapters%20and%20pages%2C%20with%20images%20and%20links%20kept.)

No account needed to try. See what you will ask your chat

Example

A folder of Markdown files imported into BookStack as books, chapters and pages, with images and links kept.

Import plan

| Folder | Becomes | Pages |
| --- | --- | --- |
| setup | Book Setup | 12 |
| setup/network | Chapter Network | 5 |
| support | Book Support | 21 |

Example data, waiting for approval

-   You pick a folder and a BookStack shelf.
-   Each top folder becomes a book, each subfolder a chapter and each Markdown file a page, in the order of the file names.
-   Images are uploaded to the page, links between files point to the new pages, and front matter tags become BookStack tags.

From your BookStack account You approve first

## Paste this in your chat

Your chat builds it and runs it every time, on your own BookStack data. No account needed to try.

The sentence

> With Hypamoon, take the Markdown files in the folder I choose and import them into BookStack on the shelf I pick: top folders as books, subfolders as chapters, files as pages. Upload the images, point links between files to the new pages and turn front matter tags into tags. Show me the plan first and import after my approval.

[Build this in ChatGPT](https://hypamoon.com/connect?chat=chatgpt&via=connect-to-chatgpt~bookstack/markdown-import&say=a%20folder%20of%20Markdown%20files%20imported%20into%20BookStack%20as%20books%2C%20chapters%20and%20pages%2C%20with%20images%20and%20links%20kept.) [Build this in Claude](https://hypamoon.com/connect?chat=claude&via=connect-to-claude~bookstack/markdown-import&say=a%20folder%20of%20Markdown%20files%20imported%20into%20BookStack%20as%20books%2C%20chapters%20and%20pages%2C%20with%20images%20and%20links%20kept.)

Hypamoon not in your chat yet? The button adds it first, without an account, and then opens your chat with this sentence.

## How it goes today

1.  Create each BookStack chapter by hand and paste the Markdown of each file into a page.
2.  Run a community import tool for BookStack and fix the image links afterwards.
3.  Upload each image to the BookStack gallery and correct the paths in the Markdown text.

## How it can go

You pick a folder and a BookStack shelf. Each top folder becomes a book, each subfolder a chapter and each Markdown file a page, in the order of the file names. Images are uploaded to the page, links between files point to the new pages, and front matter tags become BookStack tags. You see the plan first, and the import runs after your approval.

## What you need

**What BookStack shares**\
BookStack pages can hold Markdown, and its import takes its own ZIP exports. People search for a BookStack import of Markdown files, and several open source tools on GitHub do this folder by folder.

**Access**\
You paste your BookStack key in the portal, never in the chat.

**Your key**\
You create an API token yourself under API Tokens in your own BookStack profile, with a name and an expiry date, once your role has the Access System API permission. The token sees what your user sees. The audit log and the user list need a user who can manage users and settings. Your BookStack server must be reachable over HTTPS. It stays yours.

## More for teams on BookStack

-   [**Our procedures were written years ago and nobody knows which pages are still right.**](https://hypamoon.com/connect-to/bookstack/review-reminders)
-   [**New pages go straight into the handbook before anyone has read them.**](https://hypamoon.com/connect-to/bookstack/approval-workflow)
-   [**If our wiki server goes down I want yesterday's pages somewhere else, without logging in to the server.**](https://hypamoon.com/connect-to/bookstack/auto-backup)
-   [**IT changes a procedure in the wiki and the service desk finds out a week later.**](https://hypamoon.com/connect-to/bookstack/teams-updates)
-   [**Our auditor wants the procedures as Word files and we copy them page by page.**](https://hypamoon.com/connect-to/bookstack/word-export)
-   [**We have two hundred Word procedures on a drive and nobody wants to paste them into the wiki.**](https://hypamoon.com/connect-to/bookstack/word-import)
-   [**Customers get our manual as a PDF and it has no cover, no logo and no page numbers.**](https://hypamoon.com/connect-to/bookstack/pdf-template)
-   [**People ask me in chat for things that are in the wiki, because they cannot find the page.**](https://hypamoon.com/connect-to/bookstack/chatbot)
-   [**A supplier needs our delivery instructions and I do not want to make them a wiki account.**](https://hypamoon.com/connect-to/bookstack/share-page)
-   [**Customers should see the how-to pages, and our wiki server should stay inside the office network.**](https://hypamoon.com/connect-to/bookstack/help-site)
-   [**I want to know what changed in the wiki this week without an email for each edit.**](https://hypamoon.com/connect-to/bookstack/weekly-digest)
-   [**Half our warehouse team reads Polish and the handbook is only in English.**](https://hypamoon.com/connect-to/bookstack/translation)
-   [**For our ISO audit I need to show who changed permissions and deleted pages in the wiki.**](https://hypamoon.com/connect-to/bookstack/audit-log-export)
-   [**I want to see each month which teams keep their part of the wiki up to date.**](https://hypamoon.com/connect-to/bookstack/statistics)
-   [**After each change to our safety rules I need proof that every operator has read them.**](https://hypamoon.com/connect-to/bookstack/read-confirmation)
-   [**We have Status, status and State as tags and search finds half the pages.**](https://hypamoon.com/connect-to/bookstack/tag-cleanup)
-   [**Our developers want the runbooks from the wiki in the same repository as the code.**](https://hypamoon.com/connect-to/bookstack/git-sync)
-   [**Our incident reports end up in five different layouts because everyone starts from a blank page.**](https://hypamoon.com/connect-to/bookstack/page-from-form)
-   [**We are leaving Confluence and have three thousand pages to move into BookStack.**](https://hypamoon.com/connect-to/bookstack/confluence-migration)
-   [**Former employees and old contractors still have an account on our wiki.**](https://hypamoon.com/connect-to/bookstack/user-review)
-   [**Everything for BookStack**](https://hypamoon.com/connect-to/bookstack)
