Skip to content

CSV and Excel import: the wizard, column by column

A CSV has no size limit, because your browser streams the rows in. Excel is capped at 20 MB and 50,000 rows. You can correct any column's guessed type.

Updated November 2026

The import wizard turns a file into a table in three steps. It reads the file, shows you what it thinks each column is, and then, only after you've agreed, checks the values and writes them. Each column shows the guessed type next to sample values from your file, and you can change any guess.

The mapping step: each column with its sample values, the guessed field type ready to change, and a slash-date column showing the Read dates as control.

The file

The ⋮ button at the right of the table tabs opens Import data… → Upload a CSV or Excel file. (If you're starting fresh, the Import a spreadsheet card in the New database picker opens the same wizard.) It accepts .csv, .tsv, .txt and .xlsx. An old .xls file, the format Excel wrote before 2007, isn't read, and the wizard says so by name: "This is an older Excel file (.xls), which Tabla can't read." Save it as .xlsx or CSV first.

A CSV or TSV has no size limit. Your browser reads the file on your own computer and sends the rows in batches, so the file never has to be uploaded in one piece. A 500,000-row export imports like any other, with a progress bar and a Stop import button. The only limits are the record limits that apply to every write: 1,000,000 per database and 2,000,000 per account.

An Excel workbook is capped at 20 MB and 50,000 rows per run. An .xlsx file is a zip, and it has to be opened in full to be read, every sheet included. So a workbook whose sheets hold more than about 32 MB of cells between them is refused too, even if the sheet you want is small. Saving that sheet as CSV removes these caps.

The first row is read as headers. A blank header becomes "Column N," and that includes a column of values past the last header, which often happens when someone adds a notes column at the end. Duplicate headers get numbered, so the default plan is always valid. A row with nothing in it is skipped, and so is a line of nothing but separators (,,,,), which Numbers and Excel write for every formatted row past the data.

An Excel workbook imports one sheet at a time. When it has more than one, a Sheet picker lists them with their row counts, starting on the first one that has rows, and the new table takes the sheet's name. When the import finishes, Import another sheet brings the next one into the same database, so a workbook of contracts and projects takes two quick passes. To leave a sheet out, don't pick it. Cell comments stay in the file, and the header says how many there are.

A formula cell imports as its last calculated result (zero included), and the column notes that its formulas arrive as values. An error cell (#N/A, #DIV/0!) imports as empty. A cell formatted as a percentage arrives as the sheet shows it, so you get 85% and not the 0.85 Excel stores. A workbook written by a program that never calculates its formulas (most scripts that generate spreadsheets) has no results to import. The wizard says so above the columns and skips any column made only of those cells. To fix it, open the file in Excel, save it, and import it again. And a year typed into a cell formatted as a date (Excel shows 2035 there as 27 July 1905) is read as the number when there are numbers alongside it in the same column. The column says how many.

Encodings

A CSV has no label saying how its text was written. Modern tools write UTF-8, but Excel's plain CSV on Windows writes the machine's own code page (Windows-1256 on an Arabic system, Windows-1252 on a Western one), and its Unicode Text writes UTF-16. The wizard works the encoding out from the file's own bytes. A byte-order mark settles it, and valid UTF-8 is read as UTF-8. Anything else is a guess between Arabic and Western European, and the wizard tells you so above the columns, with a picker beside it: "This file isn't UTF-8 text, so its encoding is a guess." Pick another encoding and the samples are read again at once, so you can see which one is right before importing. If the problem only shows up further down the file, the same picker appears once the row count finishes.

Through the API there is no picker. A CSV that isn't UTF-8 (or UTF-16 with its byte-order mark) is refused by name unless the request says which encoding it is in.

Numbers written the European way

German Excel's CSV separates values with semicolons, because the comma is its decimal mark (1.234,56 € where English writes €1,234.56). The wizard reads each column's numbers with the decimal mark its values use, and a value that can only be read one way (1.234,56, 0,5, 1,234.56) settles it. Some values can be read two ways: 7.600 is seven thousand six hundred in German and seven point six in English. A column of those takes the mark the rest of the file settles on. If nothing in the file settles it, the file's own separator decides, and semicolons mean a European file. When that happens the wizard asks once, above the columns, using one of your own values: Numbers like “€7.600” can be read two ways. Which does this file mean?

Currency signs and codes are read on either side of the number (€7.600, 1.500,00 €, EUR 1,500, CHF 1'250). Thousands can be separated by spaces or apostrophes, Indian grouping (1,23,456) is read too, and an amount in brackets is negative. Digits in groups after a + (+49 30 9406 0) are treated as a telephone number, never an amount. A column of number cells in an Excel file is always read as Excel stored it, whatever the rest of the file does with commas.

Placeholders

A sheet often says "no value" in words: Not specified, n/a, TBD, the German k. A. and entfällt, or a lone dash. (A dash in a currency column is different. Accounting formats use it to show a zero, so it arrives as 0.) In a number or date column, such a cell arrives empty, and its row is kept. The column's type is guessed from its other values, so one "n/a" doesn't turn a column of amounts into text that can't be summed. The sentence under the column tells you ("“Not specified” is left empty"), and the closing screen counts how many cells were left empty and in which fields. In a text or select field the words arrive as written. A yes/no field has no "unknown" value to hold them, so there the row is left out and listed.

How each column's type is guessed

Types are guessed from each column's first 50 non-empty values (you see three different ones as samples). In order of precedence:

  • Checkbox: every value is yes or no, written as yes/no, true/false, 1/0, y/n, x, or the German ja/nein and wahr/falsch.
  • Date: a column of five-digit numbers under a header that says date ("Closing date", "Datum") is Excel's day count for a date column saved as General. 44312 is 26 April 2021.
  • Currency: numbers carrying a currency sign or code, or numbers with at most two decimals under a header that names money (price, cost, amount, total, fee, revenue, proceeds, royalties, budget, salary, income, the German Betrag, Preis, Kosten, Umsatz, Erlös, Gebühr, Honorar, or a currency code like (EUR)). The field gets the currency's sign, two decimals and thousands separators, like a currency field made by hand. A money column whose header names no currency takes the one that every other money column in the file names.
  • Number and percent: numbers in either country's notation (see above) become a number, and values ending in % become a percent. Thousands separators in the file are kept on screen.
  • Date: ISO dates (2026-08-05, with or without a time), dotted dates (26.04.2021, always day first), and slash or hyphen dates (see below). If any sample carries a time, the field includes one. A field shows its dates the way the file wrote them, so day first stays day first.
  • Email and web address: every value has the right format.
  • Multi select: every value is a list of short tags separated by comma-space or semicolon-space, with 20 or fewer distinct tags overall. A sentence with a comma or a semicolon in it doesn't count as a tag list, and neither does a name like "Acme, Inc."
  • Single select: short values that repeat, with 20 or fewer distinct values and no more than one distinct value for every two rows sampled. A column of names in a small file is text, because nothing in it repeats.
  • Long text: values with line breaks, or anything longer than 200 characters.
  • Anything else becomes single line text.

Before any of these, Tabla checks for leading zeros. A column holding 00123 is never guessed as a number, because a number field would drop the zeros. That keeps id columns as text.

Slash dates

03/04/2026 is March 4 or April 3 depending on who wrote the file, and nothing in the value says which. The wizard looks for a day above 12, which is the only thing that can tell the two apart, and sets Read dates as to match. When no sample settles it, the control defaults to month-first and tells you: "No day above 12 here, so both readings fit — worth a look." Hyphenated dates (03-04-2026) are read the same way. The control appears wherever a column of such dates goes into a date field, whether it's a new field or one you map it onto, even when a stray word made the wizard guess the column as text. A dotted date (26.04.2021) never brings up the control, because it is always day first.

What each value becomes

Under every column the wizard tells you in a sentence what its values will become in the field you chose. It works this out by running the import's own reading on the column's samples, so the sentence changes when you change the type:

“26.04.2021” becomes 26 Apr 2021, and “10.09.2041” becomes 10 Sep 2041.
“€7.600” becomes €7,600.00, and “–” becomes €0.00.
“Yes” becomes checked, and “No” becomes unchecked.

If a value will be stored as written, there's no sentence for it. A sample value that won't fit the type is named before anything is written: “several” can't be read as a number, so rows holding a value like it will be left out and listed when the import ends. That way you see a type that doesn't suit the column on the screen, and not only in the closing list.

The mapping step

You can also drop a file onto the first step's box. Back from the columns takes you to that step to choose a different file, and keeps the destination you picked.

Into a new table, every column starts as Create new field with the guessed name and type. You can rename it, change the type (fourteen to pick from, text through multi select), or Skip it. Two kinds of column start skipped, with the reason shown beside them, because there is nothing in them: a column with no header and no value, and a column made only of formulas with no saved results. Importing into a table you already have adds a third option, Map to existing field, and a column whose header names one of that table's fields starts out mapped to it. Import into an existing table has the rules.

If Import is grayed out, the sentence beside it says why (a new field with no name, two columns with the same name, or a name the table already uses), and the column it refers to is outlined.

Two field types never appear in the list for a new field: links and attachments. A CSV cell has no record ids or file bytes to give them.

Links take one more step, afterward. Import the column as plain text, then open its header menu and choose Link to another table…. Tabla matches the values against the target table (trimmed and case-insensitive) and shows you what it found before it writes anything: how many matched, how many will create a new record in the target, and how many matched more than one record.

Tabla builds a new link field beside your text column and leaves that column untouched, so nothing is lost if the match is wrong. Deleting the original is a separate step you confirm afterward. Linked records has more.

For a select column, the wizard scans the full file, so every distinct value in the column becomes a choice (not only the sampled ones), colored from the standard palette. A select column that turns out to hold more than 100 distinct values is refused by name: "…has 214 distinct values — too many for a select field. Import it as text instead."

Check, write, and the rows left out

Import N rows runs every row through the plan before writing it. A row holding a value its column can't take is left out, and the import carries on. The same happens to a row the database refuses when it's written, such as one with a value that a must-be-unique field already holds. Everything else goes in.

The closing screen says how many rows went into which table, then lists what it left out, each by its row in your file (header counted as row 1):

Row 3 — "tall" isn't a number, needed for field "Qty".

Download the rows gives you just those rows, in your file's own columns, plus one more column with the reason. Fix them and import that file into the same table. The columns map back by name, and the reason column is skipped by default. Excel and CSV behave the same way here.

There is one limit. If more than 1,000 rows don't fit, the cause is a column with the wrong type and not a few bad cells, so the import stops instead of leaving most of your file behind. If it stops inside the first batch (up to 2,000 rows), the new table is removed as well. If it stops later, what was already written stays, and the closing screen counts it.

Stop import during a long CSV ends it the same way. What was already written stays, and the closing screen says how much.

Each person can run one Excel import at a time. Starting a second one while the first is writing gets "You already have an import running."

Round trips and the API

Tabla's own export files import back cleanly. The UTF-8 byte-order mark is stripped, and the apostrophe the export puts in front of formula-like cells and headers ('+20 100…, '+/- Abweichung) is removed on the way in. So a phone number comes back unchanged, and each column maps to the field it came from. A multi-select choice whose own name holds a comma (Immunologie, Zelltherapie) comes back as that one choice. The file's id column starts skipped, and each record gets a new id of its own when it's imported.

The same wizard is also available as one REST call, POST https://tabladb.com/api/databases/:id/import, sent as multipart. With the file alone it returns the preview of guessed types, and with the file plus a plan it runs the import. The API reference has the full request shapes.

The questions people ask

Excel dates arrive as dates, right? Yes. Cells Excel stores as dates import as dates, and a date-only cell stays date-only, with no midnight time added to it.

Where do imported records go? Into the table, unfiltered. If the view you're looking at has a filter, some imported records may be filtered out of sight. The footer counts only the records the filter shows.

Can I import into a linked table and have links resolve? Not from a file. The Airtable importer rebuilds links because it can read both sides, and a CSV on its own can't name records.

About Tabla

Tabla is a no-code database with Postgres underneath. Every feature is on every plan, you get a million records per database, and you can export your whole database in one file any day.

More guides