# Import and export

Mechanic tasks may be imported and exported as JSON, using the "Import" or "Export" button below the task editor. The JSON schema used for representing tasks is identical to that used by the **task library**, making it suitable for [contributing to the task library](../../resources/task-library/contributing).

## Importing

Mechanic has the ability to import tasks from JSON individually and in bulk, from the "Import tasks" screen.

Each task loaded via this route may be saved as a new task, or – if the task name exactly matches the name of a task already in the Mechanic account – it may be saved _over_ the existing task. This latter path provides a way for batches of updated tasks to be loaded into a Mechanic account all together, preserving the version history for each task.

To import one or more tasks from a JSON export, use the "Import tasks" button on the Mechanic home screen.

![](https://3145272362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrnkixbmVHvKHMwAbm%2Fuploads%2F2WYfbnWUcDIvdi2Sf0Kb%2FScreenshot%202024-01-17%20at%205.55.24%E2%80%AFPM.png?alt=media\&token=728237f3-5f4b-4e13-94dc-35c8bb3eb00d)

On the next screen, follow the prompts to load your JSON task exports into Mechanic.

### Importing in the task editor

When working in the task editor for a specific task, use the "Import" button to load in task JSON and have it applied to the current task.

![](https://3145272362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrnkixbmVHvKHMwAbm%2Fuploads%2F0qwRjxiWAfUr8sBmy0zF%2FScreenshot%202024-01-17%20at%205.57.01%E2%80%AFPM.png?alt=media\&token=da6271c8-c062-442b-8e99-7a55b20b3e98)

## Exporting

When viewing the task list on the Mechanic home screen, use the "Export" button after selecting one or more tasks to copy a JSON export of all tasks to the clipboard. This export can be used with Mechanic's task import area, described above.

![](https://3145272362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrnkixbmVHvKHMwAbm%2Fuploads%2Fa3kCF2SOOWhM3E70YDOY%2FScreenshot%202024-01-17%20at%206.00.03%E2%80%AFPM.png?alt=media\&token=178b55da-a09e-44d7-8259-803c393df9b6)

### Exporting from the task editor

When working in the task editor for a specific task, use the "Export" button to copy a JSON representation of the current task to the clipboard.

![](https://3145272362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrnkixbmVHvKHMwAbm%2Fuploads%2FQXr1w3bs8mVPluPDrgmK%2FScreenshot%202024-01-17%20at%205.57.13%E2%80%AFPM.png?alt=media\&token=ae5ac23e-6acb-4a3d-892d-158c3a06d758)
