> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uflo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# File Attachments

> Attach a document or source file when a question asks you to upload your work.

Use **Attachment** inside a [written response](/students/assessments/questions/written-responses) when a question asks for a document or source file. You can add an explanation in the same response editor.

## Answer With a File

<Steps>
  <Step title="Prepare Your Work">
    Follow the question's instructions about what the file should contain. Check the [supported formats and file limits](#which-file-types-can-i-attach) below before uploading.
  </Step>

  <Step title="Attach the File">
    Open the response editor's **+ menu**, scroll to **Attachment**, and select it. Choose your file and wait for its card to appear.

    <Frame caption="Scroll down the + menu to find Attachment.">
      <img className="block dark:hidden" src="https://mintcdn.com/uflo/AqRw2O8mTFF-DM6K/images/illustrations/students-assessments-attachment-menu/light.webp?fit=max&auto=format&n=AqRw2O8mTFF-DM6K&q=85&s=b5bf52d9db65e511ec8c7ddf96895f56" style={{ width: "400px", maxWidth: "100%", margin: "0 auto" }} alt="Close-up of the editor’s + menu, scrolled down with Attachment highlighted." width="744" height="1056" data-path="images/illustrations/students-assessments-attachment-menu/light.webp" />

      <img className="hidden dark:block" src="https://mintcdn.com/uflo/AqRw2O8mTFF-DM6K/images/illustrations/students-assessments-attachment-menu/dark.webp?fit=max&auto=format&n=AqRw2O8mTFF-DM6K&q=85&s=3527445b015bcfe366f0d6f2ca57d39d" style={{ width: "400px", maxWidth: "100%", margin: "0 auto" }} alt="Close-up of the editor’s + menu, scrolled down with Attachment highlighted." width="744" height="1056" data-path="images/illustrations/students-assessments-attachment-menu/dark.webp" />
    </Frame>
  </Step>

  <Step title="Check Your Complete Response">
    Open the attachment with its **arrow button** and verify that it contains the work you want assessed. Include any explanation the question asks for in the editor or the attached file.
  </Step>
</Steps>

<Frame caption="The file is attached inside the written response, alongside a short explanation.">
  <img className="block dark:hidden" alt="Question requesting an average-speed calculation file, with a short written explanation and an average-speed.txt attachment whose title is selected." src="https://mintcdn.com/uflo/SsxKXTLLIMsISdPB/images/illustrations/tools-attachments-response/light.webp?fit=max&auto=format&n=SsxKXTLLIMsISdPB&q=85&s=9b298d68085ac03060377723c9d776a0" width="2160" height="1143" data-path="images/illustrations/tools-attachments-response/light.webp" />

  <img className="hidden dark:block" alt="Question requesting an average-speed calculation file, with a short written explanation and an average-speed.txt attachment whose title is selected." src="https://mintcdn.com/uflo/SsxKXTLLIMsISdPB/images/illustrations/tools-attachments-response/dark.webp?fit=max&auto=format&n=SsxKXTLLIMsISdPB&q=85&s=18cee334f4227c12c7c9c24a3deaa0c1" width="2160" height="1143" data-path="images/illustrations/tools-attachments-response/dark.webp" />
</Frame>

<Tip>
  Upload the file itself. A link to a document on another website is not graded as an attachment.
</Tip>

If the response area only offers image uploads, follow the [image-response guide](/students/assessments/questions/image-responses). For a recording with playback controls, use [Audio](/general/tools/audio) in the written-response editor.

## Common Questions

<AccordionGroup>
  <Accordion title="Which file types can I attach?">
    | File type                          | Limit per file                                        |
    | ---------------------------------- | ----------------------------------------------------- |
    | PDF                                | **100 MB** and **100 pages**; no password protection. |
    | Text and source files listed below | **500 KB**, saved as UTF-8 text.                      |
    | MP3, M4A, WAV, OGG, WebM audio     | **10 MB**.                                            |

    Supported text and source formats: `.txt`, `.md`, `.tex`, `.json`, `.html`, `.css`, `.js`, `.ts`, `.py`, `.java`, `.c`, `.cpp`, `.cs`, `.php`, `.rb`, and `.sh`.

    Word documents, spreadsheets, and ZIP archives are not supported. Export documents or spreadsheets as a PDF. For photos, use the **Image** tool.
  </Accordion>
</AccordionGroup>
