# Downloading local output files

{% hint style="info" %}
**Required dataset permission:** Download redacted dataset files
{% endhint %}

For each file in a dataset, you can download the output file.

## Downloading a single output file <a href="#file-download-single" id="file-download-single"></a>

From the file list, to download a single output file, click the options menu for the file, then select the download option.

### Datasets that generate redacted output files

For datasets that generate redacted versions of the source files, the option is **Download File**.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FuiKdcsjePKHbDeJjHpm2%2FFileOptionsMenu.png?alt=media&#x26;token=ba270028-f795-4101-aa1c-924704f95744" alt=""><figcaption><p>File options menu with the download option</p></figcaption></figure>

### Datasets that generate JSON output

For datasets that generate JSON output, you can download either the JSON output or the redacted version of the Markdown content.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FR8XDDX6plKwlKa1LN1Ar%2FDatasetJSONDownloadSingle.png?alt=media&#x26;token=495cc2bf-98a4-48ab-9a37-f7915d37b108" alt=""><figcaption><p>File options menu for a file in a JSON output dataset</p></figcaption></figure>

For RTF files, you can also download the redacted content in HTML format.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FpxfhFzwwKYO0S9w4p1XY%2FDatasetJSONDownloadSingleRTF.png?alt=media&#x26;token=5901cf68-50b1-4e8b-9ca3-d40a9e4ef507" alt=""><figcaption><p>File options menu for an RTF file in a JSON output dataset</p></figcaption></figure>

## Downloading all of the output files <a href="#file-download-all" id="file-download-all"></a>

To download all of the output files, click the download icon that is next to the file filter field.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FXJQKFteXQ3icbCygIFxH%2FDatasetDownloadAllIcon.png?alt=media&#x26;token=f4cddd0b-b12e-4626-9f3c-fb72026ba937" alt=""><figcaption><p>Download all files icon on the dataset file list</p></figcaption></figure>

For datasets that generate redacted versions of the source files, the download happens immediately.

For datasets that generate JSON output:

* To download the JSON output for the files, select **Download JSON**.
* To download the redacted Markdown content for all of the files, select **Download Markdown**.
* If the dataset contains any RTF files, then to download only the redacted HTML content for all of the RTF files in the dataset, select **Download HTML (RTF only)**. If you select this option, then the download does not include other types of files.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FbkxUsPd7HjPYvRYOJHIs%2FDatasetJSONDownloadAll.png?alt=media&#x26;token=de2788e1-9d9b-4c91-89ab-d8e0cf541061" alt=""><figcaption><p>Download all options for a JSON output dataset</p></figcaption></figure>
