Library
Mintlify answers/5 minutes read

Do we own our docs if we leave Mintlify?

Published December 1, 2026
HC

Harkirat Chahal

Growth

Share this article


Do we own our docs if we leave Mintlify?
SUMMARY

Yes. The Mintlify Terms of Service say the customer retains all right, title and interest in its Customer Data, and Mintlify stores every page as a Markdown or MDX file in a Git repository. When that repository sits in your own GitHub or GitLab account, the files and their history are already in your account. Git sync and the web editor are on every plan, including Free.

Yes. The Mintlify Terms of Service say the customer retains all right, title and interest in its Customer Data, and Mintlify stores every page as a Markdown or MDX file in a Git repository. When that repository sits in your own GitHub or GitLab account, the files and their history are already in your account. Git sync and the web editor are on every plan, including Free.

Mintlify docs live in a Git repository

Mintlify uses a docs-as-code approach, so every page on a site has a corresponding file in a documentation repository. That repository is in one of two places.

Your own repositoryMintlify-hosted repository
When you have itYou connected a Git repository during onboarding or in Git SettingsYou skipped connecting a repository during onboarding
Where the files areYour account on your Git providerA private repository that Mintlify hosts and manages
How you editThe web editor, or locally in your IDEThe web editor
How you take the filesgit cloneClone to your own GitHub account from Git Settings

Mintlify connects to GitHub through a GitHub App and to GitLab through access tokens and webhooks. Bitbucket Cloud and Azure Repos require the Enterprise plan. Our post on multiple repos and monorepos covers the repository layouts.

The Enterprise page states the ownership position in one line: "You own the contents of your repository and control access to it."

The files are Markdown, JSON and OpenAPI

A Mintlify repository holds four kinds of files.

The web editor commits to the same repository

The Mintlify editor is backed by Git. Changes save automatically, and publishing commits them to your repository.

Action in the editorGit operation
Publish on your deployment branchgit commit and git push, which triggers a deployment
Edit on a feature branchCommits to the branch about 15 seconds after you stop editing. The first commit opens a pull request
Merge and publishMerges the pull request and triggers a deployment

The sync runs both ways. When someone pushes to the repository, those changes appear in the editor without a pull or refresh. A team can mix both styles, and editing without GitHub explains the writer's side.

How to take your content out

  1. From your own repository, run git clone. A clone is a complete copy of the repository, including all files and full history.
  2. From a Mintlify-hosted repository, open Git Settings in the dashboard, select GitHub as the provider and click Clone. Mintlify copies your documentation files into a new repository in the GitHub organization you choose. The manual setup path instead lets you download your documentation as a zip file. Download it first, because manual setup permanently deletes your content from the Mintlify-hosted repository.
  3. For rendered output on the Enterprise plan, PDF exports produce the whole site as one PDF, and offline export packages the site as a zip archive of pre-rendered pages. Adding .md to any page URL returns a Markdown version of that page.

What stays outside the repository

Comments and private pages are not committed to the repository, and analytics leave through a separate export.

  • Editor comments never reach your repository and are never committed to Git.
  • Private pages are personal drafts that Mintlify doesn't commit to your repository. They have no publish step.
  • Traffic, search, feedback and assistant conversation data is exported as CSV from the dashboard, on the Pro and Enterprise plans.

The terms say Customer Data may be irretrievably deleted if an account is 90 days or more delinquent. Deleting a site from the dashboard is irreversible and removes all project data, so take your copy of the files first.

Frequently Asked Questions

Is this still a GitHub repository under the hood?

Yes, it is a Git repository. Every page on a Mintlify site has a corresponding file in a Git repository, and the Mintlify editor saves work as commits in that repository. The repository is either one you connect on GitHub, GitLab, Bitbucket Cloud or Azure Repos, or a private repository that Mintlify hosts.

Can I manually edit this as well?

Yes. With your own repository connected, you can clone it, edit the files in your IDE and push. Mintlify deploys on push, and the changes sync into the web editor.

Is there proprietary lock-in with Mintlify?

Mintlify content is stored as .mdx or .md files, a docs.json configuration file and OpenAPI files in a Git repository. The Mintlify Terms of Service state that the customer retains all rights to its Customer Data.

Can we export the docs as a PDF before we leave?

Yes, on the Enterprise plan. Mintlify PDF exports produce the whole site, or selected pages, as a single PDF with a table of contents.

Where to start

The GitHub page covers connecting a repository and cloning a Mintlify-hosted one, and the editor overview lists the Git operation behind each editor action. Start for free with your own repository connected, or book a demo to talk through PDF and offline exports on the Enterprise plan.

More to read

Can I add custom React components, CSS and JS to Mintlify docs?
Mintlify answers

Can I add custom React components, CSS and JS to Mintlify docs?

Yes. Mintlify includes custom React components, CSS and JavaScript on every plan, including Free. Importing npm packages requires the Enterprise plan.

December 1, 2026
HC

Harkirat Chahal

Growth

Can Mintlify show each reader their own API keys and content?
Mintlify answers

Can Mintlify show each reader their own API keys and content?

Yes, on the Enterprise plan. Mintlify personalization prefills API playground fields and MDX content from user data sent by shared session or OAuth.

December 1, 2026
HC

Harkirat Chahal

Growth

Can non-technical writers edit Mintlify docs without GitHub?
Mintlify answers

Can non-technical writers edit Mintlify docs without GitHub?

Yes. Mintlify's web editor is on every plan, including Free. Writers edit in visual mode and click Publish, and the editor handles the Git commit for them.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify import docs from MadCap Flare, DITA or Word?
Mintlify answers

Can Mintlify import docs from MadCap Flare, DITA or Word?

DITA has a documented path through mint migrate --from dita. Flare and Word have no dedicated importer, so you convert exports to Markdown or MDX.

November 21, 2026
HC

Harkirat Chahal

Growth

Does Mintlify have an AI assistant?
Mintlify answers

Does Mintlify have an AI assistant?

Yes. Mintlify's AI assistant is on Pro and Enterprise, answers from your published docs, and costs 25 credits per answer. Embed it with the assistant API.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify update docs automatically when code changes?
Mintlify answers

Can Mintlify update docs automatically when code changes?

Yes. Mintlify Autopilot on Pro and Enterprise opens a pull request when code changes. By default a person merges every one, and each update is 250 credits.

November 21, 2026
HC

Harkirat Chahal

Growth