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

# Upload Data

> Use the Upload Data dialog to import CSV or Cypher batch files into the active graph.

The Upload Data dialog imports data into the currently selected graph using either Load CSV or Cypher batch mode.

## Load CSV flow

### Step 1: Upload the CSV file

Choose **Load CSV**, then select your CSV file.

<img src="https://mintcdn.com/falkordb-core/4RKo-4HTPunDsB0h/images/browser/upload-data-load-csv-step1.png?fit=max&auto=format&n=4RKo-4HTPunDsB0h&q=85&s=21b34f714bef317efda3237fe6e1c076" alt="Upload Data - Load CSV step 1" width="1920" height="1080" data-path="images/browser/upload-data-load-csv-step1.png" />

### Step 2: Review and run

After upload, review the generated `LOAD CSV` query, adjust it if needed, then click **RUN**.

<img src="https://mintcdn.com/falkordb-core/4RKo-4HTPunDsB0h/images/browser/upload-data-load-csv-step2.png?fit=max&auto=format&n=4RKo-4HTPunDsB0h&q=85&s=b916e534a3f643ced613fd2c72b322b0" alt="Upload Data - Load CSV step 2" width="1920" height="1080" data-path="images/browser/upload-data-load-csv-step2.png" />

Notes:

* **Use CSV headers** can be toggled to map columns by header name.
* Each CSV column is available as `row.columnName` in the query body.
* The uploaded CSV file is temporary and removed after query execution finishes.

## Cypher batch flow

Switch to **Cypher batch** to upload a `.cypher` or `.txt` file containing one or more statements.

<img src="https://mintcdn.com/falkordb-core/4RKo-4HTPunDsB0h/images/browser/upload-data-cypher-batch.png?fit=max&auto=format&n=4RKo-4HTPunDsB0h&q=85&s=11bc634f86c647454056bbbfd9e64931" alt="Upload Data - Cypher batch" width="1920" height="1080" data-path="images/browser/upload-data-cypher-batch.png" />

When you click **Upload**, statements execute sequentially in the active graph.

## When to use each mode

* **Load CSV**: Use this for tabular source data where you need explicit row-to-graph mapping logic.
* **Cypher batch**: Use this when you already have graph mutations prepared as Cypher statements.

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="What file types can I use in Upload Data?">
    Use `.csv` with Load CSV, or `.cypher` / `.txt` with Cypher batch.
  </Accordion>

  <Accordion title="Does Upload Data run on the selected graph only?">
    Yes. The import runs against the currently selected graph in the Graph page.
  </Accordion>

  <Accordion title="Can I edit the generated LOAD CSV query before running?">
    Yes. After uploading a CSV, review and edit the query in step 2 before clicking Run.
  </Accordion>

  <Accordion title="What is the difference between Load CSV and Cypher batch?">
    Load CSV uploads tabular data and builds a query around `LOAD CSV`. Cypher batch executes statements from an uploaded script file sequentially.
  </Accordion>
</AccordionGroup>
