Opens in a new tab

Import and export documents

Updated November 4, 2026 · Hosted revision 33
On this page

Bring existing files into a space, review the result and save a draft.

Import a file

  1. Select the destination space. Open Browse documents → Import files, even when a document is already open. An empty space also offers Import files.

  2. Choose a file from your device or follow the Google Drive steps below. For PDFs, choose the mode before conversion.

  3. Choose the destination folder and review the Markdown preview, images and conversion warnings.

  4. Select Save draft to workspace (or Save drafts to workspace for several files). Open the saved document and confirm Draft saved to workspace.

Import documents screen with PDF mode selection and Google Drive importOpen full-size screenshot ↗

Supported inputs

FormatResult and limits
MarkdownRetains source; unsupported syntax may be protected in visual mode.
PDF: Editable textUp to 100 pages, with English OCR for up to 25 scanned pages. Review reading order, numbers and code; layout and images are not retained.
PDF: Page images — preserve layoutUp to 20 pages become images in Markdown. Appearance is retained; text is not editable/searchable prose and PDF links are lost.
Word (.docx), PowerPoint (.pptx)Markdown and supported embedded images; up to 100 slides. Review tables and lists. Speaker notes, Word comments and complex drawings are not retained.

PDF and Office files may be up to 20 MB. Converted Markdown and images must also fit the displayed save limits; split a large document if necessary. Legacy .doc/.ppt, password-protected and macro-enabled files are unsupported.

For scanned PDFs, choose Recognize scanned text or Import selectable text only. OCR runs in your browser; it can misread text. To retain a scan's appearance, choose Page images — preserve layout instead. Changing modes on an existing preview requires converting it again; edited text is not silently replaced.

Google Drive

This imports a copy. It does not edit your Google original, sync later Google changes, or send DocuGhost changes back to Drive. Google authorization is separate from signing in to DocuGhost.

  1. Open Import files and, for a PDF, choose its import mode.

  2. Select Choose from Google Drive. Allow the Google window to open and choose the account that owns or can download the files.

  3. Review Google's consent prompt. DocuGhost requests access to files you select through the picker, rather than indexing your entire Drive.

  4. Select up to ten Google Docs, PDFs, .docx or .pptx files and confirm the picker selection. Google Sheets and native Google Slides are not supported; export slides to PDF or .pptx first.

  5. Wait for import, then check each preview, destination path, image and warning. For scanned PDFs, complete the OCR choice before saving.

  6. Save the drafts to the selected workspace. In GitHub spaces, review and submit to put them in the repository.

The same PDF modes apply to Drive and device files. PDF/Office conversion runs in the browser; Google Docs use DocuGhost's export service. The short-lived Google access token is not retained as a permanent Drive connection.

Google integration requires operator configuration. Personal-account acceptance has verified Docs images and both Drive PDF modes; this does not establish access for every Google Workspace organization or Google's public OAuth audience approval. If the button is unavailable or your organization blocks consent, contact your workspace operator or download and import the file locally.

Images and import errors

Supported embedded images and accessible Google-hosted images are imported automatically into relative asset paths. For Google Docs with images, DocuGhost tries Google's Word export to preserve better image resolution. Check the preview: this can change formatting and cannot recover detail missing from the original.

If a quality warning appears, use Try Word export for images and select the same Doc again. If authorization or an exported image URL has expired, reconnect and retry. Other external image hosts are not downloaded automatically; add those images yourself. Imports allow up to 20 images per document, 5 MB per image and 10 MB of Markdown plus images per save.

A blocked popup, denied download, invalid developer key or unavailable picker needs browser/account or operator configuration attention; expanding file permissions is not a general fix. Partial batch failures retain successful previews. Remove unwanted previews before saving. A failed save is not a successful import—keep the preview open and read the error.

PDF conversion preview showing Markdown, conversion warnings and the Save draft to workspace controlOpen full-size screenshot ↗

Save and export

A preview is not saved. Imports don't silently replace an existing path. GitHub drafts need review and submission before reaching the repository.

Save a copy downloads current Markdown. In Native Spaces, Document actions → Export this Markdown document downloads one document; Export space and assets (.tar) includes authorized documents and assets. Markdown alone does not bundle image files.

Exports don't replace complete operator backups. Public publishing and custom domains are not implemented.