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

# Upload a data file

> Upload CSV or Excel files to Genloop as queryable data sources, add optional business-context documents, and query them in natural language without a database connection.

Uploading a data file turns a spreadsheet into a queryable data source. Genloop maps the file to tables and builds memory on it, the same way it does for a database connection. Use this when your data lives in a file rather than a database.

Supported formats: CSV and Excel (`.xlsx`, `.xls`). Maximum 10 MB per file.

To begin, open the **Structured Data** tab and click **Upload data file**.

<Frame>
  <img src="https://mintcdn.com/genloop-20793dfe/cRpmf3-57kPIOPDf/images/Upload-data-file.png?fit=max&auto=format&n=cRpmf3-57kPIOPDf&q=85&s=42f6137cd30de9edf7a3cced4c0f3176" alt="Upload data files dialog with an optional business context section" width="574" height="771" data-path="images/Upload-data-file.png" />
</Frame>

<Note>
  Data files and business-context documents are different. Data files become queryable tables. Business-context documents describe how to read that data and do not create tables. You can add both in the same dialog.
</Note>

## Upload a file

<Steps>
  <Step title="Add your data files">
    Drag files onto the drop zone, or click to browse. Each file becomes a queryable table. You can add more files to the same source later.
  </Step>

  <Step title="Add business context (optional)">
    Expand **Add unstructured business context** and upload documents that explain how your data should be read, such as metric definitions, KPI logic, or business rules. Supported formats: `.pdf`, `.txt`, `.doc`, `.docx`. Maximum 10 MB each.
  </Step>

  <Step title="Generate context">
    Click **Generate context**. Genloop maps the files to tables, applies any business context, and builds memory on the result.
  </Step>
</Steps>

## After the upload

The file appears in your **Structured Data** list with a processing status. Once processing completes, you can query it in Chat like any connected database.

## Next steps

<CardGroup cols={2}>
  <Card title="Unstructured Data" icon="file-text" href="/using-genloop/connections/unstructured-data">
    Manage business documents that inform Genloop's answers.
  </Card>

  <Card title="Connect a database" icon="database" href="/using-genloop/connections/connect-a-database">
    Connect a live database for larger or changing datasets.
  </Card>
</CardGroup>
