mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-04 09:46:59 +00:00
58 lines
2.4 KiB
Markdown
58 lines
2.4 KiB
Markdown
---
|
|
title: 'Create table via import'
|
|
description: 'Learn how to create a table in NocoDB via import from CSV, Excel or JSON.'
|
|
tags: ['Tables', 'Import', 'CSV', 'Excel', 'JSON']
|
|
keywords: ['NocoDB table', 'create table', 'import table', 'import csv', 'import excel', 'import json']
|
|
---
|
|
|
|
## Import table from CSV / Excel / JSON
|
|
|
|
### Accessing import modal
|
|
There are two ways to access import modal:
|
|
|
|
#### 1. From the base dashboard
|
|

|
|
|
|

|
|
|
|
|
|
|
|
#### 2. From the base context menu
|
|
|
|

|
|
|
|
### Importing file
|
|
To import a file, follow the steps below:
|
|
1. There are two ways to upload source file:
|
|
(a). Upload from local directory: Click 'browse file' or drag and drop file.
|
|
(b). Upload from URL: Specify the URL of the file.
|
|
2. (_optional_) [Advance Settings](#advanced-settings)
|
|
3. Click on `Import` button.
|
|
4. (_optional_) Specify the table name. By default, the file name will be used as the table name.
|
|
5. (_optional_) Select the columns from the CSV to be included in the table. By default, all fields are included.
|
|
6. (_optional_) Modify the field name. By default, the field name is the same as the column name in the CSV.
|
|
7. Click on `Import` button to start importing the file.
|
|
|
|

|
|

|
|
|
|
:::info
|
|
- Multiple files can be imported at once.
|
|
- Supported file formats: CSV, Excel, JSON
|
|
- Maximum file size: 5 MB
|
|
- All fields are imported by default as `Single line text`. Field type as required can be changed after file is imported.
|
|
By default, the first field will be chosen as Display Value.
|
|
:::
|
|
|
|
### Advanced Settings
|
|
- **Use first record as header**: Enabled by default. If selected, the first record in the spreadsheet will be treated as the header record and its contents will be used as field names.
|
|
- **Import data**: Enabled by default. If selected, all data will be imported; otherwise, only the table will be created.
|
|
|
|
|
|
## Related articles
|
|
- [Create a new table](/tables/create-table)
|
|
- [Import data from Csv/Xlsx into existing table](/tables/import-data-into-existing-table)
|
|
- [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)
|