← Guides
5 min

How to Migrate from GitBook to GetPagemark

Move your documentation from GitBook to GetPagemark in a few simple steps.

Step 1

Export from GitBook

In GitBook, go to your space settings and export as Markdown (or use the Git sync feature if it's already connected to a repo). You'll get a folder of .md files.

Step 2

Clean up the structure

GitBook exports may include SUMMARY.md (table of contents) and .gitbook/ folder. You can delete both — GetPagemark generates navigation from your folder structure automatically.

Step 3

Push to GitHub

Create a new GitHub repository (or use an existing one). Push your markdown files. Make sure index.md exists at the root.

git init
git add .
git commit -m "migrate from gitbook"
git remote add origin https://github.com/you/your-docs.git
git push -u origin main
Step 4

Connect to GetPagemark

Sign in to GetPagemark, click New Site, pick your repo, choose a slug. Your docs are live.

Step 5

Update your domain

If you had a custom domain on GitBook, update the CNAME to point to proxy.getpagemark.com instead. Add the domain in GetPagemark's dashboard and verify it.

Step 6

Compare

Check your new site against the old GitBook version. Pages should render identically since both use standard markdown. Search, navigation, and dark mode are all included.

Ready to try it?

Get started free