# Import

There are two methods for importing content into GitBook:

1. [Using our import tool](#using-our-import-tool)
2. [Using Git Sync](#importing-via-git-sync)

### Using our import tool

You can migrate and unify existing documentation in GitBook using the import tool. You have the option to import single or multiple pages — although some limits apply, which we’ll explain below.

{% hint style="info" %}
**Permissions**\
Only users with [editor permissions or higher](https://gitbook.com/docs/~/changes/pfQHJq75QY5xMYvctdXP/account-management/member-management/roles) can edit pages.
{% endhint %}

#### Supported import formats

GitBook supports imports from websites or files in the following formats:

* Markdown (.md or .markdown)
* HTML (.html)
* Microsoft Word (.docx)

We also support imports from:

* Confluence
* Notion
* GitHub Wiki
* Quip
* Dropbox Paper
* Google Docs

If you want to **import multiple pages**, you can upload a ZIP file containing HTML or Markdown files.

#### The Import panel

When you create a new [space](https://gitbook.com/docs/~/changes/pfQHJq75QY5xMYvctdXP/content-editor/editor/content-structure/what-is-a-space), you’ll have the option to import content from the bottom sheet of the first empty page:

Alternatively, you can always import a page or subpage by selecting **New page** > **Import new pages** in the [table of contents](https://gitbook.com/docs/~/changes/pfQHJq75QY5xMYvctdXP/editor/navigation#table-of-contents), or opening the Actions menu <img src="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FIfd7ka3cralqGUz0Z41B%2FFrame%201.png?alt=media&#x26;token=2cddf304-8c59-4623-b7c2-78b494275308" alt="" data-size="line"> for a page and choosing **Import subpages**.

<div data-full-width="false"><figure><img src="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fo2IZ3TY2WS79hS6Oj2q4%2Fimport-button.png?alt=media&#x26;token=b1393723-e778-4404-92b5-88ed428a32a4" alt=""><figcaption><p>There are two ways to import content into GitBook.</p></figcaption></figure></div>

After choosing an input source, you can select the file you’d like to import.

{% hint style="warning" %}
Although GitBook supports importing content from different sources, the result may differ from your source due to differences in product features and document formats.
{% endhint %}

#### Limitations

GitBook currently has the following limits for imported content:

* The maximum number of pages that can be uploaded in a single import is **20**.
* The maximum number of files (images etc.) that can be uploaded in a single import is **20**.

### Importing via Git Sync

If you want to import large amounts of content, you can use our [Git Sync](https://gitbook.com/docs/~/changes/pfQHJq75QY5xMYvctdXP/integrations/git-sync) feature, which has no limitation on the amount of content that can be imported.&#x20;

To import using Git Sync, you’ll first need to add your content to a GitHub or GitLab repository — or folder if you're using a monorepo setup — as Markdown files. If your current tool does not support Markdown export, various online tools can assist with conversion from other formats, such as PDF, HTML, etc.

Once you’ve set up your Git repository, simply [set up a Git Sync integration](https://gitbook.com/docs/~/changes/pfQHJq75QY5xMYvctdXP/integrations/git-sync) in your GitBook organization. Be sure to select the direction **GitHub -> GitBook** when choosing the initial sync direction.&#x20;

{% hint style="info" %}
If you’re having trouble with the import process using either method above, please [get in touch with our support team](mailto:support@gitbook.com) — they’d be happy to help.
{% endhint %}
