Import Word and Docbook documents

Migrating from Microsoft Word or Docbook to GitBook.com has never been that easy !

Starting today, importing your existing documents on GitBook.com is as simple as creating a new book.

Import at creation

Word and Docbook

The import feature has been incorporated directly in the book’s creation form: select your document in the “Import” tab, and you’re ready to go!

If you already created your book, documents can also be imported into empty books using the Import a document button.

More informations about the import process are detailled in the GitBook’s documentation.

Open source CLI

This feature is using, behind the scenes, a new open source CLI tool: gitbook-convert.

gitbook-convert has been built to easily convert all types of documents to the GitBook format. Based on your original document’s structure, it generates the corresponding Markdown files, and the Table of Contents.

As always, feel free to contribute and tell us what format you are hoping to see supported.

Have feedback on this post? Let @GitBookIO know on Twitter, or contact us.