--- title: 'Import data into an existing table' description: 'Learn how to import data into an existing table in NocoDB.' tags: ['Tables', 'Import', 'CSV', 'Excel', 'XLSX', 'JSON'] keywords: ['NocoDB table', 'import data into table', 'import data from csv', 'import data from excel', 'import data from xlsx'] --- ## Import data from CSV / Excel ### Accessing import modal 1. Click on `...` context menu from the toolbar. 2. Click on `Upload` button. 3. Select `Upload CSV` / `Upload Excel` option. ![image](/img/v2/table/upload-csv-1.png) ### Importing file data There are two ways to upload source file: #### 1. Upload from local directory 1. Select `Upload` tab from the Quick import modal. 2. Click on `file upload` button or drag and drop file to the modal. 3. [Advance Settings](#advance-settings) (optional) 4. Click on `Import` button. ![image](/img/v2/table/upload-csv-2.png) #### 2. Upload from URL 1. Select `URL` tab from the Quick import modal. 2. Paste the URL of the file. 3. [Advance Settings](#advance-settings) (optional) 4. Click on `Import` button. ![image](/img/v2/table/upload-csv-url.png) ### Field mapping 1. **Table Name** (Optional) - Defaults to the name of the file; double-click to edit. 2. **Mapping Columns** (Optional) - Existing column names are listed under `Source column`, while new columns identified from the import file are listed under `Destination column`. - NocoDB automatically maps destination column names based on the source column names. - You can reconfigure the mapping by utilizing the dropdown menu that appears when you click on the destination column. 3. **Exclude Columns** (Optional) - A checkbox is provided to exclude a column from being imported. 4. **Initiate Import** - Click on the `Import` button to commence the file import process. ![image](/img/v2/table/upload-csv-3.png) ### Advance settings - `# of rows to parse to infer datatype` - defaults to 500 rows. - `Use first row as headers` - enabled by default. If checked, the first row will be treated as header row & will be used as field names. ## Related articles - [Create a new table](/tables/create-table) - [Create a table using a CSV, Excel or a JSON](/tables/create-table-via-import) - [Rename a table](/tables/actions-on-table#rename-table) - [Duplicate a table](/tables/actions-on-table#duplicate-table) - [Delete a table](/tables/actions-on-table#delete-table)