.DBF file extension

To open .DBF files on Windows, open LibreOffice Calc, then use File → Open and choose the .DBF file (or open it via LibreOffice Base if you prefer a database view).

To open a .DBF file, use a tool that supports dBASE tables such as LibreOffice (Calc/Base) or GIS tools that read Shapefile attribute tables. If the .DBF is part of a Shapefile, open the whole dataset (including .shp and .shx) in a GIS app rather than opening the .DBF alone.

Last updated: April 30, 2026 · Reviewed by Julian Stricker

Open on your device

Choose your operating system for a dedicated step-by-step opening guide.

How to open .DBF files

Use these platform-specific instructions to open .DBF files safely.

Windows

  1. Open LibreOffice Calc, then use File → Open and choose the .DBF file (or open it via LibreOffice Base if you prefer a database view).
  2. If the .DBF is part of a Shapefile, open the .SHP in a GIS tool that uses GDAL/OGR Shapefile support; the attribute table comes from the .DBF.
  3. If double-clicking opens the wrong app, use Right-click → Open with → LibreOffice and set it as the default for .dbf if desired.
Full Windows guide

Mac

  1. Open the file with LibreOffice Calc (File → Open) to view it as a table.
  2. For Shapefile data, open the .SHP in a GIS app that supports the ESRI Shapefile driver (GDAL/OGR); it will read the .DBF automatically.
  3. If you only received a .DBF, ask for any companion files (commonly .DBT for memo fields, and in GIS also .SHP/.SHX).
Full Mac guide

Linux

  1. Use LibreOffice Calc (File → Open) to load the .DBF as a table.
  2. For GIS datasets, open the .SHP with a tool that supports the GDAL/OGR Shapefile driver so the .DBF is read as the attribute table.
  3. If characters look wrong, re-import using settings that match the file’s encoding (DBF files may not carry encoding in a consistent way across variants).
Full Linux guide

iOS

  1. There is no reliable built-in iOS viewer for DBF tables; transfer the file to a desktop app like LibreOffice, or open it in a specialized data/GIS app that explicitly supports dBASE/DBF.
Full iOS guide

Android

  1. Android typically does not include native DBF support; if you can’t find a trusted app that explicitly supports DBF, move the file to a desktop and open it with LibreOffice or a GIS tool (especially if it’s from a Shapefile).
Full Android guide

Security notes

  • DBF is a data-table format and typically not “active content,” but it is still parsed by complex libraries; treat DBF files from untrusted sources cautiously because malformed files can trigger parser vulnerabilities in some software.
  • If a DBF arrives as part of a Shapefile bundle, keep only the necessary companion files together; unexpected extra files in the bundle may be unrelated and should be reviewed separately.
  • Be careful when opening DBF data in spreadsheet/database tools that auto-detect types: values may be interpreted (for example, dates/numbers) and you can accidentally save back changes that alter the original data.

Recommended antivirus software

Scan files before opening them. These antivirus tools help protect against malware and viruses.

We may earn a commission when you use affiliate links. This supports our free file extension guides.

Can't open this file?

These are the most common causes and fixes when .DBF files fail to open.

Common reasons

  • The .DBF opens but some text fields are blank or cut off
  • Shapefile attributes are missing or don’t match geometry
  • The file won’t open or shows as corrupted
  • Strange characters or wrong accents (encoding issues)

Fix steps

  1. Check whether a .DBT (memo) file was provided alongside the .DBF and keep it in the same folder with the same base filename.
  2. Ask the sender to re-export the data without memo fields or to provide a different interchange format if the memo file cannot be recovered.

What is a .DBF file?

A .DBF file is a dBASE table format that stores structured records (rows) with defined fields (columns) in a binary layout. In many workflows, related data may be stored in companion files (for example .DBT memo files for longer text fields). In GIS, the .DBF commonly holds the attribute table for an ESRI Shapefile.

Background

DBF is best known as the table file format from the dBASE ecosystem and has been used for decades across many data and interoperability workflows. The format defines a table header and record structure, with field definitions that specify each column’s type and size.

A very common modern use is inside the ESRI Shapefile family: the .DBF stores the per-feature attribute data, while geometry is stored in .SHP and indexing in .SHX. In that context, moving or sharing only the .DBF can break the dataset’s usability even if the table itself still opens.

DBF is often easy to import into spreadsheets and database tools, but compatibility can vary between “levels”/variants of the format and by field types and size limits. Some DBF tables also rely on a companion memo file (often .DBT) to store long text; if that memo file is missing, some values may appear blank or truncated.

Common MIME types: application/vnd.dbf

Further reading

Authoritative resources for more details on the .DBF format.

Common .DBF issues

The .DBF opens but some text fields are blank or cut off

Some DBF tables store long text in a companion memo file (commonly .DBT). If the memo file is missing, the table may open but memo values won’t display correctly.

  1. Check whether a .DBT (memo) file was provided alongside the .DBF and keep it in the same folder with the same base filename.
  2. Ask the sender to re-export the data without memo fields or to provide a different interchange format if the memo file cannot be recovered.

Shapefile attributes are missing or don’t match geometry

In the ESRI Shapefile ecosystem, the .DBF is only one component; if the set of companion files is incomplete or out of sync, attributes can appear missing or misaligned.

  1. Make sure the core Shapefile components (.SHP, .SHX, .DBF) share the same base filename and are kept together in the same directory.
  2. Open the .SHP (not just the .DBF) in a GIS tool so it can validate and read the dataset as a whole.

The file won’t open or shows as corrupted

DBF variants and “levels” differ, and not every program supports every field type/size or file variation; the file may also be truncated (incomplete transfer).

  1. Try a different reader: LibreOffice for table viewing, or a GIS tool (GDAL/OGR Shapefile driver) if it came from a Shapefile workflow.
  2. Re-copy or re-download the file to ensure it was transferred completely, and request a fresh export if problems persist.

Strange characters or wrong accents (encoding issues)

DBF character encoding handling is not consistent across producers/readers; the same file may display differently depending on the software and settings.

  1. Re-open or re-import using an encoding option that matches the data’s origin (for example, a legacy code page vs UTF-8 where supported).
  2. If you control the export, regenerate the DBF with a clearly documented encoding or consider exporting to a modern format for interchange.

FAQ

What is a .DBF file most commonly used for today?

It is most commonly a dBASE table file used for storing rows/columns of data, and it is also widely used as the attribute table component of an ESRI Shapefile dataset.

Can I open a .DBF in LibreOffice?

Yes. LibreOffice documents support for opening and saving dBASE (*.dbf) files, including opening them in Calc or working with them via Base.

Why did I receive a .DBF without a database file?

DBF itself is the table file; some workflows (including GIS Shapefiles) store data across multiple companion files. You may need related files like .DBT for memo fields, or .SHP/.SHX if it’s from a Shapefile.

Is there an official MIME type for .DBF?

Do not rely on a specific official MIME type name unless your environment has a documented requirement. The IANA media type registry is the authoritative reference for official registrations.

Similar file extensions

Compare related formats in the same category to find the right tool faster.