Import CSV Files into QGIS
How QGIS reads CSV and TSV files as layers: what changes, which settings matter, how sharing and editing are affected, and when the plain CSV is the better choice.
What importing a CSV into QGIS actually does
When you bring a CSV or TSV file into QGIS, the program reads the delimited text and shows each row as a record in a layer. If the file has coordinate columns or geometry written as WKT (well-known text), each row can also become a feature on the map. There are two common ways to do this. The first is the Delimited Text option in the Data Source Manager, also found under the Layer menu's Add Layer submenu. It shows the parsing and geometry settings before loading. The second is dragging the file into QGIS or opening it from the Browser panel. This route uses the general vector driver, and unless it is configured otherwise, it usually loads the file as an attribute-only table. For a point layer, the Delimited Text dialog gives the most control.
Is it suitable for your use?
Importing a CSV into QGIS works well when the file holds location data, such as longitude and latitude, projected X and Y values, or WKT geometry, and you want to map, query or analyze it spatially. The main benefit is that tabular records become map features without retyping or reformatting the source. The main tradeoff is that a delimited text layer is a read-only view of the file. To edit features, or to hand someone a self-contained dataset, you need to export the layer to a format such as GeoPackage. If the file has no location information, or you only need to read, sort or correct values, a spreadsheet or text editor is simpler. The plain CSV also remains the better format for archiving and for exchange with people who do not use GIS software.
Stored data versus interpretation
Adding a delimited text layer does not rewrite the CSV. The layer is an interpretation of the file. The delimiter, header handling, field types, geometry columns and coordinate reference system (CRS) are settings saved in the layer's source definition within the QGIS project. The characters in the file stay exactly as they were. The CRS setting in particular declares what the coordinates mean; it does not convert them. If you choose the wrong CRS, points appear in the wrong place even though no digit in the file has changed.
The word "import" is used loosely. Adding a CSV as a layer creates a live link to the file. Converting it means exporting the layer to a new file, which writes new stored data in a different format. The difference matters for editing, file size and sharing, as covered below.
Settings that decide how the file is read
- File format: comma-separated, a custom delimiter such as tab or semicolon, or a regular expression for irregular files. Choose tab for TSV.
- Quote and escape characters: these keep a value like "Depot, east" in one field instead of splitting it at the comma.
- Encoding: must match how the file was saved, or accented and non-Latin characters will appear garbled.
- First record has field names: if this is off, the header row is read as data.
- Detect field types: lets QGIS guess numbers, text and dates. If it is off, columns may be read as text.
- Decimal separator is comma: needed for files that write numbers like 44,9778.
- Geometry definition: point coordinates from X and Y fields (optionally Z and M), WKT from a single field, or no geometry for a plain table.
- Geometry CRS: the reference system the coordinates are actually in.
- Layer options such as a spatial index or watching the file for changes: these affect performance and refresh behavior, not the data itself.
A small illustrative example
id,name,lon,lat
1,North gate,-93.2650,44.9778
2,"Depot, east",-93.2401,44.9612
In this sample, lon is the X field and lat is the Y field, and the matching CRS for decimal degrees is WGS 84 (EPSG:4326). With the double quote set as the quote character, the second name stays a single value despite its comma. Swapping the X and Y fields is a common mistake. The file still loads, but the points land far from where they belong. These rows are illustrative only and do not come from a recorded test.
Field types and number formats
Automatic type detection is convenient, but it can change how values behave. US ZIP codes, FIPS codes and other identifiers with leading zeros may be read as integers, which drops the zeros in the layer even though the file still contains them. If these values matter, load them as text, or save the export with the correct type. The GDAL/OGR CSV route can read a companion .csvt file that declares column types. Check your QGIS version's documentation to see whether the Delimited Text option honors that file. Dates written in mixed or regional formats may stay as text rather than becoming date fields.
Encoding and special characters
The encoding setting decides which characters QGIS sees. UTF-8 is a sensible default, but some spreadsheet exports use other encodings, and a mismatch shows up as broken accents or replacement symbols. Fixing the encoding setting fixes the display without editing the file. Right-to-left text and complex scripts are stored as ordinary characters in the CSV. How they display in the attribute table and in map labels depends on QGIS's text rendering, which this review has not tested.
Will the result stay usable after sharing?
A QGIS project stores the path to the CSV, not the data itself. If you move the project or send it to someone else, the layer breaks unless the CSV goes with it and the paths still resolve. Relative paths, set in the project properties, make this more reliable. Because the delimited text layer is read-only, editing tools are not available on it. Exporting it with Save Features As to a format like GeoPackage creates an editable, single-file copy that carries its own field types and CRS. Copying features from the attribute table puts plain text on the clipboard. Depending on your settings, that text includes WKT geometry, so pasted results show geometry as a long text string rather than a map.
No evidence was supplied on how screen readers handle the QGIS attribute table or map canvas, so accessibility cannot be confirmed here. A map shows information visually. If readers need assistive technology, provide the original CSV or another tabular export alongside any map, and test with the specific screen reader they use.
When plain text is the better choice
- The file has no coordinates, addresses already geocoded to coordinates, or WKT geometry.
- You need to correct values. Edit the CSV directly, or export to an editable format first.
- The data will be archived or exchanged with people or systems outside GIS.
- Accessibility matters more than the visual map.
- Leading zeros, exact text formatting or original column order must be preserved without depending on QGIS type detection.
Gaps in this review
This review is based on documented general behavior, not on tests of specific QGIS versions, operating systems or datasets. It includes no measurements of performance or file size. Menu names and dialog layouts can differ between releases. Confirm the details against the documentation for the version you have installed before relying on a particular setting.