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

# Export a file

> Download a table as a CSV or Excel file, matching what the grid is showing or just the rows you picked.

Take a table back out as a file. Oneprofile downloads what the grid is currently showing, or only the rows you ticked, as a CSV or an Excel workbook.

<Frame caption="The table's own menu, open on the export formats.">
  <img src="https://mintcdn.com/oneprofile/pLKq-TwM1_Vw9sbo/images/tables/export-a-file.png?fit=max&auto=format&n=pLKq-TwM1_Vw9sbo&q=85&s=0cbc09a12218d43decc431f570b3f582" alt="The menu under a table's name listing Rename table, Edit description and Export to file, with a submenu beside it offering Export to CSV (.csv) and Export to Microsoft Excel (.xlsx), over the table's rows." width="900" height="560" data-path="images/tables/export-a-file.png" />
</Frame>

## Download a table

<Steps>
  <Step title="Open the export menu">
    On your table, click its name at the top of the page, then **Export to file**. The Tools panel offers the same row under **Import & export**.
  </Step>

  <Step title="Pick the file">
    Choose **Export to CSV (.csv)** or **Export to Microsoft Excel (.xlsx)**.
  </Step>

  <Step title="Confirm the download">
    The dialog names what it is about to download. Click **Download**.
  </Step>
</Steps>

The file matches the grid. Your current filter, sort and column order all carry across, and hidden columns stay out.

To export a selection instead, tick some rows, click **Actions**, and choose the export row there. It offers the same two files.

## Choose a format

Both files hold the same rows. They differ in what survives the trip.

* **CSV** writes everything as text. Dates come out in ISO 8601 and lists and objects as JSON, so the file imports back cleanly.
* **Excel** keeps types. Numbers stay summable, dates sort as dates, and checkboxes stay true or false.

Pick Excel to work in a spreadsheet, and CSV to feed another system.

## Good to know

<AccordionGroup>
  <Accordion title="What is in the file name?">
    The table's name, whether you exported the view or a selection, and the moment you did it.

    A file found weeks later traces back to what produced it. The table's activity history records the same name.
  </Accordion>

  <Accordion title="Why does a cell starting with = look different in each file?">
    A spreadsheet reads a leading `=` as a formula, so a CSV protects you by writing a quote in front of that cell.

    An Excel export needs no quote, because Oneprofile writes those cells as text that Excel never evaluates. The text you see is exactly what was in the table.
  </Accordion>

  <Accordion title="What happens with a very large table?">
    Oneprofile exports up to a ceiling and adds a final row saying it stopped. Narrow the view with a filter and export again.

    A CSV starts downloading immediately. An Excel workbook is built in full first, so a big one takes a moment before the download begins.
  </Accordion>
</AccordionGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Import a file" icon="file-up" href="/tables/import-a-file">
    Bring a CSV or Excel file in as a new table.
  </Card>

  <Card title="Export to a tool" icon="upload" href="/tables/columns/export-to-a-tool">
    Push rows to a connected system instead of a file.
  </Card>

  <Card title="Filter, sort and search" icon="list-filter" href="/tables/filter-sort-and-search">
    Narrow the grid before you export it.
  </Card>
</CardGroup>
