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

# File attachments

> Attach files to give Babbily more context for a chat.

Attachments let Babbily use file context in a chat. You can attach supported files when you want help summarizing, analyzing, transforming, or referencing the content.

## What you can attach

File controls appear only when the selected model supports that kind of input. Depending on the model, Babbily can work with:

* Images.
* Documents.
* Audio.
* Video.

Document uploads from the file picker can include common text and document formats such as `.txt`, `.js`, `.ts`, `.tsx`, `.py`, `.html`, `.css`, `.json`, `.csv`, `.md`, `.pdf`, `.doc`, and `.docx`.

Image uploads generally work best as PNG, JPG/JPEG, or WebP when the model needs to read the image. Other broad file categories may appear when the selected model supports them, but not every model can read every format.

If a file type is hidden or rejected, switch to a model with the right file support or convert the file to a common format.

## Attach a file

<Steps>
  <Step title="Open a chat">
    Start a new chat or continue an existing thread.
  </Step>

  <Step title="Attach your file">
    Use the attachment control near the composer and choose the file.
  </Step>

  <Step title="Tell Babbily what to do">
    Ask a specific question about the file.

    ```text theme={null}
    Summarize this document for an executive reader and list the open decisions.
    ```
  </Step>

  <Step title="Send the message">
    Babbily uses the file if the selected model supports it.
  </Step>
</Steps>

## Tips for better file results

* Choose a model that supports the file category before attaching.
* Ask for the output format you want.
* Mention which part of the file matters most.
* Use one or a few relevant files instead of attaching everything.
* Convert unusual files to a common format if the upload is rejected.
* Start a new thread when the file is no longer relevant.

<Warning>
  Do not upload passwords, API keys, private keys, payment card numbers, or other secrets. Only attach files you are allowed to use in Babbily.
</Warning>

<Card title="Browser, device, and file support" icon="monitor-smartphone" href="/troubleshooting/browser-device-and-file-support">
  Troubleshoot unsupported files, browser permissions, device behavior, and voice input.
</Card>
