# Import, export and version history

Create a doc from a file, add Markdown to a doc, export it, and restore an earlier version.

Create a doc from a file

Go to Artifacts > Make something new > Docs.

Click Import.

Pick Convert to turn a file into an editable doc (Markdown, Word, CSV, Excel, PDF or HTML), or Use as a source to let AI build a doc from an image, PDF or Word file.

Drop the file, or pick it from Google Drive or OneDrive. Files can be up to 25 MB.

Click Convert. The doc is named after the file.

Add a Markdown file to a doc

Open ⋯ > Import.

Pick a .md, .markdown, .mdx or .txt file.

Export a doc

Open ⋯ > Export.

Pick PDF, Word or Markdown.

For PDF and Word, set the page size, orientation, margins and scale.

Choose where to save: your computer or Google Drive.

Continue, then pick the pages to include.

Export.

A Page Break block always starts a new page.

Version history

Open ⋯ > Version History. Versions are grouped by day.

Click a version to preview it.

Click Restore to bring it back. You can also rename or delete a version.

Other doc actions

In ⋯: Rename, Copy Link, Duplicate, Move to, Save as Template and Delete.

Next steps